You create an Azure Key Vault and want to restrict access to only your company's on-premises network using a firewall rule. Which configuration will correctly restrict access?
Think about which IP addresses are visible to Azure services when connecting from on-premises.
Azure Key Vault firewall rules require public IP addresses to restrict network access. Private IP addresses are not routable over the internet and cannot be used in firewall rules.
You have a Key Vault with multiple access policies. One policy grants a user read access to secrets. Another policy denies all permissions to the same user. What will happen when the user tries to read a secret?
Consider how Azure Key Vault combines multiple access policies.
Azure Key Vault access policies are cumulative. There is no deny policy type. If any policy grants permission, the user has that permission.
Which ARM template snippet correctly creates an Azure Key Vault with soft delete enabled and a 90-day retention period?
Soft delete must be enabled explicitly and retention days set.
Option C correctly enables soft delete and sets retention to 90 days. Option C enables purge protection but does not enable soft delete. Option C disables soft delete. Option C enables soft delete but does not set retention.
You want an Azure VM to access secrets in a Key Vault without storing credentials in the VM. Which setup achieves this securely?
Consider how Azure manages identities for resources securely.
System-assigned managed identities are tied to the VM lifecycle and allow secure access without credentials. User-assigned identities are possible but require extra management. SAS tokens are not used for Key Vault. Storing keys locally is insecure.
After enabling soft delete and purge protection on a Key Vault, what happens if a user deletes a secret and then attempts to permanently delete (purge) it before the retention period ends?
Think about how soft delete and purge protection work together to protect data.
With soft delete enabled, deleted secrets are recoverable for the retention period. Purge protection prevents permanent deletion (purging) until retention expires, protecting against accidental or malicious data loss.