BTW,
I found one related question here -
Q 13. A manufacturing company has an XML application. This application needs to parse
a very big-sized XML comprising of parts information.
The application needs to extract a subset of information about few parts from this
XML document. The system resources allocated for this application are limited. But the
performance has to be good. Which is the best way of doing it?
I feel that until and unless it is very obvious that we should go for SAX(as in the above case), we better stay with DOM. I'll reconsider this at the time of marking the correct option in the exam
The bottom line is if the question is vague(as we see in some of them), we have to first define what is wisdom for that moment and then choose wisely