Hard1 markMultiple Choice

AWS SAP-C02 · Question 62 · Domain 4.2: New Architecture Design

An enterprise is migrating a legacy application that uses a hardcoded IP address for its database connection. The database is being migrated to Amazon RDS. How can the architect ensure the application can connect to the new RDS instance without changing the application code?

Answer options:

A.

Assign an Elastic IP address directly to the Amazon RDS instance.

B.

Set up a Network Load Balancer (NLB) with a static IP address. Configure the NLB to route traffic to the RDS instance.

C.

Use Amazon Route 53 to create an A record pointing to the RDS endpoint.

D.

Use AWS Global Accelerator to provide a static IP for the RDS instance.

How to approach this question

Find a way to provide a static IP for RDS.

Full Answer

B.Set up a Network Load Balancer (NLB) with a static IP address. Configure the NLB to route traffic to the RDS instance.✓ Correct
Amazon RDS does not support static IP addresses. To provide a static IP for a legacy application, you can place a Network Load Balancer (NLB) in front of the RDS instance. The NLB provides a static IP per subnet.

Common mistakes

Thinking you can assign an EIP to RDS.

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

75 questions · hints · full answers · grading

More questions from this exam