"This is Teacher Wang's dad."
As I remember, my teacher taught us that 的 may be omitted when we indicate close relatives (妈妈，爸爸 and so on). Shouldn't this task have 2 correct answers (这是王老师的爸爸/这是王老师爸爸）or it may only refer to our close relatives, not to someone else's we are talking about at the moment?
In this case 的 can't be omitted, mainly due to "Teacher Wang's dad" being the object of the sentence and not the subject, but also because it sounds too familiar, being that either Wang is the teacher of the speaker or listener (or both), or "teacher" is the respectful title usage here, in which case Wang may not actually be a teacher but is definitely being respectfully addressed. In either case, "王老师爸爸" would be casual/familiar to the point of being rude.
I think it can be omitted in both cases, but only for colloquial/ casual talk