Google Cloud Professional Cloud Developer — Question 280
You are designing a Node.js-based mobile news feed application that stores data on Google Cloud. You need to select the application's database. You want the database to have zonal resiliency out of the box, low latency responses, ACID compliance, an optional middle tier, semi-structured data storage, and network-partition-tolerant and offline-mode client libraries. What should you do?
Answer options
- A. Configure Firestore and use the Firestore client library in the app.
- B. Configure Bigtable and use the Bigtable client in the app.
- C. Configure Cloud SQL and use the Google Client Library for Cloud SQL in the app.
- D. Configure BigQuery and use the BigQuery REST API in the app.
Correct answer: A
Explanation
The correct choice is A because Firestore provides the required features such as zonal resiliency, low latency, ACID compliance, semi-structured data storage, and client libraries that support offline mode and network partition tolerance. Options B, C, and D do not fully meet all the specified requirements, as Bigtable is not ACID compliant, Cloud SQL may not offer the same level of offline capabilities, and BigQuery is primarily designed for analytics rather than real-time data storage.