Topic 1 Question 85
You are designing a physician portal app in Node.js. This application will be used in hospitals and clinics that might have intermittent internet connectivity. If a connectivity failure occurs, the app should be able to query the cached data. You need to ensure that the application has scalability, strong consistency, and multi-region replication. What should you do?
Use Firestore and ensure that the PersistenceEnabled option is set to true.
Use Memorystore for Memcached.
Use Pub/Sub to synchronize the changes from the application to Cloud Spanner.
Use Table.read with the exactStaleness option to perform a read of rows in Cloud Spanner.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: A
Intermittment connectivity -> Firestore
👍 3chelbsik2022/12/25 A: Use Firestore and ensure that the PersistenceEnabled ***** option is set to true. Cloud Firestore is a NoSQL document database that lets you easily store, sync, and query data for your mobile and web apps - at global scale. To use offline persistence, you don't need to make any changes to the code that you use to access Cloud Firestore data. With offline persistence enabled, the Cloud Firestore client library automatically manages online and offline data access and synchronizes local data when the device is back online.
👍 2pk3492022/12/24A. An app with intermitted internet access meaning it does not HAVE to sync with the live data source must mean Firestore in Datastore mode. The only option that mentions Firestore is A. https://firebase.google.com/docs/firestore/manage-data/enable-offline
👍 1dynamic_dba2023/03/14
シャッフルモード