Interview prep
Agentic AI interview questions
32 of the most common Agentic AI questions for data and AI interviews — each with a worked answer, the trap to avoid, and a link to learn it properly. Agent loops, tools, MCP, memory, reliability, and shipping agents that touch production.
Filter by role
- Your team calls every LLM workflow an agent. How do you distinguish a genuinely agentic system from a deterministic chain, and when would you deliberately choose the chain? Easy
- In Google ADK, an agent has search, database, ticketing, and deployment tools with overlapping capabilities. How would you design their schemas and descriptions, route requests, validate arguments, handle parallel calls, and stop the model from choosing a privileged tool unnecessarily? Medium
- In Google ADK, how would you model a workflow that validates input, performs independent lookups in parallel, combines the results, and retries a bounded enrichment loop? How should state and failures move between those steps? Medium
- When should an agent act immediately, ask a clarifying question, preview a proposed action, or require explicit confirmation? Design the interaction for a task where mistakes are costly but excessive interruptions would make users abandon the agent. Medium
- In a LangGraph workflow, how would you pause before an irreversible action, present the human with enough context to make a decision, resume safely after approval, and handle rejection, timeout, or a stale approval? Medium
- A model repeatedly emits malformed arguments and occasionally calls the wrong tool. What would you include in a tool contract and execution layer to make tool use reliable without relying on the model to behave perfectly? Medium
- What should block a deployment of an agent when the change is only a prompt, tool description, model version, or policy configuration? Design a CI/CD process that covers replay tests, safety tests, canaries, rollback, and evaluator drift. Hard
- Design a retrieval pipeline for an agent that answers questions over PDFs, internal documents, and changing web content. How would parsing, chunking, metadata, retrieval, citations, freshness, and untrusted document instructions work together? Hard
- You are deploying a Google ADK agent with bursty traffic, long-running tasks, private network access, and a requirement for operational control. How would you choose among Agent Engine, Cloud Run, and GKE, and what would you do about state, scaling, and observability? Hard
- For a task with uncertain steps, occasional tool failures, and a strict latency budget, how would you choose between ReAct, Plan-Execute, and Reflexion? What evidence would cause you to change the pattern later? Hard
- An itinerary agent needs to call local inventory tools and delegate a hotel-search task to an independently owned agent. What belongs on MCP versus A2A, and how would you handle capability discovery, task state, streaming, and errors across the boundary? Hard
- Your agent reads emails and web pages that may contain instructions addressed to the model. Walk through the controls you would use to keep those instructions from changing the agent's goals or authorizing privileged actions. Hard
- An agent has a 30-second p95 latency target and a fixed cost per request, but it sometimes enters long tool loops. What controls would you use for budgeting, model routing, caching, parallelism, context growth, and graceful degradation? Hard
- An agent can issue refunds, modify production configuration, and send external messages. Where would you enforce policy, approvals, rate limits, and human confirmation, and how would you keep the model from bypassing those controls through another tool? Hard
- An MCP server publishes a harmless-looking tool description, but its instructions tell the agent to upload conversation data. How would you detect and mitigate tool poisoning, tool shadowing, and a later malicious tool update? Hard
- What belongs in the harness around a coding agent rather than in the model prompt? Explain how you would implement workspace isolation, patch application, test execution, permissions, checkpoints, stopping conditions, and audit logs. Hard
- How would you evaluate a customer-support agent when exact text matching is useless? Describe the task set, success criteria, trajectory checks, safety checks, human review, and how you would handle nondeterminism. Hard
- Design a production agent that receives a customer request, plans work, calls internal tools, asks for approval before high-impact actions, and can recover from failures. What components and boundaries would you put around the model? Hard
- For a personal productivity agent, what would you store as working, episodic, and semantic memory? How would you decide when to write or forget memories, and how would you prevent stale or malicious memories from influencing future actions? Hard
- A multi-agent system produces confident but contradictory reports, repeats work, and sometimes reaches a wrong consensus. How would you determine whether the problem is decomposition, communication, incentives, aggregation, or evaluation, and when would you replace it with a single agent? Hard
- You are building a support agent that may work on a case for several hours. How would you decide what belongs in the current context, what should be summarized, and what should be retrieved on demand? Hard
- A coding agent needs to access cloud resources, but you do not want the model or generated code to see reusable credentials. How would you implement credential-blind execution, and what would you log or revoke if you detected attempted exfiltration? Hard
- Your offline benchmark score improves after a model change, but production resolution rate falls. How would you investigate benchmark leakage, distribution shift, evaluator bias, and slice-level regressions before deciding whether to roll back? Hard
- An agent's self-reported confidence is poorly calibrated, yet it must decide whether to answer, ask a clarifying question, defer to a human, or take an action. How would you make that decision under uncertainty? Hard
- A payment tool times out after charging a card, so the agent retries and may charge the customer twice. How would you design idempotency, timeout handling, reconciliation, and compensation for agent-driven side effects? Hard
- In a LangGraph workflow, several parallel nodes update the same state and a process can be resumed from a checkpoint. How would you design reducers, checkpoint boundaries, and conflict handling so that the result is deterministic? Hard
- Your agent process crashes after a tool has completed but before the workflow records the result. When the worker restarts, how should durable execution determine what to replay, what to query, and what must never run twice? Hard
- An analysis agent can execute code through an MCP server on user-provided files. How would you isolate the execution, restrict network and filesystem access, enforce resource limits, handle secrets, and safely return generated artifacts? Hard
- You are asked to build a browser agent that can purchase items and update a CRM. What would you allow it to do autonomously, what would require confirmation, and how would you defend against visual prompt injection, wrong-page actions, and irreversible clicks? Hard
- You are choosing an agent runtime for a team that needs durable state, middleware, observability, streaming, and portability across model providers. How would you compare runtimes such as Agno and Mastra, and what proof-of-concept results would determine the choice? Hard
- You have five specialist agents that can collaborate on a complex investigation. When would you use a supervisor, when would you use a swarm, and how would you prevent routing loops, duplicated work, and unbounded conversation? Hard
- A production agent is slow and occasionally takes an unsafe action. What would you capture in traces and metrics across model calls, retrieval, tool execution, state transitions, and approvals so that you can diagnose both problems without logging sensitive content indiscriminately? Hard
No questions tagged for that role yet.