AWS Certified Developer Associate DVA-C02 Practice Question
An application requires secure storage of sensitive configuration data. The developer has chosen to use AWS Systems Manager Parameter Store and must write code to retrieve an encrypted parameter. Assuming the AWS SDK for Python (Boto3) is used and proper IAM permissions are set, which code snippet correctly retrieves an encrypted parameter named '/app/config/database-password' with decryption?
The correct answer utilizes the 'get_parameter' method from the SSM client, requesting decryption by setting 'WithDecryption' to true. It is important to request decryption since the parameter is stored encrypted due to its sensitive nature. The supplied name must match the parameter's name exactly. Incorrect answers may involve misnamed or non-existent methods, incorrect parameters, or fail to request parameter decryption for sensitive data.
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 AWS Systems Manager Parameter Store?
Open an interactive chat with Bash
What does the 'WithDecryption' parameter do in get_parameter?
Open an interactive chat with Bash
What are the IAM permissions required to use get_parameter with WithDecryption?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
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 .