Azure Complete Reference Guide

PART 1: COMPUTE SERVICES


1.1 Azure Virtual Machines (VMs)

Overview

Azure VMs provide on-demand, scalable compute resources. You choose the OS (Windows/Linux), size, and configuration. You manage everything above the hypervisor; Azure manages the physical hardware.

VM Families

Family Use Case Examples
B-series Burstable, low-cost dev/test B1s, B2s, B2ms
D-series General purpose, balanced CPU/memory D2s_v5, D4s_v5
E-series Memory-optimized E2s_v5, E4s_v5
F-series Compute-optimized (high CPU) F2s_v2, F4s_v2
N-series GPU-enabled (AI/ML, rendering) NC6s_v3, ND40rs_v2
H-series High-performance computing (HPC) HB120rs_v2
Ls-series Storage-optimized (NoSQL, data warehousing) L8s_v3
M-series Memory-intensive (SAP HANA, large DBs) M128s, M416ms_v2
NP-series FPGA workloads NP10s

VM Sizing Naming Convention

Format: [Family][vCPUs][Sub-family][Feature][Version]

Example: D4s_v5 = D-family, 4 vCPUs, s=Premium SSD support, v5=5th generation

Storage Options for VMs

Availability

Key Concepts

Interview Q&A

Q: When would you use Availability Set vs Availability Zone? A: Availability Sets protect within a single datacenter (FD/UD). Availability Zones spread across physical datacenters in a region. Zones give higher SLA (99.99% vs 99.95%) but cost more and not all regions support them. Use Zones for mission-critical workloads.

Q: How do you optimize VM costs? A: Reserved Instances for predictable workloads, Spot VMs for fault-tolerant workloads, right-sizing via Azure Advisor, auto-shutdown for dev/test, use B-series for burstable workloads.


1.2 Azure App Service

Overview

Fully managed PaaS for building and hosting web apps, mobile backends, REST APIs, and containerized workloads. Zero infrastructure management — focus on code.

App Service Types

Type Purpose
Web App Web applications (.NET, Node.js, Python, Java, PHP, Ruby)
Web App for Containers Run custom Linux containers
API App REST API hosting with Swagger support
Mobile App Mobile backend with offline sync, auth

App Service Plans (Tiers)

Tier Use Case Key Feature
Free (F1) Dev/test 60 min/day, shared infrastructure
Shared (D1) Dev/test Custom domain, no SSL
Basic (B1-B3) Small production Dedicated compute, SSL, auto-scale
Standard (S1-S3) Production Auto-scale, traffic manager, slots
Premium (P1v3-P3v3) High-scale production VNet integration, more memory
Isolated (I1-I3) Enterprise/compliance App Service Environment (ASE), max isolation
Isolated v2 (I1v2-I6v2) Largest workloads ASE v3, more cores

Key Features

App Service Environment (ASE)

Interview Q&A

Q: What’s the difference between Scale Up and Scale Out? A: Scale Up = increase compute resources (e.g., S1 → S3, more CPU/RAM). Scale Out = add more instances (e.g., 2 → 5 instances). Scale Up has downtime; Scale Out doesn’t.

Q: When to use App Service vs AKS? A: App Service for simple web apps/APIs with standard frameworks — faster to deploy, less management. AKS when you need microservices architecture, container orchestration, custom networking, or workloads that don’t fit App Service constraints.

Q: How do deployment slots work? A: Create a staging slot, deploy new version there, test it, then swap with production. Swap is near-instant. You can also route % traffic (canary). Rollback by swapping back.


1.3 Azure Kubernetes Service (AKS)

Overview

Managed Kubernetes. Azure manages the control plane (free). You manage the agent nodes (pay for VMs).

Key Features

Networking Models

Model How It Works When to Use
Kubenet Pods get internal IPs, use NAT for outbound Simple workloads, IP-constrained VNets
Azure CNI Each pod gets a VNet IP Enterprise, pod IP visibility needed
Azure CNI Overlay Pods get overlay IPs, nodes get VNet IPs Scale without IP exhaustion
Cilium eBPF-based networking + network policy Advanced networking, better performance

Interview Q&A

Q: How does AKS cluster autoscaler work? A: When pods can’t be scheduled, the autoscaler adds nodes. When nodes are underutilized, it removes them. Configured per node pool with min/max counts.

Q: How do you secure secrets in AKS? A: Use Azure Key Vault with Secret Store CSI Driver — secrets mounted as volumes, not stored in etcd. Use Workload Identity for pod-to-Azure-service auth.


1.4 Azure Functions

Overview

