CCDV-F practice question 9 of 10
Your Claude application's API keys are stored in a secrets manager. The team is debating whether the same key should be used in development, staging, and production environments. How would you handle the keys across environments?
Full set: 95 questionsSecurity best practices for API key management dictate using distinct keys for different environments (development, staging, production). This principle of isolation ensures that if a development or staging key is accidentally leaked or compromised—which is more likely due to looser controls in non-production environments—the production environment remains secure and unaffected. Furthermore, distinct keys allow for environment-specific rate limiting, accurate cost tracking, and granular access controls without impacting live production traffic.
B: Rotating the same key does not provide isolation; a compromise during the active window still affects all environments simultaneously. C: Using the same key across environments violates the principle of least privilege and creates a massive single point of failure. D: Using a development key in production introduces severe security risks and prevents proper production-level access controls and monitoring.
1. Anthropic API Fundamentals: "Security and API keys" (Section: Environment isolation and key management).
2. NIST Special Publication 800-57 Part 1 Rev. 5: "Recommendation for Key Management" (Section 5.3, Cryptographic Key Isolation).
Keep practicing
Take the free CCDV-F practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCDV-F practice questions
- Question 1Your Claude application is deployed to development, staging, and production environments.…
- Question 2You are building a Claude application that needs to deliver model output to end users as …
- Question 3A teammate has asked you to explain why your Claude agent's tools include detailed descri…
- Question 4The team is debating whether to build a new capability as a custom tool or to use an exis…
- Question 5Your application uses the Messages API to handle multi-turn conversations. Each new turn …
- Question 6A teammate has asked how to extend Claude Code with a custom Skill that the team can invo…
