200-901 · Question #196
How are load balancers used in modern application deployments?
The correct answer is B. Allow traffic to continue as new compute units are brought up and old compute units are taken. Load balancers enable modern application deployments to achieve high availability and zero-downtime updates by intelligently distributing incoming traffic across healthy compute units, allowing for seamless scaling and updates.
Question
How are load balancers used in modern application deployments?
Options
- ATurn off traffic and take down compute units, then update and bring the compute units back up.
- BAllow traffic to continue as new compute units are brought up and old compute units are taken
- CAllow http and https traffic to continue as old compute units are discontinued before new units are
- DBring up new compute units, test the compute units, and switch the traffic from old units to new
How the community answered
(48 responses)- A2% (1)
- B94% (45)
- D4% (2)
Why each option
Load balancers enable modern application deployments to achieve high availability and zero-downtime updates by intelligently distributing incoming traffic across healthy compute units, allowing for seamless scaling and updates.
Turning off traffic and taking down compute units for updates represents a downtime-prone deployment strategy, which load balancers are specifically designed to avoid.
Load balancers are crucial for enabling blue/green deployments or rolling updates. They continuously monitor the health of backend compute units and can route traffic away from failing or updating instances, directing it to new or healthy ones, ensuring continuous application availability without downtime during scaling or updates.
This option describes a scenario where old units are discontinued before new ones are fully available, which would cause downtime or service degradation, precisely what load balancers prevent.
While load balancers facilitate bringing up new units and switching traffic, option B better encompasses the continuous nature ("allow traffic to continue") and the full lifecycle of updating and replacing old units, which is the primary benefit of using a load balancer in such a scenario.
Concept tested: Load balancer benefits in deployment strategies
Source: https://learn.microsoft.com/en-us/azure/architecture/guide/design-principles/scale-out#load-balancing
Topics
Community Discussion
No community discussion yet for this question.