SAA-C03 Exam QuestionsBrowse all questions from this exam

SAA-C03 Exam - Question 86


A company has several web servers that need to frequently access a common Amazon RDS MySQL Multi-AZ DB instance. The company wants a secure method for the web servers to connect to the database while meeting a security requirement to rotate user credentials frequently.

Which solution meets these requirements?

Show Answer
Correct Answer: A

Storing the database user credentials in AWS Secrets Manager is the best option. Secrets Manager is specifically designed to securely manage and rotate credentials, which meets the requirement for frequently rotating user credentials. Additionally, it integrates with IAM to provide secure access to the stored credentials by the web servers.

Discussion

17 comments
Sign in to comment
123jhl0Option: A
Oct 17, 2022

Secrets Manager enables you to replace hardcoded credentials in your code, including passwords, with an API call to Secrets Manager to retrieve the secret programmatically. This helps ensure the secret can't be compromised by someone examining your code, because the secret no longer exists in the code. Also, you can configure Secrets Manager to automatically rotate the secret for you according to a specified schedule. This enables you to replace long-term secrets with short-term ones, significantly reducing the risk of compromise. https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html

cookieMrOption: A
Jun 21, 2023

B. SSM OpsCenter is primarily used for managing and resolving operational issues. It is not designed to securely store and manage credentials like AWS Secrets Manager. C. Storing credentials in an S3 bucket may provide some level of security, but it lacks the additional features and security controls offered by AWS Secrets Manager. D. While using KMS for encryption is a good practice, managing credentials directly on the web server file system can introduce complexities and potential security risks. It can be challenging to securely manage and rotate credentials across multiple web servers, especially when considering scalability and automation. In summary, option A is the recommended solution as it leverages AWS Secrets Manager, which is purpose-built for securely storing and managing secrets, and provides the necessary IAM permissions to allow the web servers to access the credentials securely.

BuruguduystunstugudunstuyOption: A
Dec 21, 2022

***CORRECT*** Option A. Store the database user credentials in AWS Secrets Manager. Grant the necessary IAM permissions to allow the web servers to access AWS Secrets Manager. Option A is correct because it meets the requirements specified in the question: a secure method for the web servers to connect to the database while meeting a security requirement to rotate user credentials frequently. AWS Secrets Manager is designed specifically to store and manage secrets like database credentials, and it provides an automated way to rotate secrets every time they are used, ensuring that the secrets are always fresh and secure. This makes it a good choice for storing and managing the database user credentials in a secure way.

Buruguduystunstugudunstuy
Dec 21, 2022

***WRONG*** Option B, storing the database user credentials in AWS Systems Manager OpsCenter, is not a good fit for this use case because OpsCenter is a tool for managing and monitoring systems, and it is not designed for storing and managing secrets. Option C, storing the database user credentials in a secure Amazon S3 bucket, is not a secure option because S3 buckets are not designed to store secrets. While it is possible to store secrets in S3, it is not recommended because S3 is not a secure secrets management service and does not provide the same level of security and automation as AWS Secrets Manager.

Buruguduystunstugudunstuy
Dec 21, 2022

Option D, storing the database user credentials in files encrypted with AWS Key Management Service (AWS KMS) on the web server file system, is not a secure option because it relies on the security of the web server file system, which may not be as secure as a dedicated secrets management service like AWS Secrets Manager. Additionally, this option does not meet the requirement to rotate user credentials frequently because it does not provide an automated way to rotate the credentials.

thensanity
Jan 4, 2023

literally screams for AWS secrets manager to rotate the credentails

kewlOption: A
Dec 3, 2022

Rotate credentials = Secrets Manager

BmarodiOption: A
May 21, 2023

Option A is ans.

Guru4CloudOption: A
Aug 11, 2023

The correct answer is A. Here is the explanation: AWS Secrets Manager is a service that helps you store, manage, and rotate secrets. Secrets Manager is a good choice for storing database user credentials because it is secure and scalable. IAM permissions can be used to grant web servers access to AWS Secrets Manager. This will allow the web servers to retrieve the database user credentials from Secrets Manager and use them to connect to the database. Rotation of user credentials can be automated using Secrets Manager. This will ensure that the database user credentials are rotated on a regular basis, meeting the security requirement.

awsgeek75Option: A
Jan 14, 2024

AWS Secrets Manager is best for storing credentials and supports auto rotation so A is the best choice

DuckydooOption: A
Jun 12, 2024

While I agree that A is the most feasible answer, I don't see how it satisfies the "a secure method for the web servers to connect to the database" requirement. ASM is about securely storing and rotating secrets, but has nothing to do with "secure connection" between the web servers and RDS. That would require something like IAM DB authentication, which is not even mentioned.

CanoSys
Jul 19, 2024

Yeah, It's a stupid question.

Wpcorgan
Nov 21, 2022

A is correct

career360guruOption: A
Dec 19, 2022

Option A

vhermanOption: A
Feb 19, 2023

A is correct

TariqKipkemeiOption: A
Aug 22, 2023

AWS Secrets Manager to the rescue....up up and awaaaay

Ruffyit
Oct 28, 2023

option A is the recommended solution as it leverages AWS Secrets Manager, which is purpose-built for securely storing and managing secrets, and provides the necessary IAM permissions to allow the web servers to access the credentials securely.

MrPCarrot
Nov 18, 2023

A = Rotation of user credentials can be automated using Secrets Manager.

Z0r
Apr 26, 2024

rotation = SM

jaradat02Option: A
Jul 21, 2024

A is the right answer, you should never store any of your credentials in files, even if they are encrypted. Also, secrets manager fulfills the credentials rotation condition.