Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

Show all 10 Authentication & Secure Tool Execution practice questions and answers
  1. Why must agent-to-tool calls be authenticated?
    Tools access sensitive systems; only authorized agents should call them.
  2. What is OAuth 2.0?
    A standard for delegated authorization using access tokens.
  3. 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.
  4. What is Agent Identity auth manager?
    A centralized credential vault and broker that handles outbound tool authentication (API keys, OAuth tokens) for agents.
  5. How does an agent authenticate to the auth manager?
    With its own agent identity, governed by IAM.
  6. Why use an auth manager instead of embedding secrets?
    Credentials aren't stored in code or prompts and are centrally controlled.
  7. When use 3-legged OAuth?
    When the agent must access a user's own data in a SaaS app.
  8. What is secure tool execution?
    Validating inputs, enforcing permissions and limiting what tools can do.
  9. Why validate tool arguments in code?
    The model could produce wrong or injected arguments.
  10. Where should API keys be stored if needed?
    In a credential vault/Secret Manager, never in prompts.