SC-100 • Practice Test 10
Free SC-100 practice test — 10 questions with explanations. Set 10. No signup required.
Refer to the exhibit. You are reviewing an Azure Policy definition that will be assigned to a subscription containing production virtual machines. The policy is intended to enforce security best practices for disk encryption. What is the effect of this policy?
Refer to the exhibit.
{
"properties": {
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualMachines"
},
{
"field": "Microsoft.Compute/virtualMachines/storageProfile.osDisk.managedDisk.storageAccountType",
"in": [
"Standard_LRS",
"StandardSSD_LRS"
]
}
]
},
"then": {
"effect": "deny"
}
}
}
}