exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 701 discussion

A security engineer determined that an existing application retrieves credentials to an Amazon RDS for MySQL database from an encrypted file in Amazon S3. For the next version of the application, the security engineer wants to implement the following application design changes to improve security:
✑ The database must use strong, randomly generated passwords stored in a secure AWS managed service.
✑ The application resources must be deployed through AWS CloudFormation.
✑ The application must rotate credentials for the database every 90 days.
A solutions architect will generate a CloudFormation template to deploy the application.
Which resources specified in the CloudFormation template will meet the security engineer's requirements with the LEAST amount of operational overhead?

  • A. Generate the database password as a secret resource using AWS Secrets Manager. Create an AWS Lambda function resource to rotate the database password. Specify a Secrets Manager RotationSchedule resource to rotate the database password every 90 days.
  • B. Generate the database password as a SecureString parameter type using AWS Systems Manager Parameter Store. Create an AWS Lambda function resource to rotate the database password. Specify a Parameter Store RotationSchedule resource to rotate the database password every 90 days.
  • C. Generate the database password as a secret resource using AWS Secrets Manager. Create an AWS Lambda function resource to rotate the database password. Create an Amazon EventBridge scheduled rule resource to trigger the Lambda function password rotation every 90 days.
  • D. Generate the database password as a SecureString parameter type using AWS Systems Manager Parameter Store. Specify an AWS AppSync DataSource resource to automatically rotate the database password every 90 days.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
sek12324
Highly Voted 3 years, 2 months ago
A https://aws.amazon.com/blogs/security/how-to-securely-provide-database-credentials-to-lambda-functions-by-using-aws-secrets-manager/
upvoted 13 times
...
nitinz
Highly Voted 3 years, 2 months ago
Sure Answer is A, but I do not see the need of lambda to do the rotation when secret manager can do the rotation. can some one enlighten me?
upvoted 10 times
kalyan_krishna742020
3 years, 1 month ago
Nope. You need to choose a Lambda function in order to rotate the secret.
upvoted 5 times
...
...
Amac1979
Most Recent 1 year, 9 months ago
https://aws.amazon.com/blogs/security/rotate-amazon-rds-database-credentials-automatically-with-aws-secrets-manager/ Outdated question.. you don't need lambda to rotate RDS MySQL password
upvoted 2 times
...
BlueSpark
1 year, 11 months ago
I am agree with A
upvoted 1 times
...
hilft
2 years, 4 months ago
A. AWS secret manager with lambda.
upvoted 1 times
...
TechX
2 years, 5 months ago
Selected Answer: A
A 100%, AWS Secret Manager auto rotate, you don't need to trigger a lambda function
upvoted 1 times
...
tartarus23
2 years, 7 months ago
Selected Answer: A
A. as AWS secrets manager supports passport rotation through Lambda functions and rotation schedule. C. is not correct since there is no need to use Amazon EventBridge to meet the requirements https://aws.amazon.com/secrets-manager/
upvoted 2 times
...
shotty1
2 years, 10 months ago
Selected Answer: A
It is A
upvoted 1 times
...
weurseuk
2 years, 10 months ago
A : secret manager can rotate on console but here it's with cloudformation, and it's done with the lambda, see AWS::SecretsManager::RotationSchedule
upvoted 1 times
...
GeniusMikeLiu
2 years, 11 months ago
why we need lambda to rotate database password???
upvoted 2 times
...
cldy
2 years, 12 months ago
A. Generate the database password as a secret resource using AWS Secrets Manager. Create an AWS Lambda function resource to rotate the database password. Specify a Secrets Manager RotationSchedule resource to rotate the database password every 90 days.
upvoted 1 times
...
AzureDP900
2 years, 12 months ago
I will go with A
upvoted 1 times
...
andylogan
3 years ago
It's A
upvoted 1 times
...
mrphuongbn
3 years, 1 month ago
Both A & C are ok. But "with the LEAST amount of operational overhead" => A. https://aws.amazon.com/blogs/security/how-to-securely-provide-database-credentials-to-lambda-functions-by-using-aws-secrets-manager/
upvoted 1 times
...
tgv
3 years, 1 month ago
AAA ---
upvoted 1 times
...
WhyIronMan
3 years, 1 month ago
I'll go with A
upvoted 1 times
...
blackgamer
3 years, 1 month ago
The answer is A. it can configure AWS Secret Manager to rotate key automatically, not necessary to use EventBridge for that. https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html
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 ...