A digital publishing platform requires a fully managed GCP database service to store user profile documents, user session state, and content metadata. The workload demands flexible schema support, automatic multi-region replication with strong consistency, sub-second latency for document lookups, and zero database server management overhead. Which Google Cloud service should the cloud engineer select to meet these requirements?
- Firestore in Native modeAnswer
- BCloud SQL for MySQL configured with high availability and cross-region read replicas
- CCloud Storage Coldline storage bucket containing individual user profile JSON files
- DSelf-managed MongoDB database hosted on Compute Engine Spot VMs backed by Standard Persistent Disk (pd-standard)
Answer
Firestore in Native mode is the correct service choice.
Firestore in Native mode is a serverless, document-oriented NoSQL database that automatically manages scaling, replication, and high availability across multi-region locations. It natively handles flexible JSON document hierarchies with strong consistency and requires no server administration.
Step-by-Step Solution
Key Concept
Selecting GCP Database and Storage Options based on workload requirements