Soru

Zorluk: KolaySelecting and Designing Storage and Database Resources

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?

  1. Cloud Firestore to store semi-structured JSON user profile documents with flexible querying.Cevap
  2. Cloud Storage with Object Lifecycle Management to store binary image files and automatically transition them to colder storage classes after 30 days.Cevap
  3. C
    Cloud Spanner to store user profile JSON documents to ensure global multi-region relational ACID compliance.
  4. D
    Transfer 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

1
Analyze the data storage requirement for user profile documents.
User profile documents are semi-structured JSON data requiring flexible queries. A NoSQL document database like Cloud Firestore is optimal for this access pattern.
Cloud Firestore natively handles schema-less JSON documents with automated indexing and low latency queries.
2
Analyze the storage and lifecycle requirement for profile images.
Unstructured binary object storage with automated age-based tiering is needed.
Cloud Storage stores unstructured media files and natively supports Object Lifecycle Management rules to automatically downgrade objects to colder storage classes after 30 days to optimize cost.

Anahtar Kavram

Selecting optimal GCP storage and database services based on data structure, query patterns, and lifecycle requirements.
Bu soruyu puanla