exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 50 discussion

A security engineer is checking an AWS CloudFormation template for vulnerabilities. The security engineer finds a parameter that has a default value that exposes an application's API key in plaintext. The parameter is referenced several times throughout the template. The security engineer must replace the parameter while maintaining the ability to reference the value in the template.
Which solution will meet these requirements in the MOST secure way?

  • A. Store the API key value as a SecureString parameter in AWS Systems Manager Parameter Store. In the template, replace all references to the value with {{resolve:ssm:MySSMParameterName:1}}.
  • B. Store the API key value in AWS Secrets Manager. In the template, replace all references to the value with {{resolve:secretsmanager:MySecretId:SecretString}}.
  • C. Store the API key value in Amazon DynamoDB. In the template, replace all references to the value with {{resolve:dynamodb:MyTableName:MyPrimaryKey}}.
  • D. Store the API key value in a new Amazon S3 bucket. In the template, replace all references to the value with {{resolve:s3:MyBucketName:MyObjectName}}.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
100fold
Highly Voted 1 year, 1 month ago
Selected Answer: B
Agree answer B. Not A. {{resolve:ssm:MySSMParameterName:1}} ssm: Systems Manager Parameter Store plaintext parameter. ssm-secure: Systems Manager Parameter Store secure string parameter. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
upvoted 9 times
...
FunkyFresco
Most Recent 3 months, 2 weeks ago
Selected Answer: B
Option B is the right choice.
upvoted 1 times
...
dexterryu
11 months, 3 weeks ago
This is a bit of a trick question. A is correct outside of the syntax in the ssm reference. Therefor B. Had it been resolve:ssm-secure:MySSMParam then A would be correct.
upvoted 3 times
Raphaello
10 months ago
Spot on. ssm: Systems Manager Parameter Store plaintext parameter. ssm-secure: Systems Manager Parameter Store secure string parameter. Option B is the right answer.
upvoted 1 times
...
...
Aamee
1 year ago
Selected Answer: B
MOST secure way..
upvoted 3 times
...
confusedyeti69
1 year ago
Selected Answer: B
Secure. B
upvoted 1 times
...
kk2000
1 year, 1 month ago
Answer: B using secrets manager.(More secure way) https://docs.aws.amazon.com/secretsmanager/latest/userguide/cfn-example_reference-secret.html
upvoted 4 times
AgboolaKun
1 year, 1 month ago
Agree. SSM can create secure API string as well but the emphasis here is on MOST secure. Therefore, Secret Manager is the answer.
upvoted 3 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 ...