Lohika interview question

What is consistency? What is DOM architecture?