DevOps & Cloud Interview Questions and Answers - Part 1

Migrate a stateful .NET app from Azure VMs to Azure Container Apps with zero downtime. Handle SQL Server Always On AG failover.

16 min Ā· 18. Sept. 2025
Episode Migrate a stateful .NET app from Azure VMs to Azure Container Apps with zero downtime. Handle SQL Server Always On AG failover. Cover

Beschreibung

Migrate a stateful .NET app from Azure VMs to Azure Container Apps with zero downtime. Handle SQL Server Always On AG failover. šŸŽ“ Ideal for: Cloud Engineers, DevOps Architects, SREs, Platform Engineers 🌐 For full transcripts, diagrams & PDF downloads, visit: šŸ‘‰ https://www.DevOpsInterview.Cloud šŸ“„ Download our ebook: 100 Real-World DevOps & Cloud Questions

Kommentare

0

Sei die erste Person, die kommentiert

Melde dich jetzt an und werde Teil der DevOps & Cloud Interview Questions and Answers - Part 1-Community!

Loslegen

2 Monate für 1 €

Dann 4,99 € / Monat Ā· Jederzeit kündbar.

  • Podcasts nur bei Podimo
  • 20 Stunden Hƶrbücher / Monat
  • Alle kostenlosen Podcasts

Alle Folgen

13 Folgen

Episode The Infrastructure Blueprint: The NodeClass Logic (Karpenter) Cover

The Infrastructure Blueprint: The NodeClass Logic (Karpenter)

Q5: The Infrastructure Blueprint (NodeClass) Concepts: EC2NodeClass, AMI, Subnet, SG, EBS SCENARIO: Security team mandates: specific AMI, private subnets only, custom security groups, and encrypted EBS. Where do you configure all this? What's the relationship between NodePool and NodeClass? WHAT THEY'RE TESTING: EC2NodeClass, AMI management, networking, separation of concerns THE ANSWER: • NODEPOOL = WHAT (requirements, constraints, behavior) • NODECLASS = HOW (infrastructure details for cloud provider) • EC2NodeClass configuration: Ā apiVersion: karpenter.k8s.aws/v1 Ā kind: EC2NodeClass Ā spec: Ā amiSelectorTerms: Ā - id: ami-0123456789 # Specific AMI Ā subnetSelectorTerms: Ā - tags: { 'tier': 'private' } Ā securityGroupSelectorTerms: Ā - tags: { 'karpenter': 'enabled' } Ā blockDeviceMappings: Ā - encrypted: true • NodePool references NodeClass: Ā spec: Ā template: Ā spec: Ā nodeClassRef: Ā name: secure-nodeclass → Separation allows: 1 NodeClass for many NodePools, easy AMI rotation

Gestern36 min
Episode Midnight Cleanup: Consolidation & Drift (Karpenter) Cover

Midnight Cleanup: Consolidation & Drift (Karpenter)

SCENARIO: It's 2 AM, traffic is at 5%, but we have 50 nodes running at 10% utilization. Also, some nodes are running an old AMI from 3 months ago. How does Karpenter handle both issues? WHAT THEY'RE TESTING: Consolidation, Drift Detection, Expiration (TTL) THE ANSWER: • CONSOLIDATION (underutilized nodes): Ā disruption: Ā consolidationPolicy: WhenEmptyOrUnderutilized Ā consolidateAfter: 30s Ā - Karpenter identifies low-utilization nodes Ā - Drains pods to other nodes, terminates empty ones • DRIFT DETECTION (old AMI): Ā - Karpenter compares node spec vs current NodeClass Ā - If AMI changed in NodeClass, node is marked 'drifted' Ā - Gracefully replaces with new node running correct AMI • EXPIRATION (TTL): Ā expireAfter: 720h # Force refresh every 30 days → All three are types of DISRUPTION - Karpenter's cleanup mechanism

28. Feb. 202625 min
Episode Unstuck: The Karpenter Lifecycle Cover

Unstuck: The Karpenter Lifecycle

SCENARIO: You deploy a new ML training job requiring 8 GPUs, but pods are stuck in Pending. The K8s Scheduler logs show 'no nodes available'. Walk me through exactly what Karpenter does to resolve this, step by step. WHAT THEY'RE TESTING: K8s Scheduler vs Karpenter's role, the 4-step lifecycle THE ANSWER: • WATCH: Karpenter controller watches for pods marked 'unschedulable' by K8s scheduler • EVALUATE: Reads ALL constraints from Pod Spec: Ā - Resource requests (8 GPUs, memory, CPU) Ā - nodeSelector, nodeAffinity, tolerations Ā - Topology spread constraints • PROVISION: Calls AWS EC2 API to launch instance matching ALL requirements Ā - Selects p3.16xlarge (8 GPUs) in correct zone Ā - Applies NodePool's taints, labels, kubelet config • RESULT: Node joins cluster, K8s scheduler binds the pod → Key insight: Karpenter provisions, K8s scheduler still does final binding!

26. Jan. 202639 min