Hard1 markMultiple Choice
Domain 1.1: Network ConnectivityMigrationNLBRDSNetworking

AWS SAP-C02 · Question 17 · Domain 1.1: Network Connectivity

An enterprise is migrating a legacy monolithic application to AWS. The application hardcodes IP addresses for its database connections. The database is being migrated to Amazon RDS. The enterprise cannot change the application code immediately, but needs to complete the migration. How can the Solutions Architect route the hardcoded IP traffic to the new RDS instance?

Answer options:

A.

Assign the hardcoded IP address as a secondary private IP on the RDS instance's Elastic Network Interface (ENI).

B.

Create a Network Load Balancer (NLB) with the hardcoded IP address. Set the RDS instance as the target.

C.

Use Amazon Route 53 to create a private hosted zone and map the hardcoded IP to the RDS endpoint.

D.

Deploy a NAT Gateway and configure port forwarding to the RDS instance.

How to approach this question

Look for a service that allows assigning a static private IP and forwarding traffic to AWS services.

Full Answer

B.Create a Network Load Balancer (NLB) with the hardcoded IP address. Set the RDS instance as the target.✓ Correct
Use AWS PrivateLink and a Network Load Balancer with the hardcoded IP assigned as an Elastic IP.
A Network Load Balancer (NLB) allows you to specify a static private IP address for each subnet. By assigning the legacy hardcoded IP to the NLB, traffic can be transparently forwarded to the RDS instance.

Common mistakes

Thinking Route 53 can intercept IP-based routing.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 4

75 questions · hints · full answers · grading

More questions from this exam