ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 81 - DBS-C01 discussion

Report
Export

A company is developing a multi-tier web application hosted on AWS using Amazon Aurora as the database. The application needs to be deployed to production and other non-production environments. A Database Specialist needs to specify different MasterUsername and MasterUserPassword properties in the AWS CloudFormation templates used for automated deployment. The CloudFormation templates are version controlled in the company’s code repository.

The company also needs to meet compliance requirement by routinely rotating its database master password for production.

What is most secure solution to store the master password?

A.
Store the master password in a parameter file in each environment. Reference the environment specific parameter file in the CloudFormation template.
Answers
A.
Store the master password in a parameter file in each environment. Reference the environment specific parameter file in the CloudFormation template.
B.
Encrypt the master password using an AWS KMS key. Store the encrypted master password in the CloudFormation template.
Answers
B.
Encrypt the master password using an AWS KMS key. Store the encrypted master password in the CloudFormation template.
C.
Use the secretsmanager dynamic reference to retrieve the master password stored in AWS Secrets Manager and enable automatic rotation.
Answers
C.
Use the secretsmanager dynamic reference to retrieve the master password stored in AWS Secrets Manager and enable automatic rotation.
D.
Use the ssm dynamic reference to retrieve the master password stored in the AWS Systems Manager Parameter Store and enable automatic rotation.
Answers
D.
Use the ssm dynamic reference to retrieve the master password stored in the AWS Systems Manager Parameter Store and enable automatic rotation.
Suggested answer: C

Explanation:

"By using the secure string support in CloudFormation with dynamic references you can better maintain your infrastructure as code. You’ll be able to avoid hard coding passwords into your templates and you can keep these runtime configuration parameters separated from your code.

Moreover, when properly used, secure strings will help keep your development and production code as similar as possible, while continuing to make your infrastructure code suitable for continuous deployment pipelines." https:// aws.amazon.com/blogs/mt/using-aws-systems-manager-parameterstore- secure-string-parameters-in-aws-cloudformation-templates/

https://aws.amazon.com/blogs/security/how-to-use-aws-secrets-manager-rotate-credentialsamazon-rds-database-types-oracle/

asked 16/09/2024
doaa elshazly
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first