AZ-500 Practice Test practice questions, page 5 of 21, with answer review and explanations.
Question 21
Your company has an Azure subscription that includes two virtual machines, named VirMac1 and VirMac2, which both have a status of Stopped (Deallocated). The virtual machines belong to different resource groups, named ResGroup1 and ResGroup2. You have also created two Azure policies that are both configured with the virtualMachines resource type. The policy configured for ResGroup1 has a policy definition of Not allowed resource types, while the policy configured for ResGroup2 has a policy definition of Allowed resource types. You then create a Read-only resource lock on VirMac1, as well as a Read-only resource lock on ResGroup2. Which of the following is TRUE with regards to the scenario? (Choose all that apply.)
You will be able to start VirMac1.
You will NOT be able to start VirMac1.
You will be able to create a virtual machine in ResGroup2.
You will NOT be able to create a virtual machine in ResGroup2.
Question 22
You have been tasked with delegate administrative access to your company's Azure key vault. You have to make sure that a specific user can set advanced access policies for the key vault. You also have to make sure that access is assigned based on the principle of least privilege. Which of the following options should you use to achieve your goal?
Azure Information Protection B. RBAC
Azure AD Privileged Identity Management (PIM)
Azure DevOps
Question 23
You have been tasked with delegate administrative access to your company's Azure key vault. You have to make sure that a specific user is able to add and delete certificates in the key vault. You also have to make sure that access is assigned based on the principle of least privilege. Which of the following options should you use to achieve your goal?
A key vault access policy
Azure policy
Azure AD Privileged Identity Management (PIM)
Azure DevOps
Question 24
You have an Azure virtual machine that runs Windows Server R2. You plan to deploy and configure an Azure Key vault, and enable Azure Disk Encryption for the virtual machine. Which of the following is TRUE with regards to Azure Disk Encryption for a Windows VM?
It is supported for basic tier VMs.
It is supported for standard tier VMs.
It is supported for VMs configured with software-based RAID systems.
It is supported for VMs configured with Storage Spaces Direct (S2D).
Question 25
You have an Azure virtual machine that runs Ubuntu 16.04-DAILY-LTS. You plan to deploy and configure an Azure Key vault, and enable Azure Disk Encryption for the virtual machine. Which of the following is TRUE with regards to Azure Disk Encryption for a Linux VM?
It is NOT supported for basic tier VMs.
It is NOT supported for standard tier VMs.
OS drive encryption for Linux virtual machine scale sets is supported.