Flashcardsfor IT Certifications

D7: Secrets, API Keys & Identity Management

Claude Certified Developer – Foundations exam practice questions · 10 flashcards

Question
Where should API keys be stored?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Secrets, API Keys & Identity Management practice questions and answers
  1. Where should API keys be stored?
    In environment variables or a secrets manager, never in code or repos.
  2. Why never call the Claude API directly from a browser or mobile app?
    The API key would be exposed; route calls through your backend.
  3. Why use separate keys per environment?
    Limits blast radius and allows independent rotation and monitoring.
  4. What is key rotation?
    Periodically replacing keys, and immediately if exposed.
  5. What should you do if a key leaks?
    Revoke it immediately, issue a new one, and review usage logs.
  6. How do you prevent Claude Code from reading secrets?
    Deny permission rules for .env and secret files.
  7. What is access approval?
    Requiring an authorized person to approve granting access or high-risk actions.
  8. What is access level verification?
    Confirming the identity has the right role/permission before allowing an action.
  9. Why monitor authorized access?
    To detect misuse, anomalies or compromised credentials even when access is technically allowed.
  10. Why use short-lived credentials for tools where possible?
    They expire quickly, limiting damage if stolen.