AZ-800 · Question #265
AZ-800 Question #265: Real Exam Question with Answer & Explanation
The correct answer is A: -AvailabilitySetName. {"question_number": 10, "correct_answer": "A", "explanation": "The correct parameter for specifying an availability set when using the New-AzVM cmdlet is '-AvailabilitySetName'. This parameter accepts the name of an existing availability set and places the new VM into that set at
Question
You decide to create a Virtual Machine using New-AzVM cmdlet. Which of the following parameters would you use to specify the name of the availability set where it should be created?
Options
- A-AvailabilitySetName
- B-AvailabilitySetVMName
- C-AvailableVirtualMachine
- D-AvailabilityVirtualSetName
- E-AvailabilityVirtualName
Explanation
{"question_number": 10, "correct_answer": "A", "explanation": "The correct parameter for specifying an availability set when using the New-AzVM cmdlet is '-AvailabilitySetName'. This parameter accepts the name of an existing availability set and places the new VM into that set at creation time. The other options are fabricated and do not exist as valid Azure PowerShell parameters: '-AvailabilitySetVMName', '-AvailableVirtualMachine', '-AvailabilityVirtualSetName', and '-AvailabilityVirtualName' are all incorrect. When using New-AzVM with availability sets, the availability set must already exist in the same resource group and region as the VM being created.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.