exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 475 discussion

A company uses Amazon RDS for PostgreSQL databases for its data tier. The company must implement password rotation for the databases.
Which solution meets this requirement with the LEAST operational overhead?

  • A. Store the password in AWS Secrets Manager. Enable automatic rotation on the secret.
  • B. Store the password in AWS Systems Manager Parameter Store. Enable automatic rotation on the parameter.
  • C. Store the password in AWS Systems Manager Parameter Store. Write an AWS Lambda function that rotates the password.
  • D. Store the password in AWS Key Management Service (AWS KMS). Enable automatic rotation on the customer master key (CMK).
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
Hizumi
Highly Voted 3 years, 7 months ago
Agreed answer is (A), only service that rotates credentials automatically is secrets manager. https://aws.amazon.com/secrets-manager/ https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html (reference note)
upvoted 19 times
...
weilun_tann
Highly Voted 3 years, 4 months ago
Selected Answer: A
A - we need to store a DB password, with automatic rotation every few months A. Store the password in AWS Secrets Manager. Enable automatic rotation on the secret. - Correct. https://aws.amazon.com/secrets-manager/ B. Store the password in AWS Systems Manager Parameter Store. Enable automatic rotation on the parameter. - Wrong. Systems Manager is for monitoring and configuring resources (e.g. S3, EC2, RDS instances), not for storing sensitive credentials C. Store the password in AWS Systems Manager Parameter Store. Write an AWS Lambda function that rotates the password. - Wrong. Manual rotation is not ideal D. Store the password in AWS Key Management Service (AWS KMS). Enable automatic rotation on the customer master key (CMK). - KMS is for managing keys used for the encryption / decryption of data, NOT for storing authentication credentials
upvoted 14 times
zaxzax292
3 years, 1 month ago
for B, I would argue it is still ok to use Systems Manager Parameter Store store credentials. But the Parameter Store itself need to use Secrets Manager to implement password roration, and that's why we do not choose B. See the first 'Note' https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html
upvoted 3 times
...
...
queen101
Most Recent 2 years, 8 months ago
AAAAAAAAAAAA
upvoted 1 times
...
slcheng
2 years, 9 months ago
Selected Answer: A
Vote A
upvoted 1 times
...
naveenagurjara
2 years, 10 months ago
Selected Answer: A
Only Secrets Manager supports automatic rotation
upvoted 2 times
...
jennyka76
3 years, 3 months ago
A - correct answer view the AWS rotate password screenshot from AWS - shows the enable button https://aws.amazon.com/blogs/aws/aws-secrets-manager-store-distribute-and-rotate-credentials-securely/
upvoted 1 times
...
aprendiendo
3 years, 4 months ago
Rta es A. Secrets Manager las funciones claves son: Rotar secretos de forma segura, Proteja y gestione secretos de forma centralizada, Supervise y audite fácilmente, Pague por los secretos que almacena
upvoted 1 times
...
itchi_vo
3 years, 5 months ago
=> A Parameter store : no support rotate key AWS KMS: generates, encrypts, and decrypts data keys. However, AWS KMS does not store, manage, or track your data keys, or perform cryptographic operations with data keys. https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html
upvoted 2 times
...
tinyshare
3 years, 5 months ago
Answer A Database passwords are secrets, not keys. Parameter store does not support auto rotation
upvoted 1 times
...
gargaditya
3 years, 5 months ago
Answer-A Secrets Manager This question is testing Secrets Manager vs Parameter Store. A very short read:https://medium.com/awesome-cloud/aws-difference-between-secrets-manager-and-parameter-store-systems-manager-f02686604eae Secrets Manager: It was designed specifically for confidential information (like database credentials, API keys) that needs to be encrypted, so the creation of a secret entry has encryption enabled by default. It also gives additional functionality like rotation of keys. Systems Manager Parameter Store: It was designed to cater to a wider use case, not just secrets or passwords, but also application configuration variables like URLs, Custom settings, AMI IDs, License keys, etc. Secrets Manager offers rotation of keys inbuilt. It is integrated well with RDS. B is invalid-notinbuilt for Parameter Store C-adds more overhead compared to inbuilt feature in A D-KMS is altogether different concept.
upvoted 2 times
gargaditya
3 years, 5 months ago
KMS is a service that manages encryption keys('Customer Master keys',not Data keys). A 'data key' is used to encrypt the actual data data. CMK is basically used to protect the data key which is used for encrypting data. To decrypt the data,one calls the KMS service and uses the CMK to decrypt the 'data key'.Once we have the decrypted(plaintext) data key, we use the same to decrypt the actual data. When thinking KMS/CMK--- -think about Cx managed/Aws Managed Keys as options -think encryption at rest -think encrypting master key, not data key
upvoted 3 times
...
...
trihuynh
3 years, 6 months ago
Answer is A AWS Secrets Manager enables you to easily rotate, manage, and retrieve database credentials, API keys, and other secrets through their lifecycle
upvoted 5 times
...
vizzdoom
3 years, 6 months ago
A) secret manager
upvoted 4 times
...
Alfio
3 years, 6 months ago
New Question: A company is running a publicly accessible serverless application that uses Amazon API Gateway and AWS Lambda. The application's traffic recently spiked due to fraudulent requests from botnets. Which steps should a solutions architect take to block requests from unauthorized users? (Choose two.) a Create a usage plan with an API key that is shared with genuine users only. b Integrate logic within the Lambda function to ignore the requests from fraudulent IP addresses. c Implement an AWS WAF rule to target malicious requests and trigger actions to filter them out. d Convert the existing public API to a private API. Update the DNS records to redirect users to the new API endpoint. e Create an IAM role for each user attempting to access the API. A user will assume the role when making the API call.
upvoted 7 times
trihuynh
3 years, 6 months ago
A and C for sure
upvoted 2 times
...
humanwings
3 years, 6 months ago
I choose B & C
upvoted 2 times
...
Rajjay
3 years, 5 months ago
Answer: C, D A - Wrong - Key should never be shared B - You will never know which IPs to block. IPs can be masked E - IAM role for each user - means you need to know all the users
upvoted 4 times
...
GeniusMikeLiu
3 years, 6 months ago
i choose A&C
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