Krypton Labs is planning to deploy a new application in the East US 2 region. The application architecture consists of a web tier with two virtual machines (VM-Web1 and VM-Web2) and a database tier with two virtual machines (VM-Db1 and VM-Db2).
The deployment must satisfy the following requirements:
- The web tier must be protected against datacenter-wide outages.
- The database tier VMs must be located in the same physical datacenter to maintain minimal network latency.
- Traffic must be distributed across the web tier VMs.
Which of the following configurations should you select to meet these requirements?
- ADeploy VM-Web1 and VM-Web2 across different Availability Zones and associate them with a Basic Load Balancer. Deploy VM-Db1 and VM-Db2 within an Availability Set.
- Deploy VM-Web1 and VM-Web2 across different Availability Zones and associate them with a Standard Load Balancer. Deploy VM-Db1 and VM-Db2 within an Availability Set.Answer
- CDeploy VM-Web1 and VM-Web2 within an Availability Set and associate them with a Standard Load Balancer. Deploy VM-Db1 and VM-Db2 across different Availability Zones.
- DDeploy VM-Web1, VM-Web2, VM-Db1, and VM-Db2 within a single Availability Set and associate all virtual machines with a Standard Load Balancer.
Answer
Deploy the web tier virtual machines (VM-Web1 and VM-Web2) across different Availability Zones using a Standard Load Balancer, and deploy the database tier virtual machines (VM-Db1 and VM-Db2) within an Availability Set.
Deploying the web tier virtual machines across different Availability Zones protects them from datacenter-wide outages because Availability Zones are physically separate datacenters within an Azure region. Since the web tier virtual machines span different Availability Zones, a Standard Load Balancer must be used, as the Basic SKU does not support zone-spanning configurations. Placing the database tier virtual machines within a single Availability Set keeps them within the same physical datacenter to minimize network latency while protecting them against hardware failures through fault and update domains.
Step-by-Step Solution
Key Concept
Configuring VMs for high availability involves choosing between Availability Zones for zone-level resilience and Availability Sets for rack-level resilience within a single datacenter, along with matching supporting resources like the Standard Load Balancer SKU.
Estimated Time:2m 0s