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 15 Question 102 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 102
Topic #: 15
[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:

Larue
3 days ago
Option C is the way to go. Subcollections are your friend when it comes to organizing data in Firestore. Keep it clean and simple.
upvoted 0 times
...
Dell
7 days ago
Haha, Option D is like putting the cart before the horse. Why would you have a root collection for posts before you even have user profiles?
upvoted 0 times
...
Shannan
15 days ago
I see both sides, but I think option C allows for better scalability in the long run.
upvoted 0 times
...
Melinda
16 days ago
Option A sounds like a disaster waiting to happen. Nesting user posts in the profile document? That's just asking for performance issues down the line.
upvoted 0 times
...
Marylyn
19 days ago
I disagree, I believe option B is more efficient. Separating profiles and posts makes it easier to manage.
upvoted 0 times
...
Janey
22 days ago
I'd go with Option B. Keeping the user profiles and posts in separate root collections will make the data structure more scalable in the long run.
upvoted 0 times
...
Bo
24 days ago
Option C makes the most sense to me. Having a subcollection for each user's posts keeps the data organized and easy to query.
upvoted 0 times
Arlyne
3 days ago
I think option C is the way to go as well. It will make querying user posts much easier.
upvoted 0 times
...
Rhea
10 days ago
I agree, option C seems like the best choice for organizing the data efficiently.
upvoted 0 times
...
...
Glenn
26 days ago
I think option C is the best choice. It keeps user profiles and posts organized.
upvoted 0 times
...

Save Cancel