Question

Difficulty: MediumSelecting and Designing Compute and Application Platforms

A healthcare technology company is architecting a medical diagnostics platform on Google Cloud. The system consists of two distinct components: 1) A stateless REST API backend that receives patient request payloads and returns quick diagnostic summaries with highly variable, bursty web traffic, requiring minimal operational management; 2) A batch processing pipeline that runs legacy, uncontainerized diagnostic algorithms relying on custom Linux kernel modules for 3 hours every night. Which TWO compute solutions should you recommend to fulfill these requirements with the lowest operational overhead and optimal cost efficiency? (Select TWO)

  1. Deploy the stateless REST API backend onto Cloud Run.Answer
  2. Deploy the batch processing pipeline onto Compute Engine Managed Instance Groups using Spot VMs.Answer
  3. C
    Deploy the stateless REST API backend onto a dedicated Google Kubernetes Engine (GKE) Standard cluster with fixed node pools.
  4. D
    Deploy the legacy batch processing pipeline onto Cloud Functions.
  5. E
    Purchase 3-year Committed Use Discounts (CUDs) for On-Demand Compute Engine instances to run the 3-hour nightly batch workload.

Answer

Select Cloud Run for the stateless REST API backend and Compute Engine Managed Instance Groups using Spot VMs for the legacy batch processing pipeline.
Cloud Run is ideal for stateless REST APIs with bursty traffic because it automatically scales containers and requires zero cluster maintenance. For legacy workloads requiring custom kernel modules and running for short nightly windows, Compute Engine VMs provide the required OS-level access, while Spot VMs and Managed Instance Groups ensure maximum cost efficiency.

Step-by-Step Solution

1
Analyze the stateless REST API requirements
Identified bursty HTTP traffic, stateless architecture, and minimal operational overhead preference.
Cloud Run is the optimal Google Cloud serverless compute platform for stateless containerized web services, scaling to zero when idle.
2
Analyze the legacy batch processing pipeline requirements
Identified dependency on custom Linux kernel modules and a 3-hour nightly execution window.
Serverless container environments (Cloud Run, Cloud Functions) do not permit custom host kernel modules. Compute Engine VMs permit full OS/kernel customization, and using Spot VMs within a Managed Instance Group optimizes costs for scheduled batch runs.

Key Concept

Selecting appropriate compute platforms based on containerization status, kernel/OS customization needs, scaling patterns, and management overhead constraints.
Rate this question