AWS Certified Developer Associate DVA-C02 Practice Question
An application being deployed requires configuration with access keys and database credentials. What is the BEST practice for handling these types of secrets for an application on a managed deployment platform?
Store encrypted secrets within an object storage service and allow the application to retrieve them at runtime
Embed encrypted access information in the codebase and use code to decode upon application start
Use a dedicated service for secret management that provides encrypted storage and fine-grained access control
Keep the secrets as custom attributes within the platform's user management service, accessible at runtime
The best practice for managing secrets is to use a dedicated secret management service which allows for secure storage, fine-grained access control, audit capability, and ease of rotating secrets without embedding them directly in the application's code or environment. AWS Systems Manager Parameter Store provides these features, allowing you to store data as encrypted parameters and giving you the ability to strictly manage access. Direct embedding of credentials in the code is insecure and makes management and rotation difficult. Using an object storage service can partially solve the problem but lacks the secret management functionalities. Custom attributes in a user management service deviate from the service’s intended use and do not deliver the rigorous management or auditing capabilities required for handling secrets securely.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a secret management service and how does it work?
Open an interactive chat with Bash
Why is it important to avoid embedding secrets in code?
Open an interactive chat with Bash
What features should I look for in a secret management service?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access