Serverless compute. Write code that runs on events. Pay only for execution time.

Hosting Plans

Plan Scaling Duration Limit Cold Start Use Case
Consumption Automatic 10 min (default 5) Yes Event-driven, unpredictable load
Premium Automatic (pre-warmed) Unlimited Minimal No cold start, VNet, long runs
App Service (Dedicated) Manual/Auto-scale Unlimited No Full control, existing plan
Flex Consumption Automatic, per-function 60 min Low Fast scaling, per-function config

Triggers & Bindings

Durable Functions

Stateful orchestration patterns: - Function Chaining — Sequential steps - Fan-out/Fan-in — Parallel execution then aggregate - Async HTTP API — Long-running operations with polling - Monitor — Recurring checks - Human Interaction — Wait for external approval

Interview Q&A

Q: When to use Functions vs Logic Apps? A: Functions = code-first, complex logic, performance-sensitive. Logic Apps = designer-first, no-code, integration with 200+ connectors.


1.5 Azure Container Apps

Overview

Serverless container platform built on K8s + Envoy + KEDA. No cluster management.

Key Features

Container Apps vs AKS vs App Service

Feature Container Apps AKS App Service
Management Fully serverless Manage nodes Fully managed
K8s features Subset Full K8s None
Scaling KEDA (scale to zero) Cluster autoscaler + KEDA Auto-scale (min 1)
Best for Microservices, event-driven Complex K8s workloads Web apps, APIs

1.6 Azure Container Instances (ACI)

Overview

Fastest way to run a container. No VMs, no orchestration.

Key Features

Use Cases


1.7 Azure Static Web Apps

Overview

Full-stack static app hosting + serverless APIs. Built-in CI/CD from GitHub/Azure DevOps.


1.8 Azure Spring Apps

Overview

Managed Spring Boot microservice platform.

PART 2: NETWORKING SERVICES


2.1 Azure Virtual Network (VNet)

Overview

Your private network in Azure. Fundamental building block — all IaaS/PaaS resources connect here.

Key Concepts

VNet Peering

Interview Q&A

Q: Is VNet peering transitive? A: No. Hub-spoke uses hub VNet peered with each spoke. Spokes don’t communicate directly. Use Azure Firewall/NVA in hub for spoke-to-spoke.

Q: Service Endpoint vs Private Endpoint? A: Service Endpoint = VNet identity extends to service, service still has public endpoint. Private Endpoint = private IP in VNet, no public endpoint. Private Endpoint preferred for zero-trust.


2.2 Azure Load Balancer

Overview

L4 (TCP/UDP) load balancer. High-performance, low-latency.

SKUs

Feature Basic Standard
Backend pool Availability Set only Any VM, IP, cross-VNet
HA Ports No Yes (internal LB)
Availability Zones No Zone-redundant/zonal
SLA None 99.99%

Types

Key Concepts

Interview Q&A

Q: Load Balancer vs Application Gateway? A: LB = L4, any protocol, max performance. App Gateway = L7 (HTTP/HTTPS), WAF, SSL termination, URL routing. Use LB for non-HTTP; App Gateway for web apps.


2.3 Azure Application Gateway

Overview

L7 (HTTP/HTTPS) load balancer with WAF.

Key Features

SKUs

SKU Scaling WAF Zone Redundancy
Standard v1 Manual No No
WAF v1 Manual Yes No
Standard v2 Auto No Yes
WAF v2 Auto Yes Yes

Interview Q&A

Q: App Gateway vs Front Door? A: App Gateway = regional L7 LB. Front Door = global L7 LB with anycast. Use App Gateway for regional; Front Door for global/multi-region. Many use Front Door → App Gateway (global + regional WAF).

Q: App Gateway to App Service? A: Yes, but set “Pick host name from backend target” in HTTP settings.


2.4 Azure Front Door

Overview

Global L7 load balancer and CDN. Anycast-based routing across regions.

Key Features

Front Door vs Traffic Manager

Feature Front Door Traffic Manager
Layer L7 (HTTP/HTTPS) DNS-based
Failover speed Seconds Minutes (DNS TTL)
Caching/WAF/SSL Yes No

2.5 Azure VPN Gateway

Overview

Encrypted traffic between VNet and on-prem over public internet.

Types

Connection Types

Key Concepts

Interview Q&A

Q: VPN Gateway vs ExpressRoute? A: VPN = internet, encrypted, up to 10 Gbps, quick setup, cheap. ExpressRoute = private, up to 100 Gbps, consistent latency, expensive, weeks to provision.


2.6 Azure ExpressRoute

Overview

Private, dedicated connection to Azure. Not over public internet.

