Question 33:
You are tasked to enforce network traffic restrictions to allow traffic from the private network that you have set up in Azure, an On-Prem subnet or a specific public internet IP range. To achieve this objective, you plan to use Azure built-in policies.
Review the code snippet given below and select answer choices to complete this code, based on the scenario given above. (select two options)
<pre> "policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.CognitiveServices/accounts"
},
{
"field": "..............................................................................",
"notEquals": "............................................................................."
}
]
},
"then": {
"effect": "[parameters(`effect`)]"
}
}
</pre>
Answer options:
A.Microsoft.CognitiveServices/accounts/publicNetworkAccess B.Disabled C.Microsoft.CognitiveServices/accounts/privateEndpointConnections[*] D.Microsoft.CognitiveServices/accounts/networkAcls.defaultAction E.Deny