A simple stateless agent is packaged as a container, gets traffic in bursts, and should cost nothing when idle. Which runtime fits?
- Exam domain
- Evaluating and deploying agentic workflows~22% of the exam
- Difficulty
- Medium
- In this mock
- 11 questions on this domainPractise this domain
Why the exam asks this
Deploying and scaling production workloads.
Objective in the exam guide: Selecting optimal deployment runtime based on the use case, requirements, and cost (e.g., Agent Runtime, Cloud Run, and GKE).
Bursty, stateless containers fit serverless.
Why D is the answer
Cloud Run
Cloud Run runs containers serverlessly, scales with requests and can scale to zero, which suits bursty, stateless services.
Remember: Bursty stateless containers suit Cloud Run.
How it works
Cloud Run runs containers, scales with requests and can scale to zero.
Clues in the question
The words that point to the answer, and what each one tells you.
- cost nothing when idle
- Scale to zero.
- stateless ... container
- Cloud Run.
In detail
- Keep state in managed services when using Cloud Run.
- Watch cold starts for latency-sensitive paths.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A dedicated VMWrong
A VM runs and costs money all the time.
B. A CX Agent Studio flowWrong
CX Agent Studio is a builder for conversations, not a container runtime.
C. GKE with a fixed node poolWrongMost tempting
A fixed node pool costs money when idle.
Why it tempts: Fixed nodes cost money while idle.
D. Cloud RunRight
Bursty stateless containers suit Cloud Run.
Use case
An illustrative scenario, not a real incident.
Illustrative: an internal summarizer agent runs on Cloud Run and costs nothing overnight.
See it in different ways
flowchart TD
Q{"What does the agent need?"}
Q -->|"Managed sessions and memory, no infrastructure"| A0["Agent Runtime"]
Q -->|"A stateless container that scales to zero"| A1["Cloud Run"]
Q -->|"Cluster control, GPUs or existing GKE"| A2["GKE"]How to read this chart
- At "What does the agent need?": if "Managed sessions and memory, no infrastructure", go to "Agent Runtime"; if "A stateless container that scales to zero", go to "Cloud Run"; if "Cluster control, GPUs or existing GKE", go to "GKE".
stateDiagram-v2 state "Zero instances" as s0 state "Scaled up" as s1 [*] --> s0 s0 --> s1: requests arrive s1 --> s0: idle
How to read this chart
- It starts at "Zero instances".
- From "Zero instances", "requests arrive" moves it to "Scaled up".
- From "Scaled up", "idle" moves it to "Zero instances".