SC-100 • Practice Test 39
Free SC-100 practice test — 15 questions with explanations. Set 39. No signup required.
Refer to the exhibit. A company applies this Azure Policy to their subscription. An administrator tries to create a VM with a public IP address. What will happen?
{
"properties": {
"displayName": "Deny public IP on NICs",
"policyType": "Custom",
"mode": "All",
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Network/networkInterfaces"
},
{
"field": "Microsoft.Network/networkInterfaces/ipConfigurations[*].publicIPAddress.id",
"exists": "true"
}
]
},
"then": {
"effect": "Deny"
}
}
}
}