PROFESSIONAL-CLOUD-DEVELOPER · Question #125
PROFESSIONAL-CLOUD-DEVELOPER Question #125: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #125. The question stem and answer options stay visible for context.
Question
You are developing an application that will allow users to read and post comments on news articles. You want to configure your application to store and display user-submitted comments using Firestore. How should you design the schema to support an unknown number of comments and articles?
Options
- AStore each comment in a subcollection of the article.
- BAdd each comment to an array property on the article.
- CStore each comment in a document, and add the comment's key to an array property on the
- DStore each comment in a document, and add the comment's key to an array property on the user
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.