AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 81

An organization is migrating its on-premises applications to AWS by using a lift-and-shift approach, taking advantage of managed AWS services wherever possible. The company must be able to edit the application code during the migration phase. One application is a traditional three-tier application, consisting of a web presentation tier, an application tier, and a database tier. The external calling client applications need their sessions to remain sticky to both the web and application nodes that they initially connect to.
Which load balancing solution would allow the web and application tiers to scale horizontally independent from one another other?

Answer options

Correct answer: B

Explanation

Option B is correct because using an Application Load Balancer at both tiers allows for independent scaling while also maintaining session stickiness at the target group level. Option A mixes load balancer types, which complicates the architecture unnecessarily. Option C does not provide the required scalability between the web and application layers since both are hosted together. Option D introduces a Network Load Balancer, which is not optimal for the application layer's requirements.