Complete the code to create an availability set with fault domains.
az vm availability-set create --name myAvailabilitySet --resource-group myResourceGroup --platform-fault-domain-count [1]The platform fault domain count defines how many fault domains the availability set will have. Azure recommends using 2 or 3 for redundancy. Here, 2 is the correct choice for basic redundancy.
Complete the code to specify the update domain count in the availability set.
az vm availability-set create --name myAvailabilitySet --resource-group myResourceGroup --platform-update-domain-count [1]The update domain count defines how many groups the VMs are divided into for updates. 3 is a common choice to balance update safety and resource usage.
Fix the error in the command to create an availability set with the correct fault domain count.
az vm availability-set create --name myAvailabilitySet --resource-group myResourceGroup --platform-fault-domain-count [1]The fault domain count must be a positive integer, typically 2 or 3. Zero or negative values are invalid, and 5 exceeds the supported limit.
Fill both blanks to create an availability set with 3 fault domains and 5 update domains.
az vm availability-set create --name myAvailabilitySet --resource-group myResourceGroup --platform-fault-domain-count [1] --platform-update-domain-count [2]
Setting fault domains to 3 and update domains to 5 provides good redundancy and update safety.
Fill all three blanks to create an availability set with 2 fault domains, 3 update domains, and a specific location.
az vm availability-set create --name myAvailabilitySet --resource-group myResourceGroup --platform-fault-domain-count [1] --platform-update-domain-count [2] --location [3]
This command creates an availability set with 2 fault domains, 3 update domains, and places it in the East US region.