Peering Types

Key Features

Interview Q&A

Q: How to achieve ExpressRoute redundancy? A: Each circuit has 2 connections. For full redundancy, use 2 circuits at different peering locations. VPN Gateway can serve as failover.


2.7 Azure Firewall

Overview

Cloud-native, managed, stateful firewall. L3-L7 filtering.

SKUs

Feature Standard Premium
Network/Application rules Yes Yes
DNAT Yes Yes
TLS Inspection No Yes
IDPS No Yes
URL filtering / Web categories No Yes

Key Features

Deployment


2.8 Azure DNS

Overview

DNS hosting. 100% SLA. Ultra-fast resolution.


Overview

Access PaaS services over private IP in your VNet. Zero public internet exposure.

Private Endpoint

Interview Q&A

Q: Private Endpoint vs Service Endpoint? A: Service Endpoint = traffic on Azure backbone but service has public endpoint. Private Endpoint = private IP, no public endpoint. Private Endpoint is zero-trust choice.


2.10 Network Security Groups (NSGs)

Overview

L3/L4 firewall on subnet or NIC.

Rule Properties

Default Rules

Service Tags

VirtualNetwork, AzureLoadBalancer, Internet, Storage, Sql, AppService, AzureCloud

Flow Logs

Log all traffic to Storage Account. Feed into Traffic Analytics for visualization.

Interview Q&A

Q: NSG on both subnet and NIC — evaluation order? A: Inbound: Subnet first, then NIC. Outbound: NIC first, then Subnet. Both must allow; either deny = blocked.


2.11 Azure Traffic Manager

Overview

DNS-based global traffic routing.

Routing Methods

Method How It Works
Priority Primary then failover
Weighted Distribute by weight (e.g., 80/20)
Performance Route to closest (lowest latency)
Geographic Route by user location
Subnet Route specific IP ranges to specific endpoints
Multi-value Return multiple endpoints

Limitation

DNS-based = failover depends on DNS TTL (not instant). For HTTP, prefer Front Door.


2.12 Azure Virtual WAN

Overview

Unified global networking for branch connectivity.


2.13 Azure Bastion

Overview

Managed RDP/SSH access to VMs without public IPs. Deploys in AzureBastionSubnet.


2.14 Azure CDN

Overview

Content delivery network. Cache content at edge locations worldwide.


2.15 NAT Gateway

Overview

Outbound NAT for SNAT. Fixed public IP(s) for outbound connections from VNet.


2.16 Network Watcher

Overview

Network monitoring and diagnostics.

PART 3: STORAGE SERVICES


3.1 Azure Blob Storage

Overview

Object storage for unstructured data. Up to 190 TB per storage account.

Redundancy Options

Type What It Does Use Case
LRS 3 copies in one DC Cheapest, non-critical
ZRS 3 zones in one region HA within region
GRS LRS + async copy to paired region DR
GZRS ZRS + async copy to paired region Best HA + DR
RA-GRS / RA-GZRS Read-access to secondary Read during outage

Access Tiers

Tier Storage Cost Access Cost Min Duration
Hot Highest Lowest None
Cool Lower Higher 30 days
Cold Even lower Even higher 90 days
Archive Lowest Highest 180 days (rehydration takes hours)

Blob Types

Security

Lifecycle Management

Automatically move blobs between tiers or delete them based on rules (e.g., move to Cool after 30 days, Archive after 90, delete after 365).

Interview Q&A

Q: When to use Hot vs Cool vs Archive? A: Hot = frequently accessed. Cool = infrequently accessed, stored ≥30 days. Archive = rarely accessed, stored ≥180 days. Rehydration from Archive takes hours. Use lifecycle policies to auto-tier.

Q: LRS vs ZRS vs GRS — when to use which? A: LRS = cheapest, single DC, non-critical data. ZRS = HA within region (survives DC failure). GRS = DR across regions (async, some data loss possible). GZRS = best: zone HA + geo DR.


3.2 Azure Files

Overview

Managed file shares in the cloud. Accessible via SMB and NFS.

Tiers

Key Features

Interview Q&A

Q: When to use Azure Files vs Blob Storage? A: Azure Files = need SMB/NFS file share, shared access, existing app expects file system. Blob = object storage, massive scale, cheapest for archival, no file locking needed.

Q: What is Azure File Sync? A: Syncs on-prem Windows Server with Azure Files. Cloud tiering keeps frequently accessed files on-prem, cold files in Azure only. Replaces traditional file server backup.


3.3 Azure Managed Disks

Overview

Persistent block storage for VMs. Managed by Azure (no storage account management).

Disk Types

Type IOPS Throughput Use Case
Ultra Disk Up to 160,000 Up to 2,000 MB/s Mission-critical, SAP HANA, tier-1 DBs
Premium SSD v2 Up to 80,000 Up to 1,200 MB/s Production, configurable IOPS/throughput
Premium SSD Up to 20,000 Up to 900 MB/s Production workloads
Standard SSD Up to 6,000 Up to 300 MB/s Web servers, light workloads
Standard HDD Up to 2,000 Up to 500 MB/s Backups, non-critical

Key Features


3.4 Azure Data Lake Storage (ADLS Gen2)

Overview

Enterprise data lake built on Blob Storage. Hadoop-compatible. Hierarchical namespace (folders).

Key Features

ADLS Gen2 vs Blob Storage

Feature Blob Storage ADLS Gen2
Namespace Flat (simulate folders) Hierarchical (real folders)
Access control RBAC, SAS RBAC, SAS, POSIX ACLs
Hadoop compatible No Yes
Performance (rename/dir) Slower Faster
Use case General object storage Big data / analytics

Interview Q&A

Q: When to use ADLS Gen2 vs Blob Storage? A: ADLS Gen2 when doing big data/analytics (Databricks, Synapse, HDInsight) — needs hierarchical namespace, POSIX ACLs, HDFS compatibility. Blob Storage for general-purpose object storage, web content, backups.


3.5 Azure Table Storage

Overview

NoSQL key-value store. Schemaless. Very cheap. Part of Storage Account.


3.6 Azure Queue Storage

Overview

Message queue for asynchronous communication between components.


3.7 Azure NetApp Files

Overview

Enterprise-grade NFS/SMB file shares powered by NetApp.


3.8 Azure Data Box

Overview

Physical device for offline data transfer to Azure. For TB-PB scale.


3.9 Azure Elastic SAN

Overview

SAN-like storage for workloads needing high IOPS and throughput.

PART 4: DATABASE SERVICES


4.1 Azure SQL Database

Overview

Fully managed SQL Server database. PaaS. Auto-backup, patching, HA built in.

Deployment Options

Option Description Use Case
Single Database One database with dedicated resources Single app database
Elastic Pool Shared resources across multiple databases Multi-tenant SaaS, variable workloads
Managed Instance Near-100% SQL Server compatibility Lift-and-shift migration

Purchasing Models

Service Tiers (vCore)

Tier HA Storage Use Case
General Purpose Readable replica Up to 4 TB Most business workloads
Business Critical 3 replicas + readable secondaries Up to 4 TB Low latency, high IOPS
Hyperscale Up to 4 readable replicas Up to 100 TB Very large databases

Key Features

Interview Q&A

Q: Single Database vs Elastic Pool vs Managed Instance? A: Single DB = isolated, predictable workloads. Elastic Pool = shared eDTU/vCore across databases with variable peaks (cost-effective). Managed Instance = near-full SQL Server compatibility for migration, instance-scoped features (SQL Agent, cross-DB queries).

Q: Active Geo-Replication vs Failover Groups? A: Active Geo-Replication = up to 4 readable secondaries, manual failover. Failover Groups = automatic failover, group of databases, transparent connection string (listener endpoint). Use Failover Groups for production DR.


4.2 Azure SQL Managed Instance

Overview

Near-100% SQL Server compatibility. Lift-and-shift with minimal changes.

Key Differences from Azure SQL Database

Instance Pools


4.3 Azure Database for PostgreSQL

Overview

Managed PostgreSQL. Two deployment options:

Option Description
Flexible Server Recommended. Custom maintenance window, burstable compute, stop/start, zone-redundant HA
Single Server Legacy (being retired). Simpler but less flexible

Key Features (Flexible Server)


4.4 Azure Database for MySQL

Overview

Managed MySQL. Flexible Server (recommended) is the current deployment option.


4.5 Azure Cosmos DB

Overview

Globally distributed, multi-model NoSQL database. 99.999% SLA. Turnkey global distribution.

APIs (Choose Based on Your Workload)

API Compatible With Best For
NoSQL (SQL) Native Cosmos DB API New applications, document store
MongoDB MongoDB wire protocol Migrating from MongoDB
Cassandra Cassandra wire protocol Migrating from Cassandra
Gremlin Apache TinkerPop/Gremlin Graph database (social networks, relationships)
Table Azure Table Storage API Simple key-value, migrating from Table Storage

Consistency Levels (5 levels — unique to Cosmos DB)

