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.
Availability Sets — Fault domains (FD) + Update
domains (UD) within a datacenter. Min 2 FDs, up to 20 UDs. Protects
against hardware failure and planned maintenance.
Availability Zones — Physically separate
datacenters within a region. 3 zones per region. VMs in different zones
= 99.99% SLA.
Proximity Placement Groups — Co-locate VMs for low
latency
Key Concepts
VMSS (VM Scale Sets) — Auto-scaling groups of
identical VMs. Supports autoscale rules, custom images.
Spot VMs — Up to 90% discount. Can be evicted with
30s notice. Good for batch, dev/test, stateless workloads.
Reserved Instances — 1-year or 3-year commitment.
Up to 72% savings. Can be exchanged/cancelled.
Azure Dedicated Host — Single-tenant physical
server. For licensing (e.g., SQL Server BYOL) and compliance.
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
Deployment Slots — Staging environments. Swap slots
for zero-downtime deployment. Up to 1 (Standard), 5 (Premium), unlimited
(Isolated).
Auto-scaling — Scale up (bigger tier) vs Scale out
(more instances). Rules based on CPU, memory, queue length,
schedule.
Custom Domains & SSL — Bind custom domains,
free managed certificates, bring your own SSL.
VNet Integration — Connect App Service to your VNet
for accessing on-prem/private resources. Regional VNet integration
(outbound) + VNet-injected ASE (inbound+outbound).
Authentication — Built-in auth with Entra ID,
Google, Facebook, Twitter, Microsoft Account.
CI/CD — Deploy from GitHub, Azure DevOps,
Bitbucket, local Git.
Backups — Scheduled backups to storage account
(Standard+).
Private Endpoints — Access App Service via private
IP. Inbound private endpoint.
App Service Environment (ASE)
Runs in your own VNet (fully isolated)
Single-tenant App Service
For compliance (PCI, HIPAA), high scale, internal-only apps
ASE v3 is simpler and cheaper than v2
Internal ILB ASE = no public endpoint; External ASE = public
endpoint
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
Cluster Autoscaler — Automatically adds/removes
nodes based on pod scheduling needs.
KEDA — Scale pods based on external events (queue
length, etc.).
Virtual Nodes — Serverless burst using ACI.
Azure CNI — Each pod gets an IP from VNet.
Kubenet — Pods use NAT. Simpler but less network
control.
Private Cluster — API server has no public IP.
Entra ID Integration — Use Entra ID for K8s
RBAC.
Azure Policy for AKS — Enforce policies on K8s
resources.
Secret Store CSI Driver — Mount Key Vault secrets
as volumes in pods.
AGIC — Use App Gateway as K8s ingress.
Workload Identity — Use managed identities for
pods.
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
Triggers — What starts the function: HTTP, Timer,
Blob, Queue, Service Bus, Event Grid, Event Hubs, Cosmos DB, SignalR,
Durable
Bindings — Declarative connection to data/services
(input/output). No SDK code needed.
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
Built-in KEDA scaling (scale to zero)
Revision management with traffic splitting (blue/green, canary)
Built-in ingress (HTTP/TCP)
Dapr integration for microservices
Service discovery within environment
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
Fast startup (seconds)
Container groups (multiple containers sharing network/lifecycle —
like a pod)
VNet integration, GPU support, persistent storage via Azure
Files
Service Endpoints — Extend VNet identity to PaaS
services. Traffic stays on Azure backbone.
Private Endpoints — Private IP in your VNet for
PaaS services. No public internet.
VNet Peering
Connect VNets (same region or cross-region)
Traffic stays on Microsoft backbone
NOT transitive — If A↔︎B and B↔︎C, A cannot reach
C
Gateway Transit — Peered VNet can use your VPN/ExpressRoute
gateway
Charge for ingress/egress across 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.
HA Ports — Load balance all ports (internal LB,
Standard only). For NVAs.
Outbound Rules — Control SNAT for outbound
internet
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
URL-based routing, multi-site hosting
SSL Termination, Session Affinity (cookie-based)
WAF — OWASP Top 10 protection (CRS 3.2+)
Connection Draining, Header Rewrites
Autoscaling (v2 SKU)
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
Global routing to nearest backend
SSL Termination at edge, WAF at edge
URL-based routing, Session Affinity
Caching, Health Probes
Traffic acceleration (anycast + split TCP + Microsoft backbone)
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
Policy-based — Legacy, low bandwidth (~100
Mbps)
Route-based — Modern, up to 10 Gbps, BGP
support
Connection Types
Site-to-Site (S2S) — On-prem network to VNet
(IPsec/IKE)
GatewaySubnet — Must be named exactly
“GatewaySubnet”. Min /29.
Local Network Gateway — Represents on-prem VPN
device
BGP — Dynamic routing on route-based gateways
Active-Active — Two gateway instances for higher
throughput/redundancy
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
Azure Private Peering — Access Azure VNets
Microsoft Peering — Access Microsoft public
services (M365, etc.)
Key Features
Bandwidth: 50 Mbps to 100 Gbps
Two connections per circuit (primary + secondary) for
redundancy
ExpressRoute Global Reach — Connect on-prem
locations via Microsoft backbone
ExpressRoute Direct — 100 Gbps, dual ports at
peering location
Standard = regions in geopolitical area;
Premium = all global regions
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.
Expose your own service (behind Standard LB) via Private Link
Consumers access via private endpoints in their VNets
For SaaS providers offering private connectivity
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.
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.
Soft Delete — Recover deleted blobs within
retention period (7-365 days).
Versioning — Automatically save previous versions
on overwrite.
Access Keys — Two keys for rotation. Full access to
storage account. Avoid in production — use Entra ID or SAS.
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
Premium — SSD-backed, high IOPS. For databases,
high-performance workloads.
Transaction Optimized — Balanced. For general
purpose.
Hot — Standard, frequently accessed.
Cool — Standard, infrequently accessed.
Key Features
SMB File Shares — Windows-compatible. AD
integration for ACLs.
Azure File Sync — Sync on-prem Windows Server with
Azure Files. Cloud tiering (cache hot files locally, cold files in
cloud).
Snapshots — Point-in-time read-only snapshots.
Soft Delete — Recover deleted shares.
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
Availability Zones — ZRS disks survive zone failure
(Standard SSD, Premium SSD, Premium SSD v2)
POSIX ACLs — Fine-grained access control at
file/folder level
Compatible with HDFS (Hadoop, Spark, Databricks)
Supports all Blob Storage tiers (Hot, Cool, Cold, Archive)
Lifecycle management same as Blob
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.
Partition key + Row key = unique identifier
Up to 1 TB per table
Cheap, simple, massive scale
For simple lookups by key — no complex queries
Often superseded by Cosmos DB Table API (more features, same
API)
3.6 Azure Queue Storage
Overview
Message queue for asynchronous communication between components.
Messages up to 64 KB
Millions of messages, pay per use
At-least-once delivery
Often compared to Service Bus Queue — Queue Storage is simpler,
cheaper; Service Bus has more features (sessions, dead-letter,
transactions, FIFO)
3.7 Azure NetApp Files
Overview
Enterprise-grade NFS/SMB file shares powered by NetApp.
Premium, Ultra, Standard service levels
For SAP HANA, HPC, enterprise file shares
Snapshots, cloning, cross-region replication
More expensive than Azure Files, but enterprise features
3.8 Azure Data Box
Overview
Physical device for offline data transfer to Azure. For TB-PB
scale.
Data Box — 80 TB, ruggedized
Data Box Disk — 8 TB SSD, up to 5 disks
Data Box Heavy — 800 TB
For when network transfer is too slow or expensive
Microsoft ships device → you copy data → ship back → data uploaded
to Azure
3.9 Azure Elastic SAN
Overview
SAN-like storage for workloads needing high IOPS and throughput.
Simplifies SAN deployment at scale
For enterprise applications needing shared block storage
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
DTU Model — Simple, bundled compute+storage. Basic,
Standard, Premium tiers.
vCore Model — Choose compute (Gen5, M-series,
DC-series) + storage separately. General Purpose, Business Critical,
Hyperscale.
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
Automatic Backups — 7-35 days retention. PITR
(Point-In-Time Restore).
Long-Term Retention (LTR) — Up to 10 years for
compliance.
Geo-Replication — Active geo-replication (async,
readable secondaries in other regions).
Auto-Failover Groups — Automatic failover to
secondary region. Decouples app from DB endpoint.
Microsoft Defender for SQL — Vulnerability
assessment, threat detection.
Ledger — Immutable, cryptographically verified
records (blockchain-like).
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-scoped features: SQL Agent, cross-database queries, Service
Broker
Native VNet integration (no public endpoint needed)
SQL Server Agent for jobs
Database Mail
Common language runtime (CLR)
More like on-prem SQL Server in the cloud
Instance Pools
Pack multiple managed instances into shared compute
Cost-effective for small instances
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)
Burstable, General Purpose, Memory Optimized tiers
Zone-redundant HA (automatic failover)
Read replicas (async)
Logical replication
PgBouncer built-in (connection pooling)
Stop/start to save costs
VNet integration (private access)
4.4 Azure Database for MySQL
Overview
Managed MySQL. Flexible Server (recommended) is the current
deployment option.
Similar features to PostgreSQL Flexible Server
Burstable, General Purpose, Memory Optimized
Zone-redundant HA, read replicas, stop/start
VNet integration
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
Global Distribution — Replicate to any Azure region
with one click. Multi-region writes.
Partition Key — Critical design choice. Determines
data distribution and scalability. Choose high-cardinality, evenly
distributed key.
Request Units (RU/s) — Cost metric. 1 RU ≈ 1 read
of 1 KB item. Provisioned (manual/autoscale) or serverless.
Change Feed — Event stream of changes (inserts,
updates). For real-time processing, ETL, triggers.
Stored Procedures — JavaScript-based, run
server-side within a partition.
TTL (Time-to-Live) — Auto-expire documents after N
seconds.
Serverless — Pay per request. For intermittent
workloads.
Free Tier — 400 RU/s + 5 GB free for lifetime.
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
Persistence — RDB or AOF snapshots to Storage
Account (Premium+)
Clustering — Shard data across multiple nodes
(Premium+)
VNet Integration — Private endpoint support
(Premium+)
Geo-Replication — Replicate across regions
(Premium+)
Zone Redundancy — Spread across availability
zones
Common Use Cases
Caching (session state, database query results)
Message broker (pub/sub)
Leaderboards, rate limiting
Real-time analytics
4.7 Azure Synapse Analytics
Overview
Unified analytics platform. Data warehouse + data lake + data
integration. Formerly SQL Data Warehouse.
Key Components
Synapse SQL — Dedicated SQL pool (former SQL DW,
MPP) + Serverless SQL pool (pay per query)
Synapse Spark — Managed Spark for data
engineering/science
Synapse Pipelines — ETL/ELT orchestration (like
Data Factory)
Synapse Studio — Unified web UI
Dedicated SQL Pool (Formerly
SQL DW)
Massively Parallel Processing (MPP)
Compute + Storage separated. Pause compute when not in use.
DWU (Data Warehouse Units) for compute sizing
Table types: Heap, Clustered Index, Clustered Columnstore (default,
best for analytics)
Serverless SQL Pool
Query data in ADLS Gen2 or Blob Storage directly
Pay per TB processed
No infrastructure to manage
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.
Delta Lake — ACID transactions on data lake. Time
travel, schema enforcement, MERGE operations.
MLflow — Track ML experiments, models
Photon Engine — C++ acceleration for Spark SQL
(faster, cheaper)
Unity Catalog — Unified governance across
workspaces
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.
Kusto Query Language (KQL)
Ingest from Event Hubs, IoT Hub, Blob Storage
Used by Azure Monitor Log Analytics (same engine)
For logs, metrics, IoT telemetry, application traces
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
Queue — Point-to-point. One sender, one receiver.
FIFO (with sessions).
Topic — Pub/sub. One sender, multiple subscribers.
Each subscriber gets a copy.
Subscription — Receiver for a topic. Can have
filters/rules.
Key Features
Sessions — FIFO ordering. Messages with same
session ID processed in order by one consumer.
Dead-Letter Queue (DLQ) — Messages that can’t be
processed or expired go here for inspection.
Scheduled Messages — Deliver at a future time.
Deferred Messages — Set aside for later
processing.
Transactions — Atomic send + complete across
entities.
Duplicate Detection — Discard duplicate messages
(based on message ID).
Auto-forwarding — Chain queues/topics.
Batching — Server-side batch for throughput.
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
Event Sources — Where events come from: Blob
Storage, Resource Groups, Event Hubs, Service Bus, custom topics
Event Handlers — Where events go: Functions, Logic
Apps, Webhooks, Service Bus, Event Hubs, Storage Queues
Topics — Endpoint where sources send events. System
topics (Azure resources) or custom topics.
Event Subscriptions — Route events from topic to
handler. Filter by subject, event type.
Dead-Lettering — Undeliverable events go to Storage
Account or Service Bus.
Key Features
Near-real-time delivery (sub-second)
At-least-once delivery
Filter events (subject prefix/suffix, event type)
10M events/sec per topic (custom topics)
Serverless — pay per event
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
Event Hub — Named stream (like a Kafka topic)
Partition — Ordered sequence of events. Parallelism
unit. More partitions = more throughput.
Consumer Group — View of the event hub. Each
consumer reads independently.
Capture — Auto-save stream to ADLS Gen2 or Blob
Storage (avro format).
Partition Key — Ensures ordering for related events
(same key → same partition).
Key Features
Up to 7 MB/sec per partition (Standard), 10+ MB/sec
(Premium/Dedicated)
Up to 32 partitions (Standard), 1024 (Premium/Dedicated)
Kafka compatibility — Use Kafka clients directly
(no code change)
Auto-inflate partitions
Long retention (up to 90 days on Premium/Dedicated)
Event Hubs for Apache Kafka — Endpoint compatible
with Kafka 1.0+
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.
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.
Social identity providers: Google, Facebook, Apple, Amazon
Custom policies (XML-based) for complex flows
User flows (built-in): sign up, sign in, password reset, profile
edit
API connectors for custom validation/enrichment
Brand customization
6.3 Microsoft Entra Domain
Services
Overview
Managed domain services in the cloud. LDAP, Kerberos, NTLM.
Domain-join VMs without deploying domain controllers.
For lift-and-shift of legacy apps requiring AD domain
Not a replacement for on-prem AD (no schema extensions, no GPOs
beyond baseline)
Kerberos + NTLM authentication
LDAP read/write
Domain join for Azure VMs
Secure LDAP (LDAPS)
6.4 Role-Based Access Control
(RBAC)
Overview
Control who can do what on Azure resources. Built on ARM.
Key Concepts
Security Principal — Who: User, Group, Service
Principal, Managed Identity
Role Definition — What: Set of permissions
(Actions, NotActions, DataActions, NotDataActions)
Principle of Least Privilege — Grant minimum
needed
Use built-in roles before custom roles
Assign at highest scope that makes sense (prefer RG
over subscription)
Use PIM for privileged roles — Just-in-time, not
permanent
Separate duties — No one person should control
entire lifecycle
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
Secrets — Passwords, connection strings, API keys.
Up to 25 KB each.
Soft Delete — Recover deleted vaults/secrets (7-90
days retention). Enabled by default.
Purge Protection — Prevent permanent deletion
during retention period.
Firewall — Restrict access to specific
networks.
Private Endpoint — Access via private IP.
HSM-backed keys — Premium tier. FIPS 140-2 Level
2.
Managed HSM — Dedicated, single-tenant HSM. FIPS
140-2 Level 3.
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.
Reduce attack surface by opening RDP/SSH ports only when needed
Request access → approved → port opened for limited time →
auto-closed
Must-have for internet-facing VMs
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
Data Connectors — Ingest logs from M365, Azure,
third-party (Cisco, Palo Alto, etc.)
KQL (Kusto Query Language) — Query language for
hunting and analytics rules.
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.
Policy Assignment — Apply definition to scope (MG,
subscription, RG)
Policy Parameters — Make policies reusable (e.g.,
allowed regions list)
Initiative Definition — Group of policy definitions
(e.g., “ISO 27001 compliance”)
Exemptions — Exclude specific resources from
policies
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
Allowed locations (restrict regions)
Allowed resource types
Require tags
Enforce encryption
Auto-deploy diagnostics settings
Prevent public endpoints
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.
Blueprint = Policy Assignments + Role Assignments + ARM Templates +
Resource Groups
Version controlled
Artifact locking (prevent drift)
For compliance scenarios (deploy compliant landing zones)
7.5 Azure WAF (Web
Application Firewall)
Overview
Protect web apps from common attacks (OWASP Top 10). Runs on
Application Gateway or Front Door.
Fine-tuning — Customize models with your data
(GPT-3.5-turbo, Babbage, Davinci)
On Your Data — Ground models in your data (search
over documents)
Assistants API — Build AI assistants with tools
(code interpreter, file search, function calling)
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.
Deploy as clusters (pay while running — can be deleted when not
needed)
Enterprise Security Package (ESP) — Domain-join with Entra Domain
Services
9.4 Azure Analysis Services
Overview
Enterprise OLAP / semantic modeling. Tabular data models for BI.
Power BI connects to Analysis Services for enterprise modeling
Semantic layer over data warehouse
Row-level security
Scale up/down, pause when not in use
9.5 Microsoft Purview
Overview
Unified data governance. Data catalog, classification, lineage,
compliance.
Data Map — Automated data discovery and
mapping
Data Catalog — Searchable inventory of data
assets
Data Estate Insights — Understand your data
landscape
Classification — Auto-classify sensitive data (SSN,
credit card, etc.)
Lineage — Track data flow from source to
destination
Integration — Scans: Azure, on-prem SQL, AWS, SAP,
etc.
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
Resource — Individual Azure service instance (VM,
Storage Account, etc.)
Resource Group — Logical container for resources.
Lifecycle boundary (delete RG = delete all resources). Region-scoped
metadata.
Subscription — Billing + management boundary.
Limits/quota per subscription.
Management Group — Manage multiple subscriptions.
Policy + RBAC inheritance.
Hierarchy
Management Group → Subscription → Resource Group → Resource
ARM Templates / Bicep
ARM Templates — JSON IaC. Declarative.
Idempotent.
Bicep — DSL that compiles to ARM JSON. Cleaner
syntax, easier to read/write. Recommended over JSON.
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
Metrics — Time-series data from resources (CPU,
memory, request count). 93 days retention.
Diagnostic Settings — Route resource logs and
metrics to Log Analytics, Storage, or Event Hubs.
Data Collection Rules (DCR) — Define what data to
collect from VMs (AMA - Azure Monitor Agent).
VM Insights — Pre-built monitoring for VMs
(performance, maps).
Container Insights — Pre-built monitoring for
AKS/ARC K8s.
Network Insights — Network monitoring
dashboards.
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.
Service Connections — Connect to Azure (ARM),
GitHub, Docker, etc.
Variable Groups — Shared variables across
pipelines
Environments — Deployment targets with
approvals/checks
Templates — Reusable pipeline steps
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.