nerdexam
CompTIA

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).

Cloud architecture

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)
  • A
    21% (6)
  • B
    7% (2)
  • C
    69% (20)
  • D
    3% (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).

ANetwork firewall

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.

BIntrusion prevention system

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.

CGlobal load balancerCorrect

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.

DVirtual private network

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

#high availability#session stickiness#VPN#cloud networking

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice