ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 131 - Professional Cloud Developer discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
D.
Use Firestore in Datastore mode and assign the roles/datastore.viewer role to the service account.
Suggested answer: C

Explanation:

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.

asked 18/09/2024
Hasan Elmas
51 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first