Easy1 markMultiple Choice
Domain 2.2: Planning and configuring compute resourcesCloud RunCompute SelectionServerlessContainers

GCP ACE · Question 12 · Domain 2.2: Planning and configuring compute resources

Your team has developed a stateless, containerized web application. Traffic to the application is highly unpredictable, with periods of zero traffic followed by sudden, massive spikes. You want to deploy this application with the least amount of operational overhead, and you only want to pay when the application is actively processing requests.

Which compute service should you choose?

Answer options:

A.

Compute Engine

B.

Google Kubernetes Engine (GKE)

C.

Cloud Run

D.

App Engine Standard

How to approach this question

Look for keywords: 'stateless', 'containerized', 'scales to zero', 'least operational overhead'. This points directly to a serverless container platform.

Full Answer

C.Cloud Run✓ Correct
Cloud Run
Cloud Run is the ideal choice for stateless, containerized applications with unpredictable traffic. It is a fully managed serverless platform, meaning there is zero operational overhead for managing infrastructure. It automatically scales up to handle traffic spikes and scales down to zero when there is no traffic. Crucially, you are only billed for the exact milliseconds your code is executing to process a request.

Common mistakes

Choosing GKE because the app is containerized. GKE is powerful but has high operational overhead and doesn't scale the underlying nodes to absolute zero easily without complex configuration.

Practice the full GCP Associate Cloud Engineer Practice Exam 6

50 questions · hints · full answers · grading

More questions from this exam