Medium1 markMultiple Choice

AWS SAP-C02 · Question 50 · Domain 3.2: Security Improvement

A company wants to improve data security for their Amazon RDS instances. They need to ensure that database credentials are never hardcoded in applications and that access to the database is authenticated using IAM roles. Which TWO steps are required? (Select TWO)

Answer options:

A.

Enable IAM database authentication on the RDS instance.

B.

Store the database password in AWS Systems Manager Parameter Store.

C.

Attach an IAM policy to the RDS instance allowing it to assume roles.

D.

Use AWS KMS to encrypt the database connection.

E.

Attach an IAM policy to the application's execution role granting the rds-db:connect action.

F.

Configure AWS Secrets Manager to rotate the IAM role credentials.

How to approach this question

Identify the steps to configure IAM DB Authentication.

Full Answer

A, E
To use IAM database authentication, you must enable the feature on the RDS instance. Then, you attach an IAM policy to the application's role granting the 'rds-db:connect' action, allowing it to generate a temporary auth token.

Common mistakes

Thinking Secrets Manager is needed when IAM authentication is used.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

75 questions · hints · full answers · grading

More questions from this exam