Security wants a hard limit on what an agent can ever reach, even if someone later grants it a broad role by mistake. What do you configure?
- Exam domain
- Securing and governing agentic workflows~15% of the exam
- Difficulty
- Hard
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Configuring agent security and governance.
Objective in the exam guide: Configuring Principal Access Boundary (PAB) policies using Agent Identity.
PAB sets an upper limit that later grants cannot exceed.
Why C is the answer
A Principal Access Boundary policy on the agent's identity
A Principal Access Boundary policy caps the resources a principal is eligible to access, regardless of other grants. It is checked on the agent's outbound calls.
Remember: Cap the reach with a Principal Access Boundary.
How it works
A Principal Access Boundary policy defines the resources a principal can access.
A broad role granted later still cannot reach outside that boundary.
Clues in the question
The words that point to the answer, and what each one tells you.
- hard limit
- A boundary, not a grant.
- even if someone later grants it a broad role
- Must override grants.
In detail
- IAM grants say what is allowed, and a boundary says what can ever be allowed.
- Use boundaries for high-risk agents in shared organizations.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A larger audit log retention periodWrong
Longer retention records mistakes but does not prevent them.
B. A Model Armor templateWrong
Model Armor screens content, not resource access.
C. A Principal Access Boundary policy on the agent's identityRight
Cap the reach with a Principal Access Boundary.
D. A stricter system instruction for the agentWrongMost tempting
Instructions do not enforce access.
Why it tempts: Instructions do not limit IAM access.
Use case
An illustrative scenario, not a real incident.
Illustrative: a support agent's boundary covers only the support project. A mistaken org-wide role still cannot reach finance data.
See it in different ways
mindmap
root(("Agent Identity"))
n1["Principal"]
n2["SPIFFE-based ID per agent"]
n3["Not shared, no long-lived keys"]
n4["Access"]
n5["IAM roles on the principal"]
n6["Principal Access Boundary caps reach"]
n7["Third-party auth"]
n8["Auth manager stores credentials"]
n9["3-legged OAuth for user data"]How to read this chart
- The centre is "Agent Identity".
- "Principal" covers "SPIFFE-based ID per agent", "Not shared, no long-lived keys".
- "Access" covers "IAM roles on the principal", "Principal Access Boundary caps reach".
- "Third-party auth" covers "Auth manager stores credentials", "3-legged OAuth for user data".
flowchart TD
Q{"What do you need?"}
Q -->|"Allow a specific action"| A0["IAM role"]
Q -->|"Cap everything it could reach"| A1["Principal Access Boundary"]How to read this chart
- At "What do you need?": if "Allow a specific action", go to "IAM role"; if "Cap everything it could reach", go to "Principal Access Boundary".