Level Behavior Use Case
Strong Linearizable. Read always returns latest write. Financial transactions, critical data
Bounded Staleness Reads lag behind writes by K versions or T time Gaming, ticketing
Session Consistent within a session. Read-your-own-writes. Default. Most applications.
Consistent Prefix Reads see writes in order, but may be behind Scenarios where order matters
Eventual No ordering guarantee. Eventually consistent. Lowest latency, highest availability

Key Features

Interview Q&A

Q: How do you choose a partition key? A: High cardinality, even distribution, aligned with query patterns. Bad partition key = hot partition (uneven RU consumption). The partition key determines which logical partition data goes to. You cannot change partition key after creation.

Q: Explain Cosmos DB consistency levels? A: 5 levels from Strong (most consistent, highest latency) to Eventual (least consistent, lowest latency). Most apps use Session (default) — read-your-own-writes within a session. Consistency is per-request — you can use different levels for different operations.

Q: What are RUs? A: Request Units — unified cost metric. 1 RU = 1 read of 1 KB item by ID. Writes cost more RUs. Provisioned throughput (manual or autoscale) or serverless (pay per request).


4.6 Azure Cache for Redis

Overview

Managed Redis cache. In-memory data store for fast access.

Tiers

Tier Features Use Case
Basic Single node, no SLA Dev/test
Standard Primary + replica, 99.9% SLA Production
Premium Cluster, VNet, persistence, zones Enterprise
Enterprise Redis Enterprise, RediSearch, RedisJSON Advanced features
Enterprise Flash Cost-optimized large cache Large cache, cost-sensitive

Key Features

Common Use Cases


4.7 Azure Synapse Analytics

Overview

Unified analytics platform. Data warehouse + data lake + data integration. Formerly SQL Data Warehouse.

Key Components

Dedicated SQL Pool (Formerly SQL DW)

Serverless SQL Pool

Interview Q&A

Q: Dedicated SQL Pool vs Serverless SQL Pool? A: Dedicated = provisioned compute, consistent performance, for heavy/repeated workloads. Serverless = pay per query, ad-hoc queries over data lake, no compute to manage.


4.8 Azure Databricks

Overview

Apache Spark-based analytics platform. Collaborative notebooks. Delta Lake built in.

Key Features

Interview Q&A

Q: What is Delta Lake? A: Open-source storage layer on data lake. Adds ACID transactions, time travel, schema enforcement, MERGE (upsert) to Parquet/data lake. Solves data reliability issues. Default format in Databricks.


4.9 Azure Data Explorer (Kusto)

Overview

Fast, interactive analytics for log and telemetry data. Optimized for high-volume, time-series data.

PART 5: MESSAGING & INTEGRATION SERVICES


5.1 Azure Service Bus

Overview

Enterprise message broker. Queues and Topics with pub/sub. Reliable, ordered, transactional messaging.

Entities

Key Features

Tiers

Tier Features
Basic Queues only, no sessions/topics, smaller limits
Standard Topics, sessions, 80 GB per entity, pay-per-use
Premium — Isolated resources, larger limits, no throttling

Interview Q&A

Q: Service Bus Queue vs Storage Queue? A: Service Bus = enterprise features (sessions, DLQ, transactions, FIFO, topics). Storage Queue = simpler, cheaper, massive scale, at-least-once delivery. Use Service Bus for complex messaging; Storage Queue for simple, high-volume.

Q: Queue vs Topic? A: Queue = one consumer, point-to-point. Topic = multiple subscribers (pub/sub). Use Topic when multiple systems need the same message.


5.2 Azure Event Grid

Overview

Event routing service. Reactive, pub/sub. Route events from Azure services or custom sources to handlers.

Key Concepts

Key Features

Interview Q&A

Q: Event Grid vs Event Hubs vs Service Bus? A: Event Grid = reactive event routing (fire-and-forget), discrete events (state changed). Event Hubs = big data streaming, high-throughput event stream (telemetry, logs). Service Bus = enterprise messaging with transactions, ordering, sessions (command messages).


5.3 Azure Event Hubs

Overview

Big data streaming platform. Ingest millions of events per second. Kafka-compatible.

Key Concepts

Key Features

Tiers

Tier Partitions Retention Throughput
Basic 1 1 day Limited
Standard 32 7 days Moderate
Premium 1024 90 days High
Dedicated Custom 90 days Max

Interview Q&A

Q: When to use Event Hubs vs Service Bus? A: Event Hubs = high-throughput telemetry/streaming (IoT, clickstream, logs). Service Bus = command messages with business logic, transactions, ordering. Event Hubs for firehose of events; Service Bus for reliable message delivery.


