A travel agent looks up flights, hotels and weather, and none of these depends on the others. How do you cut response time?
- Exam domain
- Developing custom agents~33% of the exam
- Difficulty
- Medium
- In this mock
- 15 questions on this domainPractise this domain
Why the exam asks this
Orchestrating and coordinating agentic workflows.
Objective in the exam guide: Selecting and coordinating multiagent handoffs and workflows (e.g., parallel agents, sequential agents, and graph workflow) using Google Cloud tools (e.g., Agent Identity, Agent Registry, Agent Runtime, and agent policies).
Parallelism cuts latency when steps are independent.
Why A is the answer
A parallel workflow, then combine the results
Independent steps can run in parallel, so the total time is close to the slowest lookup rather than the sum of all three.
Remember: Independent steps run in parallel.
How it works
A parallel agent runs independent sub-agents at the same time.
A later step combines their results.
Clues in the question
The words that point to the answer, and what each one tells you.
- none of these depends on the others
- Safe to run in parallel.
- cut response time
- Concurrency.
In detail
- Merge results in a final step.
- Handle one lookup failing without failing the whole answer.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A parallel workflow, then combine the resultsRight
Independent steps run in parallel.
B. Run them in sequence so each can check the lastWrongMost tempting
Sequence adds the latencies together.
Why it tempts: Sequence adds the three latencies together for no benefit.
C. Use a loop that tries each lookup until one succeedsWrong
A loop is for repetition, not independent tasks.
D. Ask the user to wait for each lookup in turnWrong
Making the user wait is the problem to solve.
Use case
An illustrative scenario, not a real incident.
Illustrative: three agents run at once, and a planner combines them into one itinerary in about a third of the time.
See it in different ways
flowchart TD
Q{"How do the steps relate?"}
Q -->|"Each needs the one before"| A0["Sequential"]
Q -->|"Independent of each other"| A1["Parallel"]
Q -->|"Repeat until a condition"| A2["Loop"]
Q -->|"Branches decided by code and model"| A3["Graph workflow"]How to read this chart
- At "How do the steps relate?": if "Each needs the one before", go to "Sequential"; if "Independent of each other", go to "Parallel"; if "Repeat until a condition", go to "Loop"; if "Branches decided by code and model", go to "Graph workflow".
sequenceDiagram participant P0 as Planner participant P1 as Flights agent participant P2 as Hotels agent participant P3 as Weather agent P0->>P1: search P0->>P2: search P0->>P3: forecast P1-->>P0: options P2-->>P0: options P3-->>P0: forecast
How to read this chart
- 1. Planner sends "search" to Flights agent.
- 2. Planner sends "search" to Hotels agent.
- 3. Planner sends "forecast" to Weather agent.
- 4. Planner gets a reply from Flights agent: "options".
- 5. Planner gets a reply from Hotels agent: "options".
- 6. Planner gets a reply from Weather agent: "forecast".