An enterprise digital publishing company is modernizing its legacy content delivery architecture on Google Cloud. The solution requires hosting two distinct workloads:
1. A stateless REST API microservice that receives variable public HTTP traffic and must scale to zero during off-peak hours while minimizing operational infrastructure management.
2. A batch processing engine for raw media encoding that requires low-level Linux kernel sysctl parameters and custom OS kernel modules.
Which TWO compute platform choices should the Cloud Architect recommend to fulfill these requirements while optimizing operational efficiency and adherence to Google Cloud best practices? (Select TWO.)
- Deploy the stateless REST API microservice to Cloud Run to achieve containerized execution with scale-to-zero capability and zero server management overhead.Answer
- Deploy the batch processing engine to Compute Engine Virtual Machines using custom images configured with the required OS kernel modules and sysctl settings.Answer
- CDeploy the stateless REST API microservice to a multi-zone standard Google Kubernetes Engine (GKE) cluster to handle autoscaling and HTTP traffic routing.
- DDeploy the batch processing engine to Cloud Run by mounting the host kernel driver directory into the container environment.
- EDeploy both the REST API and the batch processing engine to App Engine Standard environment to unify serverless deployment.
Answer
The Cloud Architect should recommend deploying the stateless REST API microservice to Cloud Run and deploying the batch processing engine to Compute Engine Virtual Machines.
Selecting Cloud Run for the stateless REST API microservice satisfies the requirement for automatic scale-to-zero capability with minimal operational management. Selecting Compute Engine Virtual Machines for the media processing engine provides full administrative access to install custom kernel modules and configure sysctl parameters that managed serverless runtimes do not support.
Step-by-Step Solution
Key Concept
Compute Platform Selection Strategy (Cloud Run vs. Compute Engine vs. GKE)