Guide-linked quiz · Hard Level
Least Privilege for LLM Agents Quiz
Tests task-scoped permissions, tool and data boundaries, aggregate access, temporary elevation, auditability, and limits of prompt-only rules.
Question 1 of 8
What does least privilege mean for an AI agent?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- What does least privilege mean for an AI agent?
- Grant only the identity, data, tools, and actions needed for the task
- Give every tool to avoid interruptions
- Use an administrator identity for all workflows
- Rely on the system prompt to restrict behavior
- Why is a system prompt that says “do not delete files” insufficient by itself?
- It proves a tool call is safe
- It does not remove deletion permission from the tool or identity
- It prevents the model from reading text
- It changes the file system permissions automatically
- Which permission set fits a document summarizer?
- Global administrator access
- Delete access to every repository
- Read-only access to an approved collection
- Tenant-wide read/write access
- How can an agent perform a sensitive write action with reduced standing privilege?
- Keep broad access permanently
- Let the model decide whether it is authorized
- Hide the action from logs
- Use time-limited elevation or an approval gate
- Why review aggregate permissions across roles and services?
- Several narrow grants can combine into broad effective access
- Each role always remains isolated
- The model cannot use more than one tool
- Aggregate access is unrelated to agent security
- Which details improve auditability of agent actions?
- Only the prompt text
- Identity, scope, action, resource, and approval or correlation context
- Only the final chat response
- The model’s self-reported confidence
- What should a team do when tools or workflows materially change?
- Delete all logs
- Give the agent broader rights preemptively
- Re-review permissions and effective scope
- Keep the original grants without checking
- What does least privilege do and not do?
- Guarantees that prompt injection cannot occur
- Replaces output validation
- Ensures every answer is accurate
- Limits potential impact, but does not prove the agent’s judgment is correct
Keep testing yourself
More quizzes picked for your level.