ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 249 - SCS-C02 discussion

Report
Export

A company needs to follow security best practices to deploy resources from an AWS CloudFormation template. The CloudFormation template must be able to configure sensitive database credentials.

The company already uses AWS Key Management Service (AWS KMS) and AWS Secrets Manager.

Which solution will meet the requirements?

A.
Use a dynamic reference in the CloudFormation template to reference the database credentials in Secrets Manager.
Answers
A.
Use a dynamic reference in the CloudFormation template to reference the database credentials in Secrets Manager.
B.
Use a parameter in the CloudFormation template to reference the database credentials. Encrypt the CloudFormation template by using AWS KMS.
Answers
B.
Use a parameter in the CloudFormation template to reference the database credentials. Encrypt the CloudFormation template by using AWS KMS.
C.
Use a SecureString parameter in the CloudFormation template to reference the database credentials in Secrets Manager.
Answers
C.
Use a SecureString parameter in the CloudFormation template to reference the database credentials in Secrets Manager.
D.
Use a SecureString parameter in the CloudFormation template to reference an encrypted value in AWS KMS
Answers
D.
Use a SecureString parameter in the CloudFormation template to reference an encrypted value in AWS KMS
Suggested answer: A

Explanation:

Option A: This option meets the requirements of following security best practices and configuring sensitive database credentials in the CloudFormation template.A dynamic reference is a way to specify external values that are stored and managed in other services, such as Secrets Manager, in the stack templates1.When using a dynamic reference, CloudFormation retrieves the value of the specified reference when necessary during stack and change set operations1.Dynamic references can be used for certain resources that support them, such as AWS::RDS::DBInstance1. By using a dynamic reference to reference the database credentials in Secrets Manager, the company can leverage the existing integration between these services and avoid hardcoding the secret information in the template.Secrets Manager is a service that helps you protect secrets needed to access your applications, services, and IT resources2.Secrets Manager enables you to rotate, manage, and retrieve database credentials, API keys, and other secrets throughout their lifecycle2.

asked 16/09/2024
Ajay Jaiswal
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first