AWS Certified Database – Specialty — Question 228

A company is migrating its 200 GB on-premises PostgreSQL database to Amazon Aurora PostgreSQL. The original database columns include NOT NULL and foreign key constraints. A database administrator needs to complete the migration while following best practices for database migrations.

Which option meets these requirements to migrate the database to AWS?

Answer options

Correct answer: A

Explanation

Option A is correct because using the AWS Schema Conversion Tool and AWS Database Migration Service allows for a seamless migration while ensuring that constraints like NOT NULL and foreign keys are preserved. Option B is not ideal as it does not follow best practices for database migrations. Option C, while functional, may not adequately handle constraints as well as the AWS tools. Option D is incorrect because creating a read replica is not a suitable approach for migrating an existing database while maintaining the required constraints.