AWS Certified Database – Specialty — Question 311

A software company uses an Amazon RDS for MySQL Multi-AZ DB instance as a data store for its critical applications. During an application upgrade process, a database specialist runs a custom SQL script that accidentally removes some of the default permissions of the master user.
What is the MOST operationally efficient way to restore the default permissions of the master user?

Answer options

Correct answer: A

Explanation

In Amazon RDS, modifying the database instance to set a new password for the master user automatically restores any lost default privileges for that account. This built-in recovery mechanism is the most operationally efficient way to resolve the issue without needing to recreate users or modify IAM policies. Other options, such as using AWS Secrets Manager or modifying IAM roles, will not restore the database-level permissions of the master user.