ANS-C01 Question 74
Single answerA company is designing a multi-tier application hosted in AWS. The application has a web tier, an application tier, and a database tier. The web tier must securely distribute traffic to the application tier within the VPC. Additionally, the application tier must not be exposed to the internet. Which load balancing solution should the company use for the application tier to meet these requirements?
- A
Use an internal Application Load Balancer (ALB) for the application tier.
- B
Use an external Application Load Balancer (ALB) for the application tier.
- C
Use a Network Load Balancer (NLB) with public IP addresses for the application tier.
- D
Use an external Classic Load Balancer for the application tier.
Show answer and explanation
Correct answer: A
Explanation
For this scenario, the application tier must remain private and only accessible within the VPC. An internal ALB is the most suitable load balancing option, as it is designed to route traffic within a VPC and is not exposed to the internet. Other options would either expose the application tier to the internet or not meet the use case requirements.
- A. Correct.
Correct. An internal Application Load Balancer (ALB) is designed to distribute traffic within a VPC and is not exposed to the internet. This ensures the application tier remains private.
- B. Incorrect.
Incorrect. An external Application Load Balancer (ALB) is exposed to the internet, which violates the requirement to keep the application tier private.
- C. Incorrect.
Incorrect. A Network Load Balancer (NLB) with public IP addresses would expose the application tier to the internet, contravening the requirement for privacy.
- D. Incorrect.
Incorrect. An external Classic Load Balancer is exposed to the internet and does not meet the requirement to keep the application tier private.