Policies about this are likely set company by company. Some more strict than others.
The offensive stuff throughout this thread is that questioners aren't interested enough in creating "gotcha" moments. They are interviewing and writing for their audience, whoever that is.