Security wants one place to see all agent traffic and block calls to tools that are not approved. What fits?
- Exam domain
- Securing and governing agentic workflows~15% of the exam
- Difficulty
- Medium
- 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 Agent Gateway to monitor traffic and track agents.
A gateway is the single control point for agent traffic.
Why A is the answer
Agent Gateway, enforcing registry and IAM policy
Agent Gateway sits at the ingress and egress points for agent traffic. It checks Agent Registry and IAM policies, and by default blocks connections without an explicit grant.
Remember: Enforce agent traffic at Agent Gateway.
How it works
Agent Gateway sits on agent traffic and denies calls unless IAM policy allows them.
It checks the registry and records logs and traces.
Clues in the question
The words that point to the answer, and what each one tells you.
- one place to see all agent traffic
- A gateway.
- block calls to tools that are not approved
- Policy enforcement.
In detail
- It can inspect MCP calls down to the tool name.
- It exports logs and traces for auditing.
- Use ingress mode for clients reaching agents, and egress mode for agents reaching tools.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Agent Gateway, enforcing registry and IAM policyRight
Enforce agent traffic at Agent Gateway.
B. A rule in each agent's instructionsWrongMost tempting
Instructions can be ignored or overridden by injection.
Why it tempts: Instructions can be ignored or overridden.
C. Firewall rules that allow all outbound trafficWrong
Allowing all traffic is the opposite of the goal.
D. A spreadsheet of approved tools that is reviewed monthlyWrong
A spreadsheet enforces nothing.
Use case
An illustrative scenario, not a real incident.
Illustrative: an agent tries to call an unregistered MCP server it read about in a document. The gateway blocks the call and logs it.
See it in different ways
sequenceDiagram participant P0 as Agent participant P1 as Agent Gateway participant P2 as Agent Registry participant P3 as Tool P0->>P1: call tool P1->>P2: is the tool registered P2-->>P1: yes, and IAM allows it P1->>P3: forward after Model Armor check P3-->>P1: response P1-->>P0: screened response
How to read this chart
- 1. Agent sends "call tool" to Agent Gateway.
- 2. Agent Gateway sends "is the tool registered" to Agent Registry.
- 3. Agent Gateway gets a reply from Agent Registry: "yes, and IAM allows it".
- 4. Agent Gateway sends "forward after Model Armor check" to Tool.
- 5. Agent Gateway gets a reply from Tool: "response".
- 6. Agent gets a reply from Agent Gateway: "screened response".
flowchart TD
Q{"Which direction is the traffic?"}
Q -->|"Client to agent"| A0["Ingress"]
Q -->|"Agent to tool or agent"| A1["Egress"]How to read this chart
- At "Which direction is the traffic?": if "Client to agent", go to "Ingress"; if "Agent to tool or agent", go to "Egress".