Google Cloud conceptsGoogle Cloud Professional Agentic ArchitectAgent security
Securing and governing agentic workflows: what's tested
What to know for the Professional Agentic Architect security domain: Model Armor, Agent Gateway, IAM agent policies and semantic governance rules.
3 min read
You have read the security pages twice, and the product names still blur. Start with one rule: Agent Gateway blocks every agent connection unless an explicit IAM policy grants access. Then a second: Model Armor screens what goes into the model and what comes out.
01 What does the exam test about securing and governing agentic workflows?
Picture three layers around every agent: Model Armor scanning prompts, Agent Identity with IAM, and plain-language rules for tool use.
Three layers this domain covers
- Content safetyModel Armor scans prompts and tool responses for injection and data leaks.
- Identity and accessAgent Identity names each agent; IAM decides what it may reach.
- Tool governanceSemantic governance applies plain-language rules to tool use.
Where this domain sits in the exam
The whole exam: 60 questions
- 1Building agents using low-code tools~13%about 8 questions
- 2Using coding agents for application development~17%about 10 questions
- 3Developing custom agents~33%about 20 questions
- 4Evaluating and deploying agentic workflows~22%about 13 questions
- 5Securing and governing agentic workflows~15%about 9 questions
Save the 'Where this domain sits in the exam' graphic as a PNG image PNG for LinkedIn or Pinterest
Agent Identity gives each agent a unique SPIFFE ID for authentication, access control and auditing.
02 How does Model Armor protect prompts and responses?
Begin in Inspect only mode, which logs violations to Cloud Logging without stopping the request. Switch to Inspect and block after studying those logs.
Know its blind spots. Model Armor does not decode Base64 or URL-encoded prompts. It checks each prompt as a single turn, with no conversation history.
Google recommends separate Model Armor templates for user prompts and model responses.
03 How do Agent Gateway and IAM agent policies control access?
Access starts closed. Agent Identity says who is calling, and Agent Registry lists approved destinations. IAM allow policies govern traffic to registered resources, enforced through Identity-Aware Proxy.
What Agent Gateway checks on an agent call
- Agent IdentityWho is calling?
- Agent RegistryIs the destination approved?
- IAM policyIs access granted?
Binding a policy to an unregistered resource fails at once with NOT_FOUND, because validation happens at bind time.
Google recommends configuring Agent Gateway in dry-run mode at first.
04 What does semantic governance add on top?
IAM decides where an agent may go. Semantic governance decides how it uses tools, with natural-language rules of up to 5,000 characters.
Expect a twist: with user intent matching on, the engine can deny a tool call that does not match the user's request.
Then test yourself. MockCert, an independent platform, offers free quiz questions with no account needed.
In DRY_RUN mode, semantic governance logs verdicts but never blocks actions.
Summary
- Agent Gateway blocks agent connections unless an IAM policy allows them.
- Run Model Armor in Inspect only first, then Inspect and block.
- Semantic governance applies plain-language rules to tool calls.
Sources
- Panoramica di Agent Gateway | Gemini Enterprise Agent Platform | Google Cloud Documentation (opens in a new tab)
- Model Armor overview | Google Cloud Documentation (opens in a new tab)
- Configure IAM agent policies | Gemini Enterprise Agent Platform | Google Cloud Documentation (opens in a new tab)
- Configura políticas de administración semántica | Gemini Enterprise Agent Platform | Google Cloud Documentation (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams