Valid C100DEV Dumps shared by ExamDiscuss.com for Helping Passing C100DEV Exam! ExamDiscuss.com now offer the newest C100DEV exam dumps, the ExamDiscuss.com C100DEV exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com C100DEV dumps with Test Engine here:
Let's consider a one-to-many relationship observed between an instructor and the courses he is created on an e-learning platform. We assume that a course can only have one instructor, and an instructor can have multiple courses. Which of the following are the correct ways to represent this one-to-many relationship with a document model in MongoDB?
Correct Answer: A,B
Embed all the fields for a course as a subdocument in the corresponding instructor document. These subdocuments must be put into an array, not stored directly as a subdocument in its parent. This way we can have a variable number of referenced documents and use a multi-key index to search the "many" side. This is not the best way to do it. https://docs.mongodb.com/manual/tutorial/model-embedded-one-to-many-relationships-between-documents/