1.

The ________ References pattern stores each tree node in a document; in addition to the tree node, the document stores the id of the node’s parent.(a) Child(b) Parent(c) Root(d) None of the mentionedThe question was asked in an interview for internship.This interesting question is from Model Tree Structures in division Data Models of MongoDB

Answer»

The correct choice is (b) Parent

To explain: Data MODEL that DESCRIBES a tree-like structure in MongoDB documents by STORING references to “parent” NODES in children nodes.



Discussion

No Comment Found

Related InterviewSolutions