Question 498:
Your company is planning to set up an application with the following architecture. A set of EC2 Instances will host a web application. The application will sit behind an Elastic Load balancer. The users will access the application from the internet via the Elastic Load balancer. The application will connect to a backend database server. A NAT Gateway is also implemented. Which of the following is the right architecture for the network, keeping high availability and security in mind?
Answer options:
A.2 public subnets for the Elastic Load balancer and NAT Gateway, 2 public subnets for the Web server EC2 Instances, 2 private subnets for the database server B.2 public subnets for the Elastic Load balancer and NAT Gateway, 2 private subnets for the Web server EC2 Instances, 2 private subnets for the database server C.2 public subnets for the Elastic Load balancer and NAT Gateway, 2 public subnets for the Web server EC2 Instances, 2 public subnets for the database server D.2 public subnets for the Elastic Load balancer and NAT Gateway, 2 private subnets for the Web server EC2 Instances, 2 public subnets for the database server