A software company is building a web application on Google Cloud that has two main data storage requirements. First, the application needs to store semi-structured JSON user profile documents and support flexible queries. Second, it needs to store user-uploaded profile images and automatically transition them to lower-cost archival storage after 30 days. Which TWO Google Cloud storage solutions should be selected to meet these requirements?
- Cloud Firestore to store semi-structured JSON user profile documents with flexible querying.Cevap
- Cloud Storage with Object Lifecycle Management to store binary image files and automatically transition them to colder storage classes after 30 days.Cevap
- CCloud Spanner to store user profile JSON documents to ensure global multi-region relational ACID compliance.
- DTransfer Appliance to continuously ingest real-time uploaded binary profile images over an online network connection.
Cevap
The architectural design should include Cloud Firestore for storing semi-structured JSON user profile documents and Cloud Storage with Object Lifecycle Management for cost-effectively managing image files.
The combination of Cloud Firestore and Cloud Storage with Object Lifecycle Management directly satisfies both requirements. Cloud Firestore provides a serverless NoSQL document database ideal for JSON profiles, while Cloud Storage handles unstructured binary files with automated lifecycle rules for cost-effective archiving.
Adım Adım Çözüm
Anahtar Kavram
Selecting optimal GCP storage and database services based on data structure, query patterns, and lifecycle requirements.