Your e-commerce platform lets sellers upload high-resolution product images averaging 2 MB each. Upload traffic can spike to 40 000 images per minute during holiday sales, while buyers worldwide expect image loads in under 100 ms. Images are rarely modified after upload, but marketing wants to recover accidentally overwritten versions and automatically move images older than a year to cheaper storage. Without provisioning or managing servers, which Google Cloud design best satisfies these requirements?
Save each image as a binary field in a Firestore document and trigger Cloud Functions to move documents older than one year to Coldline Storage.
Insert each image as a BYTEA column in Cloud SQL for PostgreSQL, create cross-region read replicas, and cache image URLs using Cloud CDN.
Write Base64-encoded image chunks to Cloud Bigtable rows partitioned by image ID and expose them to users behind an external HTTP(S) load balancer.
Store images in a multi-region Cloud Storage bucket with Object Versioning enabled and lifecycle rules that move noncurrent versions to Nearline; serve the bucket through Cloud CDN.
Cloud Storage is optimized for unstructured objects and automatically scales to thousands of writes per second-enough to handle 40 000 images per minute-without server management. Placing Cloud CDN in front of a Cloud Storage bucket provides edge caching worldwide, helping meet the sub-100 ms latency goal. Using a multi-region bucket replicates data across multiple Google Cloud regions within a continent, improving availability and regional read latency, while Cloud CDN handles global delivery. Enabling Object Versioning preserves previous copies of overwritten files, and lifecycle rules can transition noncurrent or aged objects to Nearline or other lower-cost classes automatically. Relational databases like Cloud SQL are not designed for multi-megabyte objects at high write rates, Bigtable is tuned for wide-column key/value workloads rather than large binaries, and Firestore has a 1 MiB document size limit, so these alternatives cannot meet the throughput, size, or cost requirements as effectively.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Object Versioning in Cloud Storage?
Open an interactive chat with Bash
How does Cloud CDN improve performance for global image delivery?
Open an interactive chat with Bash
What are lifecycle rules in Google Cloud Storage?
Open an interactive chat with Bash
What is Object Versioning in Cloud Storage?
Open an interactive chat with Bash
How does Cloud CDN improve latency while serving images?
Open an interactive chat with Bash
What are lifecycle rules in Cloud Storage?
Open an interactive chat with Bash
GCP Professional Data Engineer
Storing the data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .