exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 103 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 103
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A devops team uses AWS CloudFormation to build their infrastructure. The security team is concerned about sensitive parameters, such as passwords, being exposed.

Which combination of steps will enhance the security of AWS CloudFormation? (Choose three.)

  • A. Create a secure string with AWS KMS and choose a KMS encryption key. Reference the ARN of the secure string, and give AWS CloudFormation permission to the KMS key for decryption.
  • B. Create secrets using the AWS Secrets Manager AWS::SecretsManager::Secret resource type. Reference the secret resource return attributes in resources that need a password, such as an Amazon RDS database.
  • C. Store sensitive static data as secure strings in the AWS Systems Manager Parameter Store. Use dynamic references in the resources that need access to the data.
  • D. Store sensitive static data in the AWS Systems Manager Parameter Store as strings. Reference the stored value using types of Systems Manager parameters.
  • E. Use AWS KMS to encrypt the CloudFormation template.
  • F. Use the CloudFormation NoEcho parameter property to mask the parameter value.
Show Suggested Answer Hide Answer
Suggested Answer: BCF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bgc1
2 years, 2 months ago
Selected Answer: BCF
Combination of BCF will secure both secrets and sensitive data
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: BCE
Between C and D: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
upvoted 1 times
Piccaso
2 years, 2 months ago
And this link: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types
upvoted 1 times
Piccaso
2 years, 2 months ago
Sorry, BCF is my choice. Since we have used C, NoEcho would be sufficient. It's weird to encrypt the whole template. The first "Important" window under the NoEcho hits the point. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html
upvoted 1 times
...
...
...
DerekKey
2 years, 2 months ago
Selected Answer: BCF
A - wrong - I even don't understand what the author wanted to do D - wrong - Rather than embedding sensitive information directly in your CloudFormation templates, we recommend you use dynamic parameters in the stack template to reference sensitive information that is stored and managed outside of CloudFormation, such as in the AWS Systems Manager Parameter Store or AWS Secrets Manager. E - wrong - having dynamic parameters we don't need encryption
upvoted 3 times
...
Piccaso
2 years, 2 months ago
Selected Answer: BCE
F: NoEcho is not sufficient
upvoted 1 times
...
Bulti
2 years, 3 months ago
Selected Answer: BCF
The main thing to understand here is either Secrets Manager or SSM parameter store should be used to encrypt sensitive information. Usually for passwords or cert keys use Secrets Manager so that you can rotate the password or cert key periodically and for all other static sensitive data that doesn't need to change periodically use SSM parameter store.
upvoted 2 times
...
saggy4
2 years, 4 months ago
Selected Answer: BCF
BCF -- Correct D is wrong as it is simple string and C is secure string
upvoted 1 times
...
USalo
2 years, 5 months ago
Selected Answer: BCF
BCF. Why somebody picks "D" instead of "C" ? C = secure strings, D = simple strings. "C" should be correct
upvoted 3 times
...
nsvijay04b1
2 years, 5 months ago
Selected Answer: BCF
Between C & D, Prefer C due to security concerns, C allows dynamic reference which doesn't store/sow password. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
upvoted 3 times
...
quixo
2 years, 5 months ago
I'll go with B, C, F A) is not the use case D) insecure, you can still see the sensitive value E) encrypting the template do not prevent the echo and it is not effective
upvoted 2 times
...
SmileyCloud
2 years, 5 months ago
Selected Answer: BDF
BDF makes most sense. KMS is not used for storing secrets. It's either Secrets Manager or Systems Manager.
upvoted 2 times
...
Maygam
2 years, 5 months ago
Selected Answer: BDF
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago