exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 85 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 85
Topic #: 1
[All Professional Cloud Database Engineer Questions]

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?

  • A. Use Firestore and ensure that the PersistenceEnabled option is set to true.
  • B. Use Memorystore for Memcached.
  • C. Use Pub/Sub to synchronize the changes from the application to Cloud Spanner.
  • D. Use Table.read with the exactStaleness option to perform a read of rows in Cloud Spanner.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
pk349
Highly Voted 1 year, 7 months ago
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.
upvoted 6 times
...
chelbsik
Highly Voted 1 year, 7 months ago
Selected Answer: A
Intermittment connectivity -> Firestore
upvoted 5 times
...
887ad17
Most Recent 1 week, 3 days ago
Selected Answer: A
Firestore meets all the requirements for your physician portal app: Offline Access: With the PersistenceEnabled option, Firestore caches data locally, allowing the app to function during intermittent internet connectivity. Scalability: Firestore is designed to scale automatically with your application's needs. Strong Consistency: Firestore provides strong consistency for read and write operations. Multi-Region Replication: Firestore supports multi-region replication, ensuring high availability and resilience.
upvoted 1 times
...
gcp_k
2 months, 4 weeks ago
The answer is: C since the use case is for Strong consistency and multi-regional replication.
upvoted 1 times
...
Pime13
9 months ago
Selected Answer: A
A: Firestore supports offline data persistence. This feature caches a copy of the 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, Firestore synchronizes any local changes made by your app to the Firestore backend. https://cloud.google.com/firestore/docs/manage-data/enable-offline
upvoted 1 times
...
learnazureportal
11 months ago
correct answer is C! Firestore may not provide the same level of strong consistency and multi-region replication as Cloud Spanner. :)
upvoted 1 times
...
dynamic_dba
1 year, 4 months ago
A. 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
upvoted 4 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