5.4 Azure API Management (APIM)

Overview

Publish, secure, transform, analyze APIs. Gateway + Developer Portal + Management plane.

Components

Key Features

Tiers

Tier Use Case
Consumption Serverless, pay per API call
Developer Dev/test, no SLA
Basic Small production
Standard Production
Premium Multi-region, VNet, self-hosted gateway
Standard v2 / Premium v2 Newer, improved performance

Interview Q&A

Q: How do you secure APIs with APIM? A: Validate JWT tokens, OAuth2/OpenID Connect, subscription keys, rate limiting policies, IP filtering, client certificate authentication. Layer security: subscription key (who) + JWT (what they can access) + rate limit (how much).


5.5 Azure Logic Apps

Overview

Workflow automation with visual designer. 200+ connectors. No-code/low-code.

Key Features

Consumption vs Standard

Feature Consumption Standard
Pricing Per execution Fixed + per execution
Performance Shared infrastructure Dedicated (App Service)
VNet No Yes
Connectors All built-in + managed All + custom (code)

Interview Q&A

Q: Logic Apps vs Functions? A: Logic Apps = visual, no-code, integration-focused, 200+ connectors. Functions = code-first, compute-heavy, performance-sensitive. Use Logic Apps for orchestration/integration; Functions for complex logic.

PART 6: IDENTITY & ACCESS MANAGEMENT


6.1 Microsoft Entra ID (Azure Active Directory)

Overview

Cloud identity and access management. SSO, MFA, conditional access, B2B, B2C. The backbone of Azure security.

Key Concepts

Authentication Methods

App Registration & Permissions

Key Features

Entra ID Editions

Feature Free P1 P2
SSO, MFA Yes Yes Yes
Conditional Access No Yes Yes
Identity Protection No No Yes
PIM No No Yes
Access Reviews No No Yes

Interview Q&A

Q: What is Conditional Access? A: If-then policies for access control. Signals: user/group, location, device, app, risk level. Actions: allow, block, require MFA, require compliant device. Most powerful tool in Entra ID. Always use for admin accounts.

Q: System-assigned vs User-assigned Managed Identity? A: System-assigned = one identity per resource, deleted with resource. User-assigned = standalone, shared across resources, independent lifecycle. Use user-assigned when multiple resources need same identity or you need identity to survive resource recreation.

Q: What is PIM? A: Privileged Identity Management. Provides just-in-time, time-bound, approval-based access to privileged roles. Reduces attack surface by eliminating permanent admin access.


6.2 Microsoft Entra External ID (B2C)

Overview

Customer identity and access management (CIAM). Social login, custom branding, millions of users.


6.3 Microsoft Entra Domain Services

Overview

Managed domain services in the cloud. LDAP, Kerberos, NTLM. Domain-join VMs without deploying domain controllers.


6.4 Role-Based Access Control (RBAC)

Overview

Control who can do what on Azure resources. Built on ARM.

Key Concepts

Built-in Roles (Key Ones)

Role What It Can Do
Owner Full access + manage access
Contributor Full access, cannot manage access
Reader View everything, cannot change
User Access Administrator Manage access only
Key Vault Contributor Manage Key Vault (not secrets)

Key Principles

Interview Q&A

Q: What’s the difference between RBAC roles and Entra ID roles? A: RBAC roles = manage Azure resources (VMs, Storage, etc.). Entra ID roles = manage Entra ID itself (users, groups, apps). They are separate role systems.


6.5 Azure Key Vault

Overview

Centralized secret management. Store keys, secrets, certificates securely.

What It Stores

Access Models

Key Features

Interview Q&A

Q: How do you access Key Vault from an application? A: Use Managed Identity + RBAC. No credentials in code. App gets token from IMDS endpoint, authenticates to Key Vault. For AKS: use Secret Store CSI Driver or Workload Identity.

Q: Vault access policy vs RBAC? A: RBAC is recommended (consistent with Azure model, supports PIM). Access policy is legacy but offers per-secret granularity. New deployments should use RBAC.

PART 7: SECURITY SERVICES


7.1 Microsoft Defender for Cloud

Overview

Cloud Security Posture Management (CSPM) + Cloud Workload Protection (CWP). Secures multi-cloud and on-prem resources.

Key Features

Defender Plans (Workload Protection)

