AWS Certified Developer Associate DVA-C02 Practice Question
When preparing a microservice for deployment that requires multiple sensitive configurations, which approach would ensure the secure and environment-agnostic management of these settings?
Embed the configurations into the application code within the container image
Declare sensitive environment variables within the build specification file of the container
Dynamically inject the configurations using a secrets management service at container startup
Fetch the configurations from the host's instance metadata service upon container initialization
Using a secrets management service to dynamically inject configurations at runtime ensures that the microservice remains environment-agnostic and that sensitive information is not stored within the container image. This approach promotes security and flexibility in configuration management, essential for maintaining best practices in cloud application deployments. Hard-coding settings violates security best practices and reduces flexibility. Instance metadata is meant for obtaining information about the host, not for storing sensitive configuration data. Defining sensitive information as environment variables within the image build process exposes them in the image layers, which is not secure.
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 secrets management service in AWS?
Open an interactive chat with Bash
Why is embedding sensitive configurations in container images considered insecure?
Open an interactive chat with Bash
How does dynamic configuration injection promote environment-agnostic design?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .