Microsoft
AZ-120 · Question #156
AZ-120 Question #156: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-120 to reveal the answer and full explanation for question #156. The question stem and answer options stay visible for context.
Question
You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs SAP HANA and a user named User1. User1 is assigned the Virtual Machine Contributor role for VM1. You need to prevent User1 from placing VM1 in the Stopped (deallocated) state. User1 must be able to restart the operating system on VM1. What should you do?
Options
- AAssign an Azure Policy definition to the resource group that contains VM1.
- BCreate a resource lock on VM1.
- CConfigure the Desired State Configuration (DSC) extension on VM1.
- DAssign User1 the Virtual Machine User Login rote for VM1.
Unlock AZ-120 to see the answer
You've previewed enough free AZ-120 questions. Unlock AZ-120 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.