Soru

Zorluk: ZorDesigning Infrastructure for Business Requirements and Cost Optimization

A healthcare technology SaaS provider processes asynchronous, batch-oriented PDF diagnostic report generation tasks. The workload experiences severe traffic spikes during business hours but experiences zero execution demand during nights and weekends. The rendered document metadata must be stored in a consistent relational format. The primary business requirement is to strictly minimize operational overhead and infrastructure costs while maintaining transactional database integrity for single-region operations. Which TWO architectural decisions should you recommend to meet these requirements? (Select TWO.)

  1. Execute the containerized PDF generation tasks using Cloud Run jobs triggered on-demand to leverage automatic scale-to-zero capability.Cevap
  2. Store diagnostic report metadata in Cloud SQL for PostgreSQL configured with storage auto-scaling and automatic backups.Cevap
  3. C
    Deploy a dedicated Google Kubernetes Engine (GKE) cluster with cluster autoscaler to execute the background PDF rendering workers.
  4. D
    Provision a multi-region Cloud Spanner instance to store diagnostic report metadata with continuous high availability.

Cevap

The optimal architectural design requires selecting Cloud Run jobs for on-demand batch execution scaling to zero, combined with Cloud SQL for PostgreSQL to handle single-region relational data cost-effectively.
Combining Cloud Run jobs with Cloud SQL directly addresses the business objective of minimizing cost while fulfilling technical requirements. Cloud Run jobs scale completely to zero during idle periods so you pay strictly per execution second. Cloud SQL provides managed relational persistence aligned with single-region budget parameters.

Adım Adım Çözüm

1
Analyze compute workload requirements for batch processing
Identified that PDF report rendering is an asynchronous, bursty batch job with long idle periods.
Serverless containers (Cloud Run jobs) eliminate idle cost by scaling to zero when no tasks are queued.
2
Evaluate database requirements for metadata persistence
Identified single-region relational storage requirement with cost optimization focus.
Cloud SQL fulfills relational ACID requirements with low baseline costs, avoiding the multi-node minimum cost envelope of Cloud Spanner.

Anahtar Kavram

Cost-effective serverless batch compute and relational storage selection
Bu soruyu puanla