ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 263 - Professional Cloud Developer discussion

Report
Export

You are a developer at a social media company The company runs their social media website on-premises and uses MySQL as a backend to store user profiles and user posts. Your company plans to migrate to Google Cloud, and your team will migrate user profile information to Firestore. You are tasked with designing the Firestore collections. What should you do?

A.
Create one root collection for user profiles, and store each user's post as a nested list in the user profile document.
Answers
A.
Create one root collection for user profiles, and store each user's post as a nested list in the user profile document.
B.
Create one root collection for user profiles, and create one root collection for user posts.
Answers
B.
Create one root collection for user profiles, and create one root collection for user posts.
C.
Create one root collection for user profiles, and create one subcollection for each user's posts.
Answers
C.
Create one root collection for user profiles, and create one subcollection for each user's posts.
D.
Create one root collection for user posts, and create one subcollection for each user's profile
Answers
D.
Create one root collection for user posts, and create one subcollection for each user's profile
Suggested answer: C
asked 18/09/2024
Arvee Natividad
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first