CV0-002 · Question #275
A technician is configuring a new web application to be highly available. The technician has configured multiple web servers in different availability zones at a public cloud provider. The…
The correct answer is C. Global load balancer. To ensure users are consistently directed to the same server for a highly available web application across different availability zones, a global load balancer is configured with session persistence (sticky sessions).
Question
A technician is configuring a new web application to be highly available. The technician has configured multiple web servers in different availability zones at a public cloud provider. The application requires users to be directed to the same server each time they visit. Which of the following network components is MOST likely to accomplish this?
Options
- ANetwork firewall
- BIntrusion prevention system
- CGlobal load balancer
- DVirtual private network
How the community answered
(29 responses)- A21% (6)
- B7% (2)
- C69% (20)
- D3% (1)
Why each option
To ensure users are consistently directed to the same server for a highly available web application across different availability zones, a global load balancer is configured with session persistence (sticky sessions).
A network firewall primarily filters network traffic based on security rules (e.g., ports, protocols, IP addresses) and does not manage session persistence or direct users to specific application servers.
An intrusion prevention system (IPS) monitors network traffic for malicious activity and takes action to block threats, but it does not perform traffic distribution or manage session affinity for web applications.
A global load balancer is designed to distribute incoming user traffic across multiple web servers, even those deployed in different availability zones, while providing high availability. Importantly, it can be configured with session persistence (also known as sticky sessions) to ensure that a user's subsequent requests during an active session are consistently directed to the same backend server, which is crucial for applications that maintain state on the server side.
A virtual private network (VPN) establishes a secure, encrypted tunnel over a public network, primarily for secure remote access or site-to-site connectivity, and does not inherently provide application-level session persistence or direct users to specific web servers within a highly available pool.
Concept tested: Load balancing with session persistence (sticky sessions)
Source: https://learn.microsoft.com/en-us/azure/architecture/guide/design-principles/session-affinity
Topics
Community Discussion
No community discussion yet for this question.