D5: Authentication & Secure Tool Execution
Google Cloud Professional Agentic Architect exam practice questions · 10 flashcards
Question
Why must agent-to-tool calls be authenticated?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Authentication & Secure Tool Execution practice questions and answers
- Why must agent-to-tool calls be authenticated?Tools access sensitive systems; only authorized agents should call them.
- What is OAuth 2.0?A standard for delegated authorization using access tokens.
- 2-legged vs 3-legged OAuth?2-legged: agent uses its own client credentials. 3-legged: user consents and the agent acts on the user's behalf.
- What is Agent Identity auth manager?A centralized credential vault and broker that handles outbound tool authentication (API keys, OAuth tokens) for agents.
- How does an agent authenticate to the auth manager?With its own agent identity, governed by IAM.
- Why use an auth manager instead of embedding secrets?Credentials aren't stored in code or prompts and are centrally controlled.
- When use 3-legged OAuth?When the agent must access a user's own data in a SaaS app.
- What is secure tool execution?Validating inputs, enforcing permissions and limiting what tools can do.
- Why validate tool arguments in code?The model could produce wrong or injected arguments.
- Where should API keys be stored if needed?In a credential vault/Secret Manager, never in prompts.