
Answer-first summary for fast verification
Answer: Configure Firestore and use the Firestore client library in the app.
Firestore is the correct choice because it meets all the specified requirements. It provides zonal resiliency in regional mode with automatic replication across zones. Firestore offers low latency responses suitable for mobile apps and supports ACID-compliant transactions for document operations. The client libraries enable direct access (optional middle tier) and support offline mode with network-partition tolerance. As a document database, it handles semi-structured data natively. Bigtable (B) lacks ACID compliance and offline support. Cloud SQL (C) requires a middle tier and lacks offline capabilities. BigQuery (D) is for analytics, not low-latency transactional needs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are architecting a Node.js mobile news feed application with data storage on Google Cloud. The database selection must support: zonal resiliency by default, low-latency responses, ACID compliance, an optional middle tier, semi-structured data storage capabilities, and client libraries that tolerate network partitions and offline mode. Which database solution should you choose?
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.
No comments yet.