Exam-Answer

Home / Microsoft / AZ-100 / Question 45

Prev Question
Next Question

Question 45

You have an Azure resource group named RG1. RG1 contains a Linux virtual machine (VM) named VM1.

You need to automate the deployment of 20 additional Linux VMs. The new VMs should be based upon VM1's configuration.

Solution: From the resource group's Policies blade, you click Assign policy.

Does this solution meet the goal?

Answers


Advertisement

Explanation (click to expand)

This solution does not meet the goal. To automate the deployment of the 20 additional VMs, you should access the virtual machine's underlying JavaScript Object Notation (JSON) template and deploy the new resources by using the template and custom deployment parameters. By contrast, Azure Policy is a governance product that makes it easier for Azure administrators to constrain deployments to meet organizational requirements. For example, you could deploy an Azure policy that requires all resource deployments to occur within only company-authorized geographic locations.

References (click to expand)

Prev Question
Next Question

Load more