Contoso's subscription contains dozens of storage accounts created with the portal, PowerShell, and the Azure CLI. The security team requires that no new storage account can be created with a minimum TLS version below 1.2, and that an existing account whose minimum TLS version is below 1.2 can't receive any other configuration change until that setting is fixed. What should you do?
Show answer and explanation
Answer: C
Explanation
An Azure Policy with the Deny effect prevents requests that create a new storage account with a minimum TLS version older than the policy dictates. The same policy also prevents all configuration changes to an existing account whose minimum TLS version setting isn’t compliant, so it meets both requirements.[1]
MinimumTlsVersion is set on each account, so changing it fixes only the accounts that exist now and doesn’t apply to accounts created later. Accounts created with PowerShell, the Azure CLI, or an Azure Resource Manager template don’t set this property by default and accept requests sent with TLS 1.0 or later.[1] The Audit effect creates a warning for a noncompliant resource but doesn’t stop the request.[1] A diagnostic setting and a TlsVersion query show which TLS versions clients use; they don’t block account creation or configuration changes.[1]