Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional-Cloud-Developer Topic 7 Question 89 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 89
Topic #: 7
[All Professional Cloud Developer Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Chantay
1 months ago
I think option A could work too, as it keeps everything in one document for each user.
upvoted 0 times
...
Kallie
2 months ago
Hah, option D? What is this, a joke? Creating a root collection for posts and then subcollections for profiles? That's just asking for trouble!
upvoted 0 times
...
Reuben
2 months ago
I'm not sure about that. Wouldn't it be easier to just store the posts as a nested list in the user profile? Option A seems simpler to me.
upvoted 0 times
...
Anastacia
2 months ago
Agree with Natalie. Option C seems like the most logical and scalable approach. Creating subcollections for each user's posts is a smart way to organize the data.
upvoted 0 times
Kristal
20 days ago
I'm leaning towards Option D actually. Separating user profiles and posts could help with performance.
upvoted 0 times
...
Alline
1 months ago
Yeah, creating subcollections for each user's posts will definitely help with scalability in the long run.
upvoted 0 times
...
Jani
1 months ago
I see your point, but I still think Option C is the way to go. It keeps everything related to a user together.
upvoted 0 times
...
Tammi
1 months ago
I agree, option C does seem like the best choice for organizing the data efficiently.
upvoted 0 times
...
Val
1 months ago
I think Option B could work too, having a separate collection for user posts might make it easier to query.
upvoted 0 times
...
Graciela
1 months ago
I agree with you, Option C does seem like the best choice. It will make it easier to manage user posts.
upvoted 0 times
...
...
Rodrigo
2 months ago
I see both sides, but I think option C is more scalable in the long run.
upvoted 0 times
...
Theodora
2 months ago
I disagree, I believe option B is better. It will separate user profiles and posts clearly.
upvoted 0 times
...
Natalie
2 months ago
I think option C is the way to go. Separating user profiles and posts into different collections makes it easier to manage and scale the data.
upvoted 0 times
Taryn
1 months ago
Option C sounds good, it allows for easy access to user profiles and their corresponding posts.
upvoted 0 times
...
Rosina
2 months ago
I think option B might be better, it keeps user profiles and posts in separate collections but at the same level.
upvoted 0 times
...
Bok
2 months ago
I agree, having separate collections for user profiles and posts will make it easier to query and maintain the data.
upvoted 0 times
...
...
Therese
2 months ago
I think option C is the best choice. It will keep the user profiles and posts organized.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77