AWS Certified Solutions Architect – Associate (SAA-C02) — Question 239

A company has created a multi-tier application for its ecommerce website. The website uses an Application Load Balancer that resides in the public subnets, a web tier in the public subnets, and a MySQL cluster hosted on Amazon EC2 instances in the private subnets. The MySQL database needs to retrieve product catalog and pricing information that is hosted on the internet by a third-party provider. A solutions architect must devise a strategy that maximizes security without increasing operational overhead.
What should the solutions architect do to meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because deploying a NAT gateway allows the MySQL database instances in the private subnets to securely access the internet for retrieving data without exposing them directly to it. Option A is not ideal as NAT instances can be more complex to manage and may not provide the same level of resilience as a NAT gateway. Options C and D are incorrect as they would expose the private subnets directly to the internet, which violates the security requirements.