Home › Forums › Azure › AZ-104 Microsoft Azure Administrator › AZ-104 Timed Mode 1 Question 20 › Reply To: AZ-104 Timed Mode 1 Question 20
-
Hello Josh,
Thank you for your feedback. Let me clarify why the correct answer is Yes for VM4 and No for both VM5 and VM6.
In the scenario, 12 vCPUs are already in use, with 4 vCPUs from VM1 (running) and 8 vCPUs from VM2 (stopped but deallocated). Azure includes both allocated and deallocated VMs when calculating the vCPU quota usage. This means VM2’s deallocated state still counts toward your quota, leaving 3 vCPUs available out of the 15 vCPU quota in the region.
-
VM4 requires 2 vCPUs. After creating VM4, the total vCPU usage will be 14 vCPUs (4 from VM1 + 8 from VM2 + 2 from VM4). Since this is within the available quota of 15 vCPUs, VM4 can be created successfully.
-
VM5 also requires 2 vCPUs. However, after creating VM4, the total vCPU usage will be 14 vCPUs, leaving only 1 vCPU available. Since VM5 requires 2 vCPUs, there is not enough quota to create it in this region, so VM5 cannot be created.
-
VM6 requires 8 vCPUs, which exceeds the remaining quota of 1 vCPU. Therefore, it cannot be created in this region, making the answer No for VM6.
Thus, the correct answer is Yes, No, No.
You can refer to the official documentation for more information on how Azure calculates quotas.
If you have further questions, please don’t hesitate to contact us.
Regards,
Nikee @ Tutorials Dojo
-