Azure Security, Identity, and Governance Interview Questions and Answers

Security and governance are central to Microsoft Azure cloud engineering interviews. Here are the most important Azure Security, Entra ID, and Governance interview questions with concise, accurate answers.

1. What is the difference between Microsoft Entra ID (Azure AD) Roles and Azure RBAC Roles?

Answer: Microsoft Entra ID Roles manage identity and directory-level resources such as users, groups, enterprise apps, and domains. Azure RBAC Roles control access to Azure cloud resources (such as VMs, Storage Accounts, and Key Vaults) at management group, subscription, resource group, or resource scopes.

2. How do Managed Identities eliminate hardcoded credentials in Azure?

Answer: A Managed Identity gives an Azure service (such as an App Service, Function, or VM) an automatically managed identity in Microsoft Entra ID. The application requests short-lived OAuth tokens from the local IMDS endpoint to authenticate to Key Vault, Azure SQL, or Storage without storing secrets in code or config files.

3. When should you use Network Security Groups (NSGs) vs. Azure Firewall?

Answer: Use NSGs for stateful Layer 3/4 IP, port, and protocol filtering at the subnet or NIC level. Use Azure Firewall as a centralized, managed Layer 7 stateful firewall offering FQDN filtering, threat intelligence, TLS inspection, and IDPS across hub-and-spoke VNets.

4. How does Azure Policy differ from Azure RBAC?

Answer: Azure RBAC controls who can perform actions on resources. Azure Policy enforces organizational compliance on what resources can be deployed and how they are configured—for example, denying public IP creation or requiring specific tags across a subscription.

5. What are the core security features of Azure Key Vault?

Answer: Azure Key Vault centralizes management of secrets, encryption keys (backed by FIPS 140-2/140-3 HSMs), and TLS/SSL certificates, with RBAC access control, soft delete, purge protection, Private Link support, and full audit logging.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top