Skip to content

Guardrails, Identity & Policy

17 questions
0 of 17 done · 5 unlocked for you
DONEUNLOCKEDLOCKED

Agent Guardrails, Identity & Policy Interview Questions

Who authorised this action? Delegated identity for agents acting for people, policy decisions made outside the model, approvals that people actually read, the paths data can leave by, and audit trails that answer a regulator.

Worked answers that trace the run, put each decision on the right side of the authority line, and end with the follow-ups and scoring a panel applies.

You have 5 free answers unlocked here.Sign in free for 1 more · 11 are premium.
01–07Foundationsthe mechanisms behind this topic, and the terms a panel uses for them0/7 done
08–13Core questionsthe questions this topic is most often tested on, with full worked answers0/6 done
14–17Field scenariosopen-ended designs, incidents and trade-offs where you must state what is missing0/4 done
PRACTICE TESTStudied this track? Prove it: a timed Guardrails, Identity & Policy test.fresh items every sitting · explanations for every answer · easy items free with an accountStart →

The concepts behind Guardrails, Identity & Policy

Lessons behind these answers. The opening lessons are free; deeper ones are Premium.

Foundational
Guardrails in LayersAgent guardrails work in layers. Input handling labels untrusted content; tool exposure limits what a task can call; the tool boundary validates and authorizes each call in code; output and egress controls stop sensitive data leaving; approval covers consequential actions; monitoring catches what got through. Prompt instructions help the model behave but are not controls, because a model can be wrong or steered. Structural rules, such as never combining untrusted input, sensitive data and external action without a person, follow from this.
Core
Sign in
Delegated Identity for AgentsWhen an agent acts for a user, three sets of permissions meet: the user's, the agent's role, and the task's needs. The agent's effective rights should be their intersection, issued as short-lived delegated credentials that name both the user (subject) and the agent (actor). Using the user's full credentials gives the agent everything the user can do; using a broad service account gives it more. Delegation with attenuation keeps the agent's reach small, makes actions attributable, and lets delegation be revoked without touching the user's own access.
Advanced
🔒 Premium
Policy Decision PointsAs agents gain tools, rules about what they may do multiply: limits, ownership, time windows, approval thresholds. In prompts they are unenforceable; scattered through tool handlers they disagree. The standard architecture separates a policy decision point, an engine evaluating rules against the request and its context, from enforcement points that ask and obey. Rules are code, versioned and tested with case tables, rolled out in shadow mode, and every decision is logged with its inputs and deciding rule.
Advanced
🔒 Premium
Approvals People ReadHuman approval is the last control before many consequential agent actions, and it decays into a rubber stamp when people are asked too often, about too little, with too little information. Good approval design routes only risky actions to people (by amount, irreversibility, novelty or policy), presents each as a concrete action with its impact, evidence and anomalies highlighted, binds the decision to that exact action, and requires more from approvers as risk rises. Its quality is measured directly, for example with seeded items that should be rejected, as well as by approval rates and time to decide.
Advanced
🔒 Premium
Exfiltration PathsData leaves an agent system through any channel that reaches outside, not only tools named 'send': URLs in output that a client fetches automatically, arguments to external tools such as search, files in shared places, memory read in another scope, logs and analytics, and sandbox networking. The builder's defence is an inventory of these paths with a control on each: rendering rules, egress allowlists, checks on outbound arguments, scoped storage and memory, redacted telemetry, and stricter rules after untrusted input.
Advanced
🔒 Premium
Workload Identity, Token Exchange and Proof of Possession for AgentsAgent identity rests on standards that predate agents. SPIFFE issues workloads short-lived verifiable identity documents, so a service knows which code is calling. OAuth 2.0 Token Exchange (RFC 8693) lets each hop swap the token it received for a narrower one with a new audience, and its act claim records the chain of actors. DPoP (RFC 9449) binds an access token to a key and proves possession per request, so a token copied from logs or a sandbox cannot be replayed. MCP's enterprise-managed authorization extension uses an identity assertion JWT grant so the enterprise identity provider governs which agents reach which servers.
Advanced
🔒 Premium
Audit Logs for Agent ActionsA trace and an audit log record overlapping events for different readers. The trace is for engineers: every span, full content where permitted, mutable storage, retention measured in weeks. The audit log is for investigators, auditors and regulators: one append-only record per security-relevant event (an action proposed, a policy decision, an approval, a side effect, a credential use), each carrying who acted, under whose delegated authority, which policy version decided, and a causal link to the event that led to it. Tamper evidence comes from a hash chain with each entry committing to the previous one, a keyed signature over each entry, and periodic anchoring of the chain head somewhere the operators cannot rewrite. Content is minimised: hashes and identifiers of arguments and results, never raw customer data or secrets, so the log can be retained for years and shown to a third party. The log is written by the harness at the policy and tool boundaries, never by the model.

FROM THE BLOG

Unlock all 17 answers · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal