Bite-sized, standalone interview questions and answers for Azure. Read 5-10 per sitting. Each answer is 2-4 sentences max and stands on its own.

24 questions shown. Filter by keyword or difficulty below.

Topic: Azure Resource Manager & Bicep (Order 1)

No. Bicep is transpiled client-side into ARM JSON templates before submission. The az deployment group create CLI compiles .bicep to JSON via the Bicep compiler, then sends the canonical ARM JSON template to the Azure Resource Manager API. ARM never sees Bicep syntax — it only consumes the declarative JSON representation with resource declarations, dependency expressions, and property values.

Resource groups are logical containers that serve as the scope for RBAC, policy assignment, and deployment atomicity. ARM evaluates all resources within a deployment against the resource group’s policy assignments and locks, and treats the entire deployment as a single idempotent operation — success commits all resources, failure rolls back nothing.

Topic: Azure Networking (Order 2)

Peering establishes a direct, non-transitive routing path between two VNets by updating the system route tables of both VNets to include the peered address spaces with a next-hop type of VNet Peering. Traffic flows entirely within Azure’s backbone network fabric, never traversing the internet or a gateway, with latency equivalent to intra-VNet communication.

NSGs are stateful packet filters applied at the subnet or NIC level. Each rule is evaluated by priority order — the first matching Allow or Deny rule determines the flow, and stateful tracking automatically allows return traffic for established connections without an explicit inbound rule. Deny rules are explicit and cannot be overridden by lower-priority Allow rules.

Topic: Azure Compute (Order 3)

Consumption plan scales by adding function hosts from a shared pre-warmed pool managed by the scale controller — cold starts incur the latency of loading your code and dependencies from blob storage. Premium plan pre-warms a configurable number of always-ready instances (alwaysReady setting) backed by dedicated VMs, eliminating cold starts while retaining the ability to scale to zero when idle.

Scale-out creates multiple front-end instances behind a load balancer, but in-process session state is stored per-instance in-memory. Without an external session provider (Redis, SQL, or Azure SignalR), subsequent requests from the same user may land on a different instance and lose session data — this is why stateless design or a distributed session store is required for multi-instance App Service plans.

Topic: Azure Storage (Order 4)

Each tier represents a different media class and replication behavior — Hot uses SSD-backed storage with frequent access optimizations, Cold uses lower-cost HDD-backed storage with higher latency and a 30-day minimum billable period, and Archive moves data to offline tape-equivalent storage with a 180-day minimum and rehydration latency of up to 15 hours. Setting the tier property triggers an async background copy between these physical backends.

Queue Storage guarantees at-least-once delivery — a message becomes invisible (via a lease) after being dequeued but is not deleted until the consumer explicitly calls DeleteMessage. If the consumer fails to delete within the visibility timeout, the message reappears on the queue for another consumer, potentially causing duplicate processing. It does not guarantee exactly-once or FIFO ordering.

Topic: Azure Identity (Order 5)

Azure Instance Metadata Service (IMDS) provides a token endpoint at 169.254.169.254/metadata/identity/oauth2/token. When code calls DefaultAzureCredential, the IMDS endpoint is queried with the managed identity’s client ID — Azure returns an Azure AD access token scoped to the target resource (e.g., https://vault.azure.net for Key Vault). The token is cached and auto-refreshed before expiry; no secrets ever touch disk.

The app sends a POST to https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token with its client ID, client secret (or certificate), and grant_type=client_credentials. Azure AD validates the credentials, checks the app’s API permissions, and returns a JWT access token containing appid, scp, and tid claims. The token is then sent as a Bearer header in requests to the target API, which validates it via its own JWKS endpoint.

Topic: Azure Security (Order 6)

Access policies grant permissions directly within a vault using a flat list of service principals with individual secret/key/certificate permissions — they are vault-scoped and do not integrate with Azure’s broader RBAC model. RBAC for Key Vault uses built-in roles (Key Vault Secrets User, Key Vault Administrator) at the vault, resource group, or subscription scope, enabling consistent access control with Deny assignments and Privileged Identity Management.

Deny blocks the resource creation or update request at the ARM API level before any resource provider processes it, returning a 403. Audit logs the non-compliance to Activity Log but allows the operation to proceed. Modify uses a policyRule.then.details to automatically apply a remediation effect (e.g., adding a tag) via a managed identity during resource creation or through a remediation task.

Topic: Azure Kubernetes Service (Order 7)

AKS cordons and drains each node sequentially — it marks the node as unschedulable, evicts pods honoring PodDisruptionBudgets, and waits for eviction to complete before proceeding. Only after all pods are rescheduled on remaining nodes does AKS replace the underlying VMSS instance with the new OS/image version. If a pod fails to evict within the timeout, the upgrade pauses rather than force-killing.

Workload identity projects the Azure AD pod identity as a projected volume containing a service account token, which the Azure Identity SDK exchanges with Azure AD for an access token via the /metadata/identity/oauth2/token endpoint. The token is bound to a specific user-assigned managed identity via federated identity credential configuration, eliminating the need for connection strings or secret volumes inside the pod.

Topic: Azure DevOps (Order 8)

Feeds use a save-through-cache model — on a package request, if the package is not in the feed, Azure Artifacts searches each configured upstream source in priority order and caches the first match locally. Subsequent requests resolve from the local cache without contacting the upstream, and feed packages always take precedence over upstreams, preventing dependency confusion.

A YAML pipeline defines the entire CI/CD process as code in the repository — pipeline state is fully determined by the YAML file in the branch being built, with no external release definitions. Classic pipelines split build and release into separate artifacts with manual or trigger-based promotion between environments. YAML pipelines are idempotent and version-controlled; classic pipelines have mutable GUI state that can diverge across edits.

Topic: Azure Monitoring (Order 9)

Each HTTP request carries a W3C traceparent header set by the calling service’s Application Insights SDK. The receiving SDK parses this header, creates a child span sharing the same traceId with a new spanId, and links the parent-child relationship. Log Analytics queries across union traces, requests, dependencies group by operation_Id to reconstruct the full end-to-end view with per-hop latency breakdowns.

KQL is pipeline-based rather than set-based — data flows through a sequence of operators (| where, | summarize, | render timechart) applied left-to-right, making time-series aggregations and binning natural. Operators like bin() bucket timestamps, make-series creates ordered time arrays, and series_decompose() performs automated anomaly detection. There are no JOINs in the traditional sense — KQL uses union or lookup for cross-table correlation.

Topic: Azure Serverless (Order 10)

Each orchestrator function is a deterministic replay — every await (or yield) causes the function to unload and its execution history (events, outputs, timers) to be persisted to the task hub’s table storage. On the next event, the runtime replays the function from the beginning, skipping completed activities by returning cached outputs from the history table. The orchestrator holds no state in memory between awaits.

At publish time, Event Grid validates the event schema and routes it to the topic. At subscribe time, each subscription can specify a filter on event type, subject prefix/suffix, and advanced fields (numerical range, In, NotIn, BeginsWith). The filter is evaluated server-side by Event Grid before delivering to the endpoint — events that don’t match any subscription filter are silently dropped at the broker level.

Topic: Azure Database (Order 11)

Strong consistency synchronously commits writes to a quorum of replicas in the current region before acknowledging — reads always see the latest write but pay cross-replica commit latency. Eventual consistency allows replicas to diverge: writes commit at one replica and propagate asynchronously, providing lower write latency but possible stale reads. Bounded Staleness, Session, and Consistent Prefix offer graduated tradeoffs between staleness window and consistency guarantee.

An elastic pool allocates a total eDTU/vCore budget across all databases in the pool, with each database having a configurable min (databaseMinCapacity) and max (databaseMaxCapacity) resource reservation. The SQL Database resource governor enforces these caps per database while allowing burst usage up to the pool’s total when other databases are idle — this statistical multiplexing is what makes elastic pools cost-effective for databases with spiky, uncoordinated usage.

Topic: Azure Messaging (Order 12)

A queue is a one-to-one channel — each message is delivered to exactly one consumer in a competing-consumers pattern. A topic delivers each message to every subscription that has a matching filter rule (one-to-many publish-subscribe). Under the hood, each subscription is backed by its own internal queue with independent message locks, dead-letter queues, and forward-to behavior.

Throughput units (TUs) are pre-allocated capacity — one TU provides 1 MB/s ingress (or 1000 events/second) and 2 MB/s egress, with requests beyond that throttled with a 429 error. Auto-inflate monitors the throttled request count and scales TUs up in increments (to a configured max) behind the scenes, removing the need to pre-provision for peak load while still enforcing a hard cap per TU allocation.


Last updated: July 2026 Total Q&A: 24 across Azure

Back to Q&A Index