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?
Open an interactive chat with Bash
What are IAM permissions and why are they important in this context?
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...
IT & Cybersecurity Package Join Premium for Full Access