3.2 Authentication & Authorization Gaps
Claude Certified Architect – Professional (CCAR-P) exam practice questions · 10 flashcards
Question
Authentication vs authorization?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 3.2 Authentication & Authorization Gaps practice questions and answers
- Authentication vs authorization?Authentication verifies identity; authorization controls what that identity can do.
- What's a common agent authorization gap?Tools running with a shared service account broader than the end user's permissions.
- How should tools enforce user permissions?Pass the user's identity and check permissions in tool code.
- Why not rely on the model to enforce access?Prompts can be bypassed; access control must be in code.
- What is the confused deputy problem?An agent with high privileges is tricked into acting for a user who lacks those privileges.
- How should remote MCP servers authenticate?Standard authorization like OAuth with scoped tokens.
- Why use short-lived, scoped credentials?Limit damage if leaked.
- Where should API keys live?In a secrets manager or backend environment, never client-side.
- How do you audit authorization?Log who did what through which tool, and review regularly.
- What's a gap in multi-tenant RAG?Retrieval returning documents from other tenants; filter by permissions at query time.