Question

Difficulty: MediumCreate and Configure Virtual Machines

You plan to deploy two Azure virtual machines named VM1 and VM2 to host a two-tier application. The deployment must meet the following requirements:
- Protect the virtual machines against localized hardware failures, such as power or network outages, within a single datacenter.
- Keep the virtual machines in close physical proximity to maintain the lowest possible network latency between the tiers.
- Minimize costs associated with inter-zone data transfer.

Which availability option should you configure when creating the virtual machines?

  1. A
    Availability Zones
  2. Availability SetAnswer
  3. C
    Virtual Machine Scale Set with autoscale rules
  4. D
    Azure App Service plan in the Premium tier

Answer

An Availability Set should be configured when creating the virtual machines.
An Availability Set ensures that the virtual machines are distributed across multiple fault domains (racks with shared power and network) and update domains within the same datacenter. This meets the requirement of localized hardware failure protection while keeping the virtual machines physically close to minimize latency and eliminate inter-zone data transfer costs.

Step-by-Step Solution

1
Analyze the high availability requirement.
The application requires protection against localized hardware failures (power/network) inside a single datacenter.
This rules out single-instance virtual machine configurations with no availability options configured.
2
Evaluate the latency and cost constraints.
The virtual machines must remain in close physical proximity to maintain low latency and avoid inter-zone data transfer costs.
This rules out Availability Zones, which distribute virtual machines across different physical datacenters within a region.
3
Select the appropriate availability feature.
An Availability Set distributes the virtual machines across multiple fault and update domains within a single datacenter, satisfying all constraints.
This provides localized hardware fault tolerance without crossing datacenter boundaries or incurring extra zone transit costs.

Key Concept

Azure Virtual Machine Availability Options
Estimated Time:2m 0s
Rate this question