Medium1 markMultiple Choice
Domain 2.2: Planning and configuring compute resourcesDomain 2.2Cloud RunServerlessContainers

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

Your development team has created a stateless, containerized web application that responds to HTTP requests. Traffic to the application is highly unpredictable, with long periods of zero traffic followed by sudden spikes. You want to deploy this application with the least amount of operational overhead and ensure you only 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: 'containerized', 'stateless HTTP', 'scale to zero', 'least operational overhead'.

Full Answer

C.Cloud Run✓ Correct
Cloud Run
Cloud Run is the ideal choice for stateless, containerized applications that receive HTTP requests. It is fully serverless, meaning Google manages the infrastructure. It automatically scales up during traffic spikes and scales down to zero during idle periods, ensuring you only pay for the exact compute time used during request processing.

Common mistakes

Choosing GKE because the app is containerized, ignoring the requirements for 'least operational overhead' and 'pay only when processing requests'.

Practice the full GCP Associate Cloud Engineer Practice Exam 3

50 questions · hints · full answers · grading

More questions from this exam