Topic 1 Question 161
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?
Use Cloud SQL, and assign the roles/cloudsql.editor role to the service account.
Use Bigtable, and assign the roles/bigtable.viewer role to the service account.
Use Firestore in Native mode and assign the roles/datastore.user role to the service account.
Use Firestore in Datastore mode and assign the roles/datastore.viewer role to the service account.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: 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.
👍 2zellck2022/12/16