AWS Certified Database – Specialty — Question 240

A database specialist needs to enable IAM authentication on an existing Amazon Aurora PostgreSQL DB cluster. The database specialist already has modified the DB cluster settings, has created IAM and database credentials, and has distributed the credentials to the appropriate users.

What should the database specialist do next to establish the credentials for the users to use to log in to the DB cluster?

Answer options

Correct answer: B

Explanation

The correct answer is B, as running the generate-db-auth-token command provides users with a temporary password necessary for accessing the DB cluster using IAM authentication. Option A is incorrect because IAM credentials do not belong in the Aurora parameter group. Option C is also incorrect since using the AWS Management Console does not directly provide users with login credentials. Option D is not the right approach because it involves using STS tokens, which is not necessary for this specific login process.