Easy1 markMultiple Choice

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

Your team has developed a stateless, containerized web application that processes HTTP requests. Traffic is highly unpredictable, and the application sometimes receives zero traffic for hours. You want a fully managed serverless environment that scales to zero to minimize costs.

Which Google Cloud compute service should you choose?

Answer options:

A.

Compute Engine

B.

Google Kubernetes Engine (GKE)

C.

Cloud Run

D.

App Engine Flexible

How to approach this question

Match the keywords: 'stateless', 'containerized', 'HTTP requests', 'serverless', and 'scales to zero'.

Full Answer

C.Cloud Run✓ Correct
Cloud Run is the ideal choice for stateless, containerized applications that handle HTTP requests. It is fully managed, abstracts away infrastructure, and automatically scales from zero to handle traffic spikes, meaning you only pay when your code is running.

Common mistakes

Choosing App Engine Flexible, which supports containers but cannot scale to zero. App Engine Standard scales to zero but has language restrictions and doesn't run arbitrary containers as easily as Cloud Run.

Practice the full GCP Associate Cloud Engineer Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam