A global genomics research enterprise receives daily batch uploads totaling of raw DNA sequencing data from partner laboratories around the world. The uploads occur unpredictably throughout the day. Each file requires a 20-minute containerized processing pipeline to extract variant metadata before storing the results. The raw files must remain instantly available for audit for 30 days, after which they are accessed less than once per year but must be retained for 7 years to meet compliance laws. The business goal is to minimize compute and storage infrastructure costs while avoiding server maintenance overhead. Which two architectural decisions should you recommend? (Select TWO)
- Execute the processing workload using Cloud Run jobs triggered automatically by Eventarc Cloud Storage object creation events.Answer
- Implement Cloud Storage Object Lifecycle Management to transition raw data from Standard to Nearline storage after 30 days, and to Archive storage after 365 days.Answer
- CDeploy a Google Kubernetes Engine (GKE) Autopilot cluster running a continuous deployment set of pods that poll Cloud Storage for new file uploads.
- DIngest the raw sequencing files directly into Cloud Spanner instances configured with multi-region replication to provide global consistency and immediate audit retrieval.
Answer
The optimal architecture combines Cloud Run jobs triggered by Eventarc Cloud Storage events for serverless, cost-effective batch execution, alongside Cloud Storage Object Lifecycle Management to transition raw data to Nearline after 30 days and Archive after 1 year.
Combining Cloud Run jobs (triggered via Eventarc on Cloud Storage object creation) with Cloud Storage Object Lifecycle Management minimizes total cost of ownership (TCO). Cloud Run jobs scale dynamically per file execution without incurring idle compute expenses for the 20-minute processing tasks, while Lifecycle Management automatically shifts of daily uploads into lower-cost Nearline and Archive tiers as data ages.
Step-by-Step Solution
Key Concept
Serverless Event-Driven Batch Architecture & Storage Lifecycle Cost Optimization