AI Advanced · 25% practice allocation

AI Advanced: Agent Frameworks & ADK Practice Questions

5 free sample questions from the Agent Frameworks & ADK domain, with answers and explanations. The full AI Advanced bank has 794 questions across 5 domains. Questions follow the AI Advanced course content.

1.

A developer is new to Google ADK and wants to build a simple pipeline where Agent A summarizes a document, and then Agent B translates the summary into French — always in that fixed order, with no branching logic. Which ADK agent type is the MOST appropriate top-level orchestrator for this use case?

  • A. LoopAgent, because it re-runs its sub-agents repeatedly until an escalation or max_iterations condition is met
  • B. ParallelAgent, because running the summarizer and translator simultaneously minimizes total pipeline latency
  • C. SequentialAgent, because it executes a predefined list of sub-agents in order✓ Correct
  • D. LlmAgent, because its model can reason at runtime about which sub-agent to call next and in what order
Explanation

SequentialAgent is built for fixed, ordered pipelines. It runs each sub-agent in the order listed and passes outputs downstream. An LlmAgent that reasons about call order at runtime uses an LLM to decide what to call, which adds unneeded non-determinism and cost to a fixed pipeline. Running the summarizer and translator simultaneously with ParallelAgent would fail because the translation depends on the summary output. LoopAgent's repeat-until-termination behavior is meant for iterative or retry patterns, not a linear one-pass pipeline.

2.

A developer is building a multi-agent ADK system. An orchestrator LlmAgent must delegate a sub-task to a specialist agent and receive the result before continuing its own reasoning. The developer wraps the specialist agent as an AgentTool and registers it with the orchestrator. During testing, the developer notices the orchestrator sometimes skips calling the specialist agent even when the task clearly requires it. What is the MOST LIKELY root cause?

  • A. The specialist agent's session has expired between turns, causing the AgentTool invocation to fail silently without raising an error to the orchestrator.
  • B. The orchestrator's system prompt or tool description does not sufficiently signal to the LLM when and why to invoke the specialist AgentTool.✓ Correct
  • C. The orchestrator LlmAgent requires a LoopAgent wrapper to guarantee the AgentTool is invoked at least once per user turn.
  • D. AgentTool is not compatible with LlmAgent orchestrators; only SequentialAgent and ParallelAgent can register AgentTool instances.
Explanation

Whether an LLM uses a tool depends heavily on how the tool is described in the system prompt and tool schemas. If the AgentTool's description is vague, or the system prompt does not steer the model toward it for this kind of task, the LLM may answer directly instead of delegating. The claim that AgentTool is incompatible with LlmAgent is wrong; working with an LlmAgent is AgentTool's main use case. The expired-session explanation sounds plausible but is wrong, because AgentTool invocations create their own execution context and do not depend on an existing persistent session. The LoopAgent-wrapper idea is wrong because LoopAgent is for iterative execution, not for forcing a tool call.

3.

A developer is designing a CrewAI system for a legal research task. They want a ParallelResearcher agent to search three databases simultaneously, then pass all findings to a SynthesisAgent. Which TWO statements correctly describe constraints or behaviors the developer must account for when using CrewAI's sequential process for this design? (Select TWO)

  • A. The sequential process automatically load-balances tasks across all available agents, assigning each task to whichever agent currently has the lightest workload
  • B. The output of each task is passed as context to the next task, so the SynthesisAgent can receive the prior tasks' outputs as context✓ Correct
  • C. In the sequential process, tasks execute strictly one at a time in the order they are defined, so true simultaneous database searches are not natively supported✓ Correct
  • D. The sequential process requires a manager_llm to be configured on the Crew so it can validate and dispatch each task before any of them are executed
  • E. Agents in a sequential process share a mutable global memory object that every task reads and writes concurrently, so the three searches merge automatically
Explanation

The statement that tasks run strictly one at a time in defined order is correct. Because the sequential process runs tasks one after another, three truly parallel database searches are not natively supported. The developer would need the hierarchical process or async task tooling for that. The statement that each task's output is passed as context to the next is also correct. In the sequential process, earlier task outputs are automatically available as context to later tasks, and that is how the SynthesisAgent would receive the researchers' findings. The load-balancing claim is wrong: the sequential process does not assign tasks by agent workload. It just follows task order. The manager_llm claim is wrong: a manager LLM is required only for the hierarchical process. The shared mutable global memory claim is wrong: CrewAI has no shared global memory that tasks write to concurrently. Tasks communicate through structured task outputs and context passing.

4.

A senior engineer is building an ADK agent evaluation pipeline. After running 500 test cases through a customer-support multi-agent system, they want to measure: (1) whether the correct final answer was given, and (2) whether the agent used the minimum necessary tools to arrive at that answer without redundant calls. Which evaluation metrics BEST address these two dimensions?

  • A. (1) Precision/Recall on entity extraction, (2) Trajectory evaluation against reference trajectories
  • B. (1) Task success rate, (2) Trajectory efficiency / step count evaluation✓ Correct
  • C. (1) BLEU score against reference answers, (2) Token cost per task
  • D. (1) Task success rate, (2) Average end-to-end latency per task
Explanation

Task success rate measures whether the agent produced the correct final output, which directly covers dimension (1). Trajectory efficiency or step-count evaluation measures whether the agent used the minimal, expected number of tool calls to reach the answer, which directly covers dimension (2). BLEU score measures text similarity to reference answers and does not suit evaluating whether an agent's answer is functionally correct. Token cost per task measures money or compute spent, not whether tool usage was logically minimal. Average end-to-end latency measures speed, not redundant tool calls. Precision/Recall on entity extraction is a task-specific NLP metric, not a general agent evaluation metric for dimension (1) in this scenario.

5.

A developer is new to Google ADK and wants to understand the core building block for AI-powered decision-making. Which ADK agent type uses an underlying large language model to reason about which tools to call and in what order, making it the most flexible agent type for open-ended tasks?

  • A. ParallelAgent
  • B. LoopAgent
  • C. LlmAgent✓ Correct
  • D. SequentialAgent
Explanation

LlmAgent is correct because it is backed by an LLM that performs chain-of-thought reasoning to decide which tools to invoke and when, making it suitable for open-ended, dynamic tasks. SequentialAgent simply chains sub-agents in a fixed order and has no LLM-driven reasoning of its own. LoopAgent repeatedly runs sub-agents until a termination condition is met but does not itself use an LLM for decision-making. ParallelAgent runs sub-agents concurrently in parallel but also does not have its own LLM reasoning layer.

Test yourself across every AI Advanced domain

The free AI Advanced practice test mixes about 20 questions weighted like the exam. The full 794-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Agent Frameworks & ADK study guide (AI Advanced) →

Other AI Advanced domains

← All AI Advanced study resources