AWS Certified Database – Specialty — Question 308

A finance company migrated its 3 ׀¢׀’ on-premises PostgreSQL database to an Amazon Aurora PostgreSQL DB cluster. During a review after the migration, a database specialist discovers that the database is not encrypted at rest. The database must be encrypted at rest as soon as possible to meet security requirements. The database specialist must enable encryption for the DB cluster with minimal downtime.
Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Amazon Aurora does not support enabling encryption at rest on an existing unencrypted DB cluster directly, nor does it support creating an encrypted replica of an unencrypted cluster. To enable encryption, you must take a snapshot of the unencrypted DB cluster, restore that snapshot to a new DB cluster with encryption enabled, and point your applications to the new cluster endpoint. While using pg_dump and pg_restore is technically possible, it would result in significantly higher downtime compared to restoring a snapshot.