Azure Infrastructure Fundamentals – Important Interview Questions and Answers
1. Azure Regions and Availability Zones
Q1. What is an Azure Region?
An Azure Region is a geographical area containing one or more Microsoft data centers. It allows applications to be deployed closer to users.
Key Points: Low latency, data residency, compliance, regional pricing.
Q2. What is an Availability Zone in Azure?
An Availability Zone is a physically separate group of data centers within an Azure Region. Each zone has independent power, cooling, and networking infrastructure.
Key Points: High availability, fault tolerance, zone-level failure protection.
Q3. What is the difference between Azure Region and Availability Zone?
|
Azure Region |
Availability Zone |
|---|---|
|
Geographical location |
Isolated location within a region |
|
Contains data centers |
Contains one or more data centers |
|
Supports regional deployment |
Protects against zone failures |
|
Example: East US |
Example: Zone 1, Zone 2 |
Q4. What happens if an Availability Zone fails?
If an application is properly deployed across multiple zones, healthy instances in other zones can continue serving requests.
Key Points: Zone redundancy, load balancing, failover configuration.
Q5. What factors should you consider when selecting an Azure Region?
Consider proximity to users, data residency, service availability, pricing, compliance requirements, and disaster recovery needs.
Key Points: Performance, cost, availability, compliance.
2. Azure Region Pairs
Q6. What is an Azure Region Pair?
An Azure Region Pair is a designated relationship between two Azure regions, generally within the same geography, that supports certain platform recovery and geo-redundancy strategies.
Key Points: Disaster recovery, geographic redundancy, service-dependent replication.
Q7. What is the difference between Availability Zones and Region Pairs?
Availability Zones protect against failures within a region. Region Pairs can support recovery planning for failures affecting an entire region.
Key Points: Zone-level resilience vs. regional disaster recovery.
Q8. Does Azure automatically replicate resources between paired regions?
No. Region pairing does not automatically replicate all resources. Replication and failover must be configured according to the Azure service.
Key Points: Service-specific replication, backup, failover.
3. Azure Resource Hierarchy
Q9. Explain the Azure Resource Hierarchy.
Azure resources are organized using Management Groups, Subscriptions, Resource Groups, and individual Resources.
Management Group
|
v
Subscription
|
v
Resource Group
|
v
Resources
(VM, SQL, App)
Key Points: Centralized governance, billing, access control, resource organization.
Q10. What is an Azure Resource?
An Azure Resource is an individual service or manageable object created in Azure, such as a Virtual Machine, SQL Database, Storage Account, or App Service.
Key Points: Deployable service, resource provider, resource group.
4. Azure Resource Groups
Q11. What is a Resource Group in Azure?
A Resource Group is a logical container that organizes related Azure resources. It simplifies deployment, monitoring, access control, and lifecycle management.
Key Points: Logical grouping, RBAC, lifecycle management.
Q12. Can a Resource Group contain resources from different regions?
Yes. A Resource Group can contain resources deployed in multiple Azure regions. The Resource Group's own location stores its metadata.
Key Points: Multi-region resources, separate metadata location.
Q13. Can an Azure Resource belong to multiple Resource Groups?
No. An individual Azure Resource belongs to only one Resource Group at a time, although supported resources can be moved between groups.
Key Points: Single Resource Group membership.
Q14. What happens when you delete a Resource Group?
Deleting a Resource Group deletes the resources contained within it. Applicable resource locks or permissions may prevent the deletion.
Key Points: Cascading deletion, resource locks, production safety.
Q15. Can we move resources between Resource Groups?
Yes, many Azure resources support movement between Resource Groups or subscriptions. However, movement restrictions and dependencies vary by resource type.
Key Points: Resource move support, validation, dependencies.
5. Azure Subscriptions and Management Groups
Q16. What is an Azure Subscription?
An Azure Subscription is a logical boundary for billing, resource management, access control, and service quotas.
Key Points: Billing boundary, quotas, RBAC, resource management.
Q17. What is an Azure Management Group?
A Management Group organizes multiple Azure subscriptions under a common governance hierarchy. It enables centralized policy and access management.
Key Points: Multi-subscription governance, Azure Policy, RBAC.
Q18. What is the difference between a Subscription and a Management Group?
|
Subscription |
Management Group |
|---|---|
|
Billing and resource boundary |
Governance hierarchy |
|
Contains Resource Groups |
Contains subscriptions or nested Management Groups |
|
Manages quotas and resources |
Applies governance across subscriptions |
Q19. Can an organization have multiple Azure Subscriptions?
Yes. Organizations commonly maintain separate subscriptions for Development, Testing, and Production environments.
Key Points: Environment isolation, billing separation, governance.
6. Azure Resource Manager (ARM)
Q20. What is Azure Resource Manager?
Azure Resource Manager (ARM) is Azure's deployment and management service. It provides a consistent management layer for creating, updating, and deleting resources.
Key Points: Deployment, RBAC, Policy, resource management.
Q21. How does Azure Resource Manager work?
ARM processes management requests from Azure Portal, CLI, PowerShell, and APIs, validates authorization and applicable policies, and routes requests to resource providers.
Azure Portal / CLI
|
v
Azure Resource Manager
|
+-- Authentication
+-- RBAC
+-- Azure Policy
|
v
Resource Provider
|
v
Azure Resource
Q22. What is an ARM Template?
An ARM Template is a JSON-based Infrastructure as Code (IaC) definition used to deploy Azure resources consistently and repeatably.
Key Points: Declarative deployment, JSON, automation.
Q23. What is the difference between ARM Templates and Bicep?
ARM Templates use JSON syntax, while Bicep provides a simpler, more readable declarative language. Bicep compiles into ARM deployment templates.
Key Points: Infrastructure as Code, readability, repeatability.
Q24. What is Azure RBAC?
Azure Role-Based Access Control (RBAC) controls who can access Azure resources and what operations they can perform.
Key Points: Security principal, role definition, scope, least privilege.
Q25. What is the difference between Azure RBAC and Azure Policy?
Azure RBAC controls who can perform actions, while Azure Policy controls which resource configurations are permitted or compliant.
Key Points: RBAC = permissions; Policy = governance rules.
7. Azure Naming Conventions and Tags
Q26. What are Azure Tags?
Azure Tags are key-value pairs used to categorize resources, identify ownership, and track costs.
Key Points: Cost allocation, resource organization, automation.
Q27. Do Azure Tags automatically inherit from Resource Groups?
No. Tags assigned to Resource Groups do not automatically apply to their resources. Azure Policy can enforce or add required tags.
Key Points: Tag inheritance, Azure Policy.
Q28. Why are naming conventions important in Azure?
Naming conventions provide consistent resource identification and make administration easier across environments and projects.
Key Points: Standardization, readability, resource identification.
8. Azure Resource Locks
Q29. What are Azure Resource Locks?
Resource Locks protect Azure resources from accidental deletion or management-plane modifications.
Key Points: Resource protection, operational safety.
Q30. What is the difference between CanNotDelete and ReadOnly locks?
|
CanNotDelete |
ReadOnly |
|---|---|
|
Prevents deletion |
Prevents management-plane changes and deletion |
|
Allows modifications |
Blocks modifications through the management plane |
|
Suitable for production resources |
Suitable for resources requiring strict protection |
Q31. Can an Azure Owner delete a locked resource?
No. Even a user with Owner permissions must first remove the applicable lock before performing a blocked operation.
Key Points: Locks override permitted management operations until removed.
Q32. Do Resource Locks inherit from Resource Groups?
Yes. A lock applied to a Resource Group also applies to resources within that group.
Key Points: Scope inheritance, resource protection.
9. Azure Cloud Shell
Q33. What is Azure Cloud Shell?
Azure Cloud Shell is a browser-based terminal that provides Azure CLI and Azure PowerShell for managing Azure resources.
Key Points: Browser-based, no local installation, scripting.
Q34. What is the difference between Azure CLI and Azure PowerShell?
Azure CLI uses az commands and is suitable for cross-platform scripting. Azure PowerShell uses PowerShell cmdlets such as Get-AzResourceGroup.
Key Points: Both support Azure automation and resource management.
Q35. How do you list Resource Groups using Azure CLI?
az group list --output table
This command displays Resource Groups available within the selected subscription.
10. Azure Pricing and Cost Management
Q36. What is the Azure Pricing Calculator?
The Azure Pricing Calculator estimates the expected cost of Azure services based on configurations such as region, size, storage, and usage.
Key Points: Cost estimation, budget planning.
Q37. What is the Azure TCO Calculator?
The Total Cost of Ownership (TCO) Calculator compares the estimated cost of on-premises infrastructure with running equivalent workloads in Azure.
Key Points: Cloud migration, cost comparison.
Q38. What is the difference between the Pricing Calculator and TCO Calculator?
|
Pricing Calculator |
TCO Calculator |
|---|---|
|
Estimates Azure costs |
Compares on-premises and Azure costs |
|
Used for resource planning |
Used for migration planning |
Q39. What are common Azure pricing options?
Azure supports Pay-As-You-Go, Reservations, Spot VMs, and Azure Hybrid Benefit for eligible workloads.
Key Points: Consumption pricing, committed-use discounts, licensing benefits.
11. Azure Service Level Agreements (SLAs)
Q40. What is an Azure SLA?
A Service Level Agreement (SLA) defines Microsoft's contractual availability or performance commitment for an Azure service.
Key Points: Uptime percentage, service commitment, service credits.
Q41. What does 99.9% SLA mean?
A 99.9% availability commitment corresponds to approximately 8.76 hours of downtime per year, assuming a full 365-day year.
Key Points: Higher SLA percentage means less permitted downtime.
Q42. What is a Composite SLA?
A Composite SLA estimates the combined availability of an application depending on multiple services.
For independent services that must all be available:
App Service SLA = 99.9%
SQL Database = 99.9%
Composite SLA:
0.999 × 0.999 = 99.8001%
Key Points: Multiple dependencies can reduce overall application availability.
Q43. How can you improve application availability in Azure?
Deploy across Availability Zones, configure redundancy, use load balancing, and implement disaster recovery.
Key Points: High availability, redundancy, fault tolerance.
12. Azure Advisor
Q44. What is Azure Advisor?
Azure Advisor analyzes Azure resources and provides recommendations to improve cost, security, reliability, performance, and operational excellence.
Key Points: Optimization, best practices, recommendations.
Q45. What are the five Azure Advisor recommendation categories?
-
Cost
-
Security
-
Reliability
-
Performance
-
Operational Excellence
Q46. Does Azure Advisor automatically fix identified issues?
Generally, no. Azure Advisor provides recommendations, and administrators decide which actions to implement.
Key Points: Recommendations, manual review, optimization.
13. Azure Service Health and Monitoring
Q47. What is Azure Service Health?
Azure Service Health provides personalized information about Azure service incidents, planned maintenance, and health advisories relevant to your services and regions.
Key Points: Service incidents, maintenance, notifications.
Q48. What is the difference between Azure Status, Service Health, and Resource Health?
|
Service |
Purpose |
|---|---|
|
Azure Status |
Public information about Azure outages |
|
Service Health |
Subscription-relevant incidents and maintenance |
|
Resource Health |
Availability of individual Azure resources |
Q49. How do you check whether an Azure VM is affected by a platform issue?
Use Azure Resource Health to check the VM's availability status. Also check Service Health for incidents affecting its region.
Key Points: Troubleshooting, platform incidents, resource availability.
Q50. Can Azure Service Health send notifications?
Yes. You can configure Service Health alerts using Azure Monitor and Action Groups to notify administrators about relevant incidents.
Key Points: Alerts, Action Groups, email notifications.
14. Azure Marketplace and Dashboards
Q51. What is Azure Marketplace?
Azure Marketplace is a catalog of Microsoft and third-party applications, virtual machine images, and services available for deployment in Azure.
Key Points: Preconfigured solutions, VM images, third-party applications.
Q52. What is an Azure Portal Dashboard?
An Azure Portal Dashboard is a customizable interface for displaying Azure resources, monitoring information, and operational metrics.
Key Points: Centralized visualization, monitoring, resource overview.
15. Important Scenario-Based Interview Questions
Q53. Your production Azure SQL Database must not be accidentally deleted. What would you do?
Apply a CanNotDelete resource lock to the database. This prevents accidental deletion through Azure management operations.
Key Points: Resource locks, production protection.
Q54. Your company has 10 Azure subscriptions. How would you apply common governance rules?
Organize the subscriptions under Management Groups and apply Azure Policy and RBAC at the appropriate management group scope.
Key Points: Centralized governance, policy inheritance.
Q55. Your application must remain available if one data center fails. What would you recommend?
Deploy application instances across multiple Availability Zones and configure appropriate load balancing and redundancy.
Key Points: Zone redundancy, high availability.
Q56. Your company wants to estimate cloud migration costs. Which Azure tool would you recommend?
Use the Azure TCO Calculator to compare on-premises infrastructure costs against Azure. Use the Pricing Calculator for detailed Azure service estimates.
Key Points: Migration planning, cost estimation.
Q57. Your Azure bill is unexpectedly high. Which service would you use?
Use Azure Cost Management to analyze spending and identify cost drivers. Azure Advisor can provide additional cost optimization recommendations.
Key Points: Cost analysis, budgeting, optimization.
Q58. Your production VM becomes unavailable. How would you investigate?
Check Resource Health for VM availability, Service Health for Azure incidents, and Azure Monitor for metrics and alerts.
Key Points: Troubleshooting, monitoring, incident investigation.
Q59. How would you deploy identical Azure infrastructure across Development, UAT, and Production?
Use Bicep or ARM Templates with environment-specific parameters. Integrate deployments into CI/CD pipelines for consistency.
Key Points: Infrastructure as Code, automation, repeatability.
Q60. Your organization wants to ensure that resources are deployed only in approved Azure regions. How would you enforce this?
Create an Azure Policy using the allowed locations policy definition and assign it to the appropriate scope.
Key Points: Azure Policy, location restrictions, governance.
Final Quick Revision – Top 15 Must-Know Questions