exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 161 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 161
Topic #: 1
[All Professional Cloud Developer Questions]

You are building a mobile application that will store hierarchical data structures in a database. The application will enable users working offline to sync changes when they are back online. A backend service will enrich the data in the database using a service account. The application is expected to be very popular and needs to scale seamlessly and securely. Which database and IAM role should you use?

  • A. Use Cloud SQL, and assign the roles/cloudsql.editor role to the service account.
  • B. Use Bigtable, and assign the roles/bigtable.viewer role to the service account.
  • C. Use Firestore in Native mode and assign the roles/datastore.user role to the service account.
  • D. Use Firestore in Datastore mode and assign the roles/datastore.viewer role to the service account.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
__rajan__
7 months, 1 week ago
Selected Answer: C
C is correct.
upvoted 1 times
...
purushi
8 months, 3 weeks ago
Selected Answer: C
IAM role should be roles/datastore.user role and not a viewer role as of option D. Firestore is suitable for storing semi structured and hierarchical mobile data.
upvoted 2 times
...
Oleksii_ki
9 months, 3 weeks ago
Selected Answer: C
C. Use Firestore in Native mode and assign the roles/datastore.user role to the service account. roles/datastore.user role - have permissions to Read/write access to data in a Datastore mode database. Intended for application developers and service accounts. https://cloud.google.com/datastore/docs/access/iam
upvoted 1 times
...
TNT87
1 year, 4 months ago
Answer C https://cloud.google.com/architecture/building-scalable-apps-with-cloud-firestore
upvoted 3 times
...
zellck
1 year, 4 months ago
Selected Answer: C
C is the answer. https://firebase.google.com/docs/firestore/manage-data/enable-offline Cloud Firestore supports offline data persistence. This feature caches a copy of the Cloud Firestore data that your app is actively using, so your app can access the data when the device is offline. You can write, read, listen to, and query the cached data. When the device comes back online, Cloud Firestore synchronizes any local changes made by your app to the Cloud Firestore backend.
upvoted 2 times
...
sharath25
1 year, 4 months ago
Selected Answer: C
option C
upvoted 1 times
...
kisswd
1 year, 4 months ago
Selected Answer: C
https://firebase.google.com/docs/firestore/manage-data/enable-offline
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago