CCAR-P: Claude Certified Architect - Professional

CCAR-P: Claude Certified Architect - Professional practice questions, page 7 of 7, with answer review and explanations.

Question 31

A security audit uncovers two issues: (1) all end users share a single API key, and (2) tool calls are executed without logging the initiating user. Which two mitigations directly address these specific findings? (Choose two.)

  1. Replace the shared API key with per-user OAuth tokens carrying scope-restricted permissions.
  2. Validate structured outputs against a schema before downstream actions are executed.
  3. Move credentials out of the prompt context and resolve them from a server-side secret store.
  4. Enforce RBAC at the retrieval layer before content enters the model context.
  5. Add actor attribution to tool-call logs so each call records the initiating user identity.

Question 32

You are configuring Claude Code for a team that needs every engineer to share the same MCP server set, permission rules, and project context across the engineering monorepo. Which configuration scope best supports this requirement?

  1. user scope configured individually on each engineer’s machine, with no shared configuration committed to the repository and no guarantee of consistency across the team
  2. user scope with the MCP server definitions and permission rules placed in each engineer’s ~/.claude/settings.json and synchronized manually via a shared setup script outside version control
  3. local scope configured only on the lead architect’s machine, with no configuration present on other engineers’ machines and no mechanism to distribute MCP servers or permission rules
  4. project scope, with the configuration committed to the repository so every engineer working in the project picks up the same MCP servers, permissions, and context