AI Hints
Agentic AI · Lesson 98 of 100

Interview Questions

Answering like a pro.

⏱ 2 min read▶ Video at 3:06:13🎓 Free
Watch this lesson in the Agentic AI courseWatch on YouTube ↗Full Agentic AI course

Agent engineering roles are among the fastest growing in technology. Interviewers know that demos are easy. So they test judgment. Here are the questions that come up, and how to answer them.

Interview Questions
From the video: Interview Questions
  • Fast-growing roles
  • Demos are easy
  • They test judgment

How would you design a support agent?

Don't start with frameworks. Start with the risks. Ask what it may do, and what's the worst case. Say that you'd begin with a workflow, and add autonomy only where it's needed. Then cover tools, approval for risky actions, rules in code, evals from real tickets, and a staged rollout.

Start with riskswhat's the worst case?
Least autonomyworkflow first
Rules in codeapprovals for risk
Evals and rolloutprove it

Your agent loops forever. What do you do?

Show a method. Read the trace. Is it repeating a tool? Often the tool's error is unclear, or its result doesn't help. Fix the tool first. Then add a limit on repeats, and a budget. Then add a case to your eval set, so that it can't come back.

Read the tracewhat's it repeating?
Fix the toolclearer errors
Add limitssteps, repeats, budget
Add an evalit can't return

How do you stop prompt injection?

Be honest. You can't fully stop it. So you limit the damage. Treat content as data. Remove one leg of the lethal trifecta. Give narrow tools. Gate actions in code. Get a human on risky actions. Red team it. If you claim that a better prompt solves it, you'll fail that question.

Can't be fully solvedsay so
Limit the damagedesign for failure
Break the trifectaremove a leg
Gates and humanson risky actions

How do you measure an agent?

Offline, with a golden set, trajectory checks, and judges. Online, with task completion, escalation rate, cost per solved task, and human edit rate. Then explain how they connect. Offline evals block regressions, and online numbers show the true value.

Offlinegolden set, trajectories
Onlinecompletion, escalation
Costper solved task
Connect themblock, then measure

Summary

Start from risk, follow a method, and be honest about limits. That's how you stand out. Next, your cheat sheet.

Key takeaways
  • Start with the risks
  • Debug with traces
  • Be honest about limits
Next up: Your Cheat Sheet — the whole course on a page