Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Architect practice bank has 2,335 more like it. Try 10 free: instant score, no account.
A company has developed a custom containerized API packaged as a standard OCI container image. The workload exhibits highly sporadic and unpredictable traffic patterns throughout the day, often experiencing several consecutive hours of zero incoming traffic.
The architecture team has established the following operational and economic requirements:
Which architecture should the cloud architect recommend?
Cloud Run functions (formerly Cloud Functions) is a lightweight Function-as-a-Service (FaaS) platform designed for running single-purpose code snippets in response to cloud events or HTTP requests without container management.
The application were a lightweight, standalone event handler or single-endpoint micro-function that did not already exist as a standalone containerized service.
Because modern Cloud Run services natively provide all serverless benefits while executing arbitrary container images, wrapping container logic into FaaS code compromises architectural portability.
Compute Engine Managed Instance Groups (MIGs) manage collections of identical virtual machines based on an instance template. Schedule-based autoscaling proactively increases or decreases VM instance counts according to predefined recurring schedules.
The workload ran predictable batch processing jobs on a fixed schedule (such as daily reporting) requiring specific VM kernel extensions or specialized hypervisor settings.
IaaS-based autoscaling is too coarse-grained for highly sporadic HTTP traffic, leading to substantial cost waste during idle intervals.
Google Kubernetes Engine (GKE) Autopilot is a managed Kubernetes mode where Google provisions and manages cluster infrastructure, control planes, and node pools based on pod resource specifications. The Horizontal Pod Autoscaler (HPA) adjusts the number of replica pods based on CPU, memory, or custom metrics.
The workload required deep integration with Kubernetes custom resource definitions (CRDs), complex multi-container pod architectures, or persistent volume attachments across long-running background tasks.
While GKE Autopilot manages node provisioning, it does not provide native serverless HTTP scale-to-zero without supplementary frameworks, making it economically inefficient for sporadic workloads.
Cloud Run is a fully managed serverless compute platform that runs stateless OCI containers directly on Google Cloud infrastructure. It provides native scale-to-zero capabilities, automatically terminating container instances when there are no inbound HTTP requests and dynamically instantiating new instances as demand arrives.
cpuIdle: true) ensures that billable vCPU seconds are tracked exclusively while handling active requests rather than charging for idle container background time.This approach delivers the exact balance between scale-to-zero cost efficiency, fast startup performance, and full container portability without the management overhead of underlying cluster nodes or virtual machines.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated