AWS Certified Solutions Architect – Professional (SAP-C02) — Question 492

A company needs to move some on-premises Oracle databases to AWS. The company has chosen to keep some of the databases on premises for business compliance reasons.

The on-premises databases contain spatial data and run cron jobs for maintenance. The company needs to connect to the on-premises systems directly from AWS to query data as a foreign table.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Amazon RDS for PostgreSQL natively supports spatial data (via the PostGIS extension) and cron-like scheduling (via the pg_cron extension), which aligns perfectly with the requirements of the source Oracle databases. To query on-premises data as foreign tables securely and with low latency, AWS Direct Connect provides the necessary dedicated, private network connection. Other options either introduce unnecessary management overhead (EC2 in Option C), do not natively support the required database features (DynamoDB and SQL Server in Options A and B), or use insecure/unsuitable connection methods.