Q1. Azure Container Apps vs. AKS — when do you recommend each? Container Apps covers the large majority of workloads: managed Kubernetes underneath, scale-to-zero, built-in KEDA autoscaling, and Dapr integration with far less operational overhead. Reach for AKS specifically when you need custom CNI networking, GPU scheduling, multi-cluster federation, or custom Kubernetes operators. Teams that migrate from AKS to Container Apps for standard workloads commonly report large (50%+) reductions in ops effort.
Q2. How do you design a multi-region, active-active deployment on Azure? Azure Front Door for global load balancing and latency-based routing, app tier deployed active-active across 2+ regions, Cosmos DB multi-region writes (Session consistency is usually the right default trade-off between latency and correctness) or Azure SQL geo-replication for the relational tier, and Service Bus geo-DR for messaging. The core trade-off to articulate is consistency vs. latency, and why the chosen consistency level fits the workload.
Q3. How do you govern and control cloud cost at scale? Tag every resource (team, project, environment) so spend is attributable, set budget alerts at 80%/100% thresholds, use Reserved Instances for stable steady-state workloads, scale non-production environments to zero outside business hours, and run a monthly FinOps review. Right-sizing plus reserved capacity commonly yields 30-35% savings without touching architecture.
Q4. Describe your Terraform/IaC workflow for production infrastructure.
Remote state with locking (Azure Storage backend), terraform plan output posted automatically as a PR comment, mandatory approval gate for production-affecting changes, separate state per environment, and reusable modules for repeated patterns. Run a scheduled drift-detection plan (e.g., weekly) to catch manual out-of-band changes before they cause a surprise on the next real deploy.
Q5. How do you achieve zero-downtime deployments in Azure? App Service: deployment slots — deploy to staging, smoke test, then swap (near-instant, reversible). AKS/Container Apps: rolling updates gated by readiness probes so traffic never routes to an instance that isn’t actually ready. For riskier changes, blue-green with Traffic Manager/Front Door gives an explicit, fast rollback path if the new version misbehaves under real traffic.
Q6. How do you secure service-to-service communication in Azure? Private Endpoints so traffic never traverses the public internet, Managed Identity so no credentials are stored or rotated manually, NSGs plus Application Security Groups for network segmentation, and Key Vault for anything that must remain a secret. For east-west inspection at scale, add Azure Firewall or a service mesh sidecar (mTLS) rather than relying on NSGs alone.
Q7. System-assigned vs. user-assigned Managed Identity — when do you use each? System-assigned is tied to the resource’s lifecycle — simplest option, use by default for a single resource’s own identity needs. User-assigned is independent and reusable across multiple resources — use it when several resources need to share the same identity/permission set, or when the identity must outlive any single resource.
Q8. How do you design database failover for high availability? Azure SQL auto-failover groups with a readable secondary and a listener endpoint the application always connects to — failover becomes transparent to the connection string. For Cosmos DB, multi-region writes with automatic failover priority. Regardless of engine, RTO/RPO targets should be defined explicitly up front (e.g., RTO < 1 hour, RPO < 5 minutes) since they dictate replication topology, not the other way around.
Q9. What is the Cloud Adoption Framework (CAF) and why does it matter for enterprise migrations? Microsoft’s structured methodology: Strategy → Plan → Ready (landing zones) → Migrate → Innovate → Govern → Manage. It matters because skipping the “Ready” phase — networking, identity, governance baseline — is the single most common cause of migrations that work in a pilot and then fall apart at enterprise scale.
Q10. How do you implement Zero Trust networking on Azure? Private Link/Private Endpoints for all PaaS access, NSGs plus Azure Firewall for segmentation and FQDN filtering, Conditional Access policies tied to identity risk signals, Managed Identities everywhere credentials would otherwise be needed, Azure Policy to enforce compliant configurations automatically, and Microsoft Sentinel for continuous monitoring. The underlying principle: never trust network location alone — verify identity and device posture on every request.
Q11. Explain Azure storage/data redundancy options and how you choose among them. LRS (3 copies, single datacenter — cheapest, no protection from a datacenter-level event), ZRS (3 copies across availability zones — protects against a datacenter failure within a region), GRS (6 copies, replicated to a paired region — protects against a full region failure, async so has some replication lag), GZRS (combines zone + geo redundancy). Choose based on the actual durability requirement, not habit — GRS/GZRS costs more and most workloads don’t need it.
Q12. How do you handle serverless (Azure Functions) cold starts in a latency-sensitive path? Use the Premium plan for pre-warmed instances if consumption-plan cold starts are unacceptable, minimize the dependency graph loaded at startup, prefer the isolated worker model with ReadyToRun/ ahead-of-time compilation, and as a cheap mitigation on Consumption, a keep-alive timer trigger. For genuinely latency-critical paths, consider whether Functions is the right compute model at all versus an always-on Container App.
Q13. How do you approach infrastructure cost/perf trade-offs for AI-heavy workloads (GPUs, vector search)? Right-size GPU SKUs against actual model memory footprint rather than over-provisioning “just in case,” use spot/low-priority instances for batch training or bulk re-embedding jobs, and separate the hot-path serving tier (needs guaranteed capacity) from the batch tier (can tolerate interruption). Track cost per query/token as a first-class metric alongside latency — the two trade off against each other constantly in model selection.
Q14. What’s the Azure Well-Architected Framework and how do you apply it in a design review? Five pillars: Reliability, Security, Cost Optimization, Operational Excellence, Performance Efficiency. In a design review, walk each pillar explicitly rather than defaulting to “does it work” — e.g., a design that passes functionally but has no cost guardrails or no defined RTO/RPO fails the framework even if it fails silently in an interview if you don’t call it out yourself.
Q15. How do you monitor and operate a Kubernetes/AKS cluster in production? Container Insights (Azure Monitor) for baseline cluster/pod metrics, Prometheus for deeper metric scraping, Grafana for dashboards, alerts on both node-level (resource pressure) and pod-level (crash loops, OOM kills) signals, and Azure Policy for Kubernetes to enforce compliance guardrails (no privileged containers, required resource limits, etc.) automatically rather than via manual review.