Plan Protects
Defender for Servers VMs, on-prem servers. Vulnerability scanning, EDR (MDE), JIT VM access
Defender for App Service Web app threat detection
Defender for SQL SQL Server (on-prem, Azure SQL, VM). Vulnerability assessment, threat detection
Defender for Storage Blob, Files, Data Lake. Malware scanning, data exfiltration detection
Defender for Containers AKS, ACR, Container Apps. Image scanning, K8s threat detection
Defender for Key Vault Threat detection for Key Vault
Defender for DNS DNS-layer threat detection
Defender for IoT IoT/OT device security
Defender for Databases Open-source databases (PostgreSQL, MySQL, MariaDB)

JIT VM Access

Interview Q&A

Q: What is Secure Score? A: Measures your security posture (0-100%). Based on completed vs total recommendations. Higher = more secure. Used to prioritize remediation. Track over time.


7.2 Microsoft Sentinel

Overview

Cloud-native SIEM (Security Information and Event Management) + SOAR (Security Orchestration, Automation, and Response). Built on Log Analytics.

Key Components

Key Features

Interview Q&A

Q: What is Sentinel and why use it? A: Cloud-native SIEM + SOAR. No infrastructure to manage. Scales automatically. Pay per GB ingested. Centralize security logs, detect threats, automate response.


7.3 Azure Policy

Overview

Enforce organizational rules and compliance at scale. Evaluate resources against policies. Prevent non-compliant resources.

Key Concepts

Effects

Effect What Happens
Deny Block non-compliant resource creation/update
Audit Log non-compliance (no block)
AuditIfNotExists — Audit if related resource doesn’t exist
DeployIfNotExists — Auto-deploy if missing (e.g., auto-deploy diagnostics)
Modify — Add/modify properties (e.g., add tags)
Disabled Policy not evaluated

Common Policies

Interview Q&A

Q: Azure Policy vs RBAC? A: RBAC = who can do what (permissions). Policy = what is allowed/compliant (rules). They’re complementary. RBAC controls access; Policy controls what resources can look like.


7.4 Azure Blueprints

Overview

Package of policies + RBAC + ARM templates for repeatable compliance. Deploy a compliant environment in one shot.


7.5 Azure WAF (Web Application Firewall)

Overview

Protect web apps from common attacks (OWASP Top 10). Runs on Application Gateway or Front Door.

Key Features

WAF Modes


7.6 Azure Confidential Computing

Overview

Encrypt data in use using Trusted Execution Environments (TEEs). Data is encrypted at rest, in transit, AND in use.

PART 8: AI / ML SERVICES


8.1 Azure OpenAI Service

Overview

Azure-hosted OpenAI models. GPT-4o, GPT-4, GPT-3.5, DALL-E, Whisper, Embeddings. Enterprise security, compliance, regional availability.

Key Features

Interview Q&A

Q: Why use Azure OpenAI vs OpenAI directly? A: Enterprise features: private endpoints, RBAC, content safety, regional data residency, VNet integration, compliance certifications. Data not used to train models.


8.2 Azure AI Services (Cognitive Services)

Overview

Pre-built AI APIs. No ML expertise needed. REST APIs + SDKs.

Vision

Service What It Does
Computer Vision Image analysis, OCR, spatial analysis
Custom Vision Train custom image classifiers/object detectors
Face Face detection, recognition, verification
Video Indexer Extract insights from video

Speech

Service What It Does
Speech to Text Real-time & batch transcription
Text to Speech Neural TTS voices
Speech Translation Real-time speech translation
Speaker Recognition Identify/verify speakers

Language

Service What It Does
Language Service Sentiment, NER, key phrase extraction, PII detection, summarization, conversation
Translator — Real-time text translation (100+ languages)
Document Intelligence (Form Recognizer) Extract structure from documents (invoices, forms, IDs)

Decision

Service What It Does
Content Safety Detect harmful content (text + image)
Personalizer RL-based content ranking

8.3 Azure Machine Learning

Overview

End-to-end ML platform. Train, deploy, manage, monitor ML models.

Key Components

Key Features


Overview

AI-powered search over your data. Full-text search, vector search, semantic search.

Key Concepts

Search Features


PART 9: ANALYTICS SERVICES


9.1 Azure Stream Analytics

Overview

Real-time stream processing. SQL-like queries over event streams. Input from Event Hubs/IoT Hub, output to multiple sinks.

Key Features


9.2 Azure Data Factory

Overview

Cloud ETL / data integration. Orchestrate data movement and transformation at scale.

Key Concepts

Key Features


9.3 HDInsight

Overview

Managed Hadoop ecosystem. Open-source big data analytics.


9.4 Azure Analysis Services

Overview

Enterprise OLAP / semantic modeling. Tabular data models for BI.


9.5 Microsoft Purview

Overview

Unified data governance. Data catalog, classification, lineage, compliance.


PART 10: MANAGEMENT & GOVERNANCE


10.1 Azure Resource Manager (ARM)

Overview

Deployment and management layer for Azure. Every action goes through ARM. Consistent management plane.

Key Concepts

Hierarchy

Management Group → Subscription → Resource Group → Resource

ARM Templates / Bicep

Interview Q&A

Q: What is ARM? A: Azure Resource Manager. The management layer that handles all CRUD operations on Azure resources. Every tool (Portal, CLI, PowerShell, SDK) goes through ARM. Provides RBAC, tags, locks, and policy enforcement.


10.2 Azure Monitor

Overview

Full observability platform. Metrics, logs, alerts, dashboards.

Key Components

Key Features

Interview Q&A

Q: Metrics vs Logs in Azure Monitor? A: Metrics = numeric time-series (CPU%, memory), pre-collected, 93 days, fast to query. Logs = everything else, KQL queries, flexible, longer retention, more expensive. Use metrics for alerting (fast). Use logs for deep investigation.


10.3 Azure Advisor

Overview

Personalized best-practice recommendations. Analyzes your resources and configuration.

Categories: Cost, Security, Reliability, Performance, Operational Excellence


10.4 Azure Cost Management

Overview

Track, allocate, and optimize Azure spend.

Key Features

Interview Q&A

Q: How do you optimize Azure costs? A: Right-size VMs (Advisor), Reserved Instances (predictable workloads), Spot VMs (fault-tolerant), auto-shutdown (dev/test), use Cool/Archive tiers for storage, delete unmanaged disks/orphaned resources, use Budgets for alerts, review cost analysis weekly.


10.5 Azure Arc

Overview

Manage on-premises and multi-cloud resources from Azure. Project Azure management plane everywhere.

What You Can Manage

Key Benefits


10.6 Azure Migrate

Overview

Assessment and migration tool for moving on-prem workloads to Azure.

Key Features

Tools


10.7 Azure Lighthouse

Overview

Multi-tenant management. Service providers manage customer resources from their own tenant.

PART 11: HYBRID & EDGE SERVICES


11.1 Azure Arc (see Part 10 for details)


11.2 Azure Stack HCI

Overview

Hyper-converged infrastructure on-prem. Run VMs on-prem, manage from Azure.


11.3 Azure Stack Hub

Overview

Run Azure services on-premises. Disconnected scenarios possible.


11.4 Azure Stack Edge

Overview

Edge computing device with AI/ML + storage. Data processing at the edge.


11.5 Azure IoT Hub

Overview

Managed IoT service. Connect, monitor, manage billions of IoT devices.

Key Features

Tiers

Tier Messages/Day Use Case
Free 8,000 Dev/test
S1 400,000/unit Small deployments
S2 6M/unit Medium
S3 300M/unit Large

11.6 Azure IoT Edge

Overview

Run cloud workloads on edge devices. Deploy modules (containers) to edge.


11.7 Azure Digital Twins

Overview

IoT spatial intelligence. Model physical environments as digital twins.


11.8 Azure Sphere

Overview

Secured microcontroller (MCU) for IoT devices. End-to-end security.


PART 12: DEVELOPER TOOLS


12.1 Azure DevOps

Overview

Application lifecycle management. Boards, Repos, Pipelines, Test Plans, Artifacts.

Services

Service What It Does
Azure Boards Work items, sprints, kanban, dashboards
Azure Repos Git repositories (TFVC also available)
Azure Pipelines CI/CD — build and deploy. YAML or classic. Agent-based (Microsoft-hosted or self-hosted).
Azure Test Plans Manual and exploratory testing
Azure Artifacts — Package management (NuGet, npm, Maven, Python, Universal)

Key Concepts

Interview Q&A

Q: Azure DevOps vs GitHub Actions? A: Azure DevOps = full ALM suite (boards, repos, pipelines, test plans). GitHub Actions = CI/CD only, GitHub-native. Many teams use GitHub for code + Azure DevOps for boards/pipelines.


12.2 Azure CLI / PowerShell / SDKs

Azure CLI

Azure PowerShell

Infrastructure as Code


PART 13: SaaS SERVICES


13.1 Microsoft 365


13.2 Dynamics 365

ERP + CRM suite: - Sales — CRM - Customer Service — Support - Field Service — Dispatch, scheduling - Finance — Financial management - Supply Chain Management — SCM - Business Central — SMB ERP - Commerce — E-commerce


13.3 Power Platform


13.4 Microsoft Fabric

Overview

Unified analytics platform. Lakehouse, data warehouse, real-time analytics, BI, data engineering, data science. All in one SaaS.