DevOps & Cloud Interview Prep: Real Scenarios & Answers
https://DevOpsInterview.Cloud
0
This podcast provides real DevOps and Cloud interview questions with answers from a senior engineer's perspective. Each episode covers production scenarios involving Kubernetes, AWS, Azure, GCP, Terraform, CI/CD, observability, and security. It offers short answers, deep dives, and common pitfalls that interviewers often probe. The show is designed for Cloud Engineers, DevOps and Platform Engineers, and SREs preparing for senior roles.
Epizodes
-
VPA vs HPA for Stateful Workloads: Autoscaler Deep Dive 22.07.2026 10minYour Cassandra node is getting evicted at 2 a.m. or your PostgreSQL replica is sitting on 4× the memory it needs — this episode breaks down exactly which autoscaler to reach for and why VPA vs HPA is a staple senior SRE interview question.You'll learn:Why HPA's scale-out model breaks for StatefulSets (token rings, replication slots, unacknowledged messages) and when vertical scaling is the only safe leverVPA's three components — recommender, admission controller, updater — and why update mode auto is the one that pages you at 2 a.m. for stateful workloadsThe safe progression: start in Off mode for two weeks, apply recommendations manually, then consider Initial mode — and why Auto is rarely worth it for anything with persistent stateThe HPA + VPA feedback loop failure: both watching CPU on the same workload, pod count oscillating, resource allocation in chaosThe clean split that actually works: HPA on queue depth (custom metric), VPA managing memory requests — distinct signals, no interferenceKeywords: VPA vs HPA Kubernetes, vertical pod autoscaler stateful workloads, autoscaler SRE interview, HPA VPA conflict, Kubernetes StatefulSet autoscaling🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud▶ Daily 30-second interview drills: DevOps Interview Cloud on YouTubeTranscriptYour stateful app is getting evicted every few hours, or it's sitting on four times the memory it actually needs, and you're not sure which autoscaler to reach for. That's the exact scenario interviewers love, because most candidates only know one half of the answer.Let's set the stage. You have a Cassandra node, a RabbitMQ broker, or a PostgreSQL read replica running in Kubernetes. It's a StatefulSet. Traffic is not uniform. Some days it's busy, some days it's quiet. Someone on your team says "just add HPA" and someone else says "we need VPA." Who's right? That question shows up in senior SRE and platform engineer interviews constantly, because the answer is not obvious and the wrong choice causes real incidents.Interviewers ask this because autoscaling is one of those topics where surface-level knowledge falls apart fast. Saying "HPA scales pods out, VPA scales pods up" is correct but incomplete. The follow-up is always: okay, so which one do you use for a stateful workload, and why? And then: what happens if you use both at the same time? If you can't answer those, you signal that you've only worked with stateless services.Here's the mental model you need. The HPA, the Horizontal Pod Autoscaler, works by changing the number of pod replicas. It watches a metric, CPU or memory or a custom one, and when that metric crosses a threshold it adds or removes pods. That works beautifully for stateless services. Each replica is identical, sessions don't matter, and spinning up a new pod behind a load balancer is invisible to users.Stateful workloads break that assumption. A Cassandra node owns a subset of the token ring. A RabbitMQ broker may hold unacknowledged messages. A PostgreSQL replica has an open replication slot. Adding a new pod doesn't instantly help because the new pod has to join the cluster, sync data, or acquire state before it can carry load. Scaling out fast is often dangerous. Scaling in is even worse because you might be removing a pod that holds data not yet replicated elsewhere.So for stateful workloads, the more useful lever is usually vertical. Give the existing pod more CPU or more memory so it can handle the load without needing a new replica. That's where the VPA, the Vertical Pod Autoscaler, comes in.VPA has three components. The recommender watches historical resource usage and calculates what your requests and limits should be. The admission controller patches those values into new pods at scheduling time. And the updater, this is the dangerous one, can evict running pods so they restart with the new resource values. The key knob is the update mode, and this is a common interview quest -
Kubernetes Scheduler Extenders: Custom Placement Logic 15.07.2026 9minLearn how to write a Kubernetes scheduler extender webhook that restricts GPU pods to nodes with NVLink interconnects. This episode covers the extender contract, KubeSchedulerConfiguration registration, filter and prioritize endpoints, and the latency tradeoffs interviewers probe in senior SRE and platform engineering interviews.Full interview prep guides and scenario walkthroughs: DevOpsInterview.Cloud -
The Kubernetes Machine: From kubectl apply to Running Containers 12.07.2026 54minWhat really happens when you run kubectl apply? In Part 1 of this Kubernetes masterclass, we go far beyond basic definitions and trace how Kubernetes works as a distributed, API-driven control system. You will learn how a YAML manifest moves through kubectl, the API server, authentication, authorization, admission, etcd, controllers, the scheduler, kubelet and the container runtime before finally becoming a running Pod. This episode also explains the deeper ideas that make Kubernetes work: Desired state versus observed state Reconciliation loops spec versus status Watches and events Labels and selectors ReplicaSets and Deployments Scheduling decisions Pod lifecycle Owner references, finalizers and garbage collection Server-side apply and field ownership By the end of this episode, you will be able to mentally replay the complete journey from user intent to a healthy running workload—and understand which component is responsible at every step. Mental model: Intent → Store → Observe → Reconcile Full interview prep guides and scenario walkthroughs: DevOpsInterview.Cloud -
Cluster Autoscaler vs Karpenter: Choosing at 500 Nodes 08.07.2026 10minMost engineers assume Karpenter is always the right answer for Kubernetes node autoscaling, but at 500 nodes the tradeoffs around ASG lock-in, provisioner complexity, and migration risk get serious. This episode breaks down when to keep Cluster Autoscaler, when Karpenter wins, and how to articulate both sides clearly in a senior DevOps or SRE interview. Covers real configuration details, scaling latency numbers, and common wrong answers interviewers flag.Full interview prep guides and scenario walkthroughs: DevOpsInterview.Cloud -
OOMKilled at Scale: Tuning JVM Heap in Kubernetes 05.07.2026 10minA Java service keeps getting OOMKilled in Kubernetes even though memory requests look fine on paper. This episode explains why JVM heap defaults ignore container limits, how to set maximum heap size correctly, and what interviewers expect when they probe your understanding of Java memory in containerized environments. Covers Xmx flags, UseContainerSupport, native memory overhead, and the tradeoffs between requests and limits.Full interview prep guides and scenario walkthroughs: DevOpsInterview.Cloud -
Karpenter Spot Interruption: Fallback & Graceful Drain 04.07.2026 33minWhen AWS fires the 2-minute Spot reclaim notice, Karpenter's interruption queue is the difference between a blip and a batch job disaster — here's exactly how to configure it.You'll learn:How to set karpenter.sh/capacity-type in a NodePool to prefer Spot with automatic On-Demand fallbackThe full interruption flow: SQS queue → cordon → graceful drain → pod rescheduling, all within the 2-minute windowWhy the order of values in the capacity-type array doesn't control selection — Karpenter uses price-capacity optimizationWhen to use strict values: ['spot'] and what happens when capacity dries upWhy Pod Disruption Budgets and gracefulTerminationPeriod are non-negotiable for fault-tolerant batch workloadsKeywords: Karpenter Spot interruption handling, Spot instance fallback on-demand, NodePool capacity type configuration, Kubernetes batch workload cost optimization, Spot 2-minute warning drain🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Canary Analysis for Flink Streaming: Prometheus, Loki & Pyroscope 04.07.2026 18minAutomated canary analysis for a Flink-based streaming app is a common senior SRE interview scenario — here's how to wire Prometheus, Loki, and Pyroscope into a production-grade rollout strategy.You'll learn:How to define canary success criteria using Prometheus metrics like consumer lag, throughput, and error rate on Flink jobsUsing Loki log queries to surface structured errors in canary vs. baseline deployments side-by-sideContinuous profiling with Pyroscope to catch CPU or memory regressions in the new Flink version before full rolloutHow automated analysis gates work — failing fast vs. baking time — and how to articulate the tradeoff in an interviewStitching observability signals into a single canary decision: pass, fail, or inconclusiveKeywords: canary deployment Flink, automated canary analysis SRE, Prometheus Loki Pyroscope, streaming app observability, DevOps interview questions🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Grafana Mimir Storage: Tiered S3 at 10TB/day 04.07.2026 13minGrafana Mimir storage at 10TB/day scale forces real trade-offs — here's how to configure tiered storage to S3 without bleeding cost or tanking query performance.You'll learn:How Mimir's store-gateway and compactor interact with S3-backed object storage at high ingest volumeConfiguring blocks_storage with tiered retention — keeping hot blocks in fast storage while offloading cold blocks to S3 Glacier-compatible tiersTuning compaction schedules and chunk caching (memcached) to reduce S3 GET costs under sustained 10TB/day ingestCommon pitfalls: misconfigured bucket lifecycle policies, compactor overlap errors, and index cache misses killing query latencySizing ruler and alertmanager storage separately so they don't contend with block storage I/OKeywords: Grafana Mimir S3 storage, Mimir tiered storage config, Mimir compactor tuning, metrics storage at scale, Mimir blocks_storage🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
SLO Error Budget Burn Rate: Azure Zone Outage Math 23.06.2026 10minIf your service has a 99.99% SLO and Azure drops a zone for 15 minutes, here's exactly how to calculate the error budget burn rate before your next SRE interview.You'll learn:How to derive total monthly error budget from a 99.99% SLO (~4.38 minutes/month)Why a 15-minute outage consumes roughly 3.4x your entire monthly budget — and how to show that mathThe burn rate formula interviewers expect: burn rate = error rate / (1 − SLO target)How fast vs. slow burn rates map to alerting windows in Google's SRE workbook approachCommon gotchas: partial zone failures, dependency blame, and how to frame mitigation in your answerKeywords: SLO error budget burn rate, Azure availability zone outage, SRE interview questions, error budget calculation, 99.99 SLO math🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
PCI-DSS Serverless Payments on GCP: Confidential VMs, CEKM & Binary Authorization 23.06.2026 18minDesigning a PCI-DSS compliant serverless payments architecture on GCP means getting Confidential VMs, Cloud External Key Manager, and Binary Authorization working together — here's how to answer that in a senior interview.You'll learn:How Confidential VMs provide hardware-level memory encryption to satisfy PCI-DSS data-in-use requirementsWhy Cloud External Key Manager (CEKM) lets you hold encryption keys outside GCP's control — and what that means for scope reductionHow Binary Authorization enforces cryptographic attestation so only verified container images reach your payment workloadsThe serverless boundary decisions (Cloud Run vs bare GKE) that affect your Cardholder Data Environment scopeCommon interview gotchas around shared responsibility, audit logging with Cloud Audit Logs, and VPC Service Controls for perimeter defenceKeywords: PCI-DSS GCP architecture, Confidential VMs interview, Cloud External Key Manager, Binary Authorization Cloud Run, serverless payments compliance🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Cross-Account EKS with AWS CDK: VPC Peering and Transit Gateway 23.06.2026 13minDeploying EKS clusters across AWS accounts with CDK is a common senior interview scenario — here's how to handle VPC peering, Transit Gateway attachments, and IAM trust policies correctly.You'll learn:How to structure a multi-account CDK app using Stacks across environments with explicit env account/region targetsWhen to use VPC peering vs Transit Gateway for cross-account EKS network connectivity, and the trade-offs at scaleHow to wire up Transit Gateway attachments and route table propagation so worker nodes can reach shared servicesCross-account IAM role assumptions and EKS RBAC config required for cluster access from a management accountCommon CDK gotchas: bootstrap trust policies, asset S3 bucket permissions, and cross-account CFN execution rolesKeywords: cross-account EKS CDK, AWS Transit Gateway EKS, VPC peering Kubernetes, multi-account EKS architecture, AWS CDK EKS interview🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
OpenTelemetry + CloudWatch Logs Insights: Tracing Serverless Apps 21.06.2026 18minCorrelating OpenTelemetry traces with CloudWatch Logs Insights across Lambda and Step Functions is a common senior interview scenario — here's exactly how to answer it.You'll learn:How to propagate trace context (W3C TraceContext headers) across Lambda invocations and Step Functions state transitions so trace IDs land in your structured logsConfiguring the AWS Distro for OpenTelemetry (ADOT) Lambda layer to auto-instrument functions without cold-start penaltiesWriting CloudWatch Logs Insights queries that join on trace_id to reconstruct an end-to-end execution timeline across servicesWhere correlation breaks — async Step Functions callbacks, missing X-Amzn-Trace-Id propagation, and log sampling mismatchesTrade-offs between ADOT, X-Ray native SDK, and a third-party collector like the OpenTelemetry Collector on FargateKeywords: OpenTelemetry Lambda tracing, CloudWatch Logs Insights trace correlation, ADOT Step Functions, serverless observability interview questions🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Terraform State Splitting: terraform state rm + moved Blocks 21.06.2026 20minSplitting a monolithic 4GB Terraform state file into scoped microstates is one of the nastiest live-infrastructure challenges you'll face — here's how to do it without downtime using terraform state rm and moved blocks.You'll learn:Why state files balloon past 4GB and why that breaks plan/apply performanceHow to use terraform state rm to surgically extract resources without destroying themUsing moved blocks to re-home resources into child state backends cleanlySequencing the migration to avoid drift, lock contention, and accidental deletesHow to validate microstate integrity with terraform state list and targeted plans before cutting overKeywords: terraform state splitting, terraform state rm, moved blocks terraform, monorepo to microstate migration, terraform refactor interview🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Monorepo CI at Scale: Bazel Caching for 1,000 Microservices 20.06.2026 20minDesigning a monorepo CI pipeline that doesn't collapse under 1,000 microservices means getting Bazel remote caching and selective test execution right from the start.You'll learn:How to structure a monorepo CI pipeline so only affected services trigger builds — using Bazel's dependency graph to compute the minimal affected setConfiguring Bazel remote caching (local cache, shared remote cache via gRPC or HTTP) to avoid rebuilding unchanged targets across parallel CI workersSelective testing strategies: combining bazel query with --build_event_stream to identify and run only impacted test targetsCommon failure modes at scale — cache poisoning, overly broad BUILD file dependencies, and flaky remote executor connectionsHow to structure the CI orchestration layer (GitHub Actions, Buildkite, or Tekton) to fan out Bazel shards without thrashing the remote cacheKeywords: monorepo CI pipeline, Bazel remote caching, selective testing microservices, CI at scale DevOps interview, platform engineering build systems🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Azure RBAC with Pulumi: Dynamic Roles from YAML 20.06.2026 17minLearn how to generate dynamic Azure RBAC role assignments using Pulumi with YAML-driven definitions — including tag-scoped conditions like restricting storage access to env:prod resources only.You'll learn:How to define custom Azure RBAC roles in YAML and hydrate them through Pulumi's automation layerUsing condition and conditionVersion fields in role assignments to enforce attribute-based access control (ABAC)Scoping storage permissions to resources matching specific tag key/value pairs at assignment timeStructuring Pulumi component resources so YAML definitions stay DRY across multiple environmentsCommon gotchas: condition syntax errors, propagation delays, and principal vs. scope mismatchesKeywords: Azure RBAC Pulumi, dynamic role assignments Azure, Pulumi YAML infrastructure, Azure ABAC tag conditions, custom RBAC roles interview🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Prometheus Cardinality: Cutting 10M Series to 500K for Istio 17.06.2026 22minTaming Prometheus cardinality explosion in an Istio service mesh — dropping from 10 million to 500K active series using relabel_configs and recording rules — is exactly the kind of production war story senior SRE interviews dig into.You'll learn:Why Istio telemetry generates cardinality explosions and which high-cardinality labels (source_workload, destination_service, pod IPs) are the usual culpritsHow to use metric_relabel_configs to drop or rewrite labels before series are ingested into TSDB storageWriting recording rules to pre-aggregate high-resolution Istio metrics into lower-cardinality rollupsUsing topk and cardinality analysis queries to identify which metrics are burning your series budgetTrade-offs between dropping labels at scrape time versus aggregating at query time — and why interviewers care about the differenceKeywords: Prometheus cardinality, Istio metrics, relabel_configs, recording rules, TSDB series limit🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Conftest in Argo CD: Block Public S3 Buckets at GitOps Gate 17.06.2026 18minA developer pushes a Terraform module with a public S3 bucket — here's exactly how to catch and block it in your Argo CD pipeline using Conftest policy-as-code before it ever reaches production.You'll learn:How Conftest integrates with Argo CD as a pre-sync hook to enforce OPA policies on Terraform plansWriting a Rego rule that flags acl = public-read or block_public_acls = false on aws_s3_bucket resourcesWhere in the GitOps workflow the gate fires — and why admission controllers alone aren't enough for IaC driftHow to surface policy failures as Argo CD sync errors so engineers see the violation before merge, not after deployCommon gotchas: Terraform plan JSON output format, conftest namespace mismatches, and false positives on legacy modulesKeywords: Conftest Argo CD policy, OPA Terraform GitOps, block public S3 bucket IaC, GitOps security controls, Rego policy Terraform plan🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Terragrunt at Scale: Dependency Graphs, Circular Deps & OCI Versioning 17.06.2026 19minManaging a Terragrunt dependency graph across 500+ modules without hitting circular dependencies or version drift is one of the hardest scaling problems in platform engineering.You'll learn:How to map and audit a large Terragrunt dependency graph using terragrunt graph-dependencies and DAG visualisation toolsPatterns for structuring module hierarchies to prevent circular dependencies before they reach CIEnforcing module versioning with OCI registries — why OCI beats Git tags at this scaleHow to segment a 500+ module monorepo into dependency tiers so targeted runs stay fastCommon failure modes: implicit dependencies, missing mock_outputs, and run-all ordering bugsKeywords: Terragrunt dependency graph, Terragrunt at scale, OCI module registry, circular dependencies Terraform, platform engineering IaC🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
External Secrets Operator: Vault Dynamic Secrets in Kubernetes Without Sidecars 17.06.2026 16minExternal Secrets Operator lets you sync HashiCorp Vault dynamic secrets directly into Kubernetes Secrets — no Vault Agent sidecars, no annotation sprawl.You'll learn:How ESO's ExternalSecret and SecretStore CRDs map Vault paths to Kubernetes SecretsWhy dynamic secrets (short-lived, auto-rotated) are preferable to static tokens and how ESO handles lease renewalThe auth methods ESO supports for talking to Vault — Kubernetes auth vs. AppRole and when to use eachCommon failure modes: stale secrets after Vault seal, RBAC misconfigs, and refresh interval gotchasHow to scope a ClusterSecretStore safely across namespaces without over-permissioningKeywords: External Secrets Operator, HashiCorp Vault Kubernetes integration, dynamic secrets management, Vault sidecar alternative, Kubernetes secrets sync🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud -
Jenkins Helm Deadlocks: Diagnose with jstack and Mutex Locks 16.06.2026 15minParallel Jenkins jobs deploying Helm charts can deadlock silently — here's how to catch and fix mutex contention before it kills your pipeline.You'll learn:Why concurrent Helm deploys compete for the same release lock and how that surfaces as a deadlock in JenkinsHow to run jstack against the Jenkins JVM to capture thread dumps and identify which threads are waiting on a monitor lockReading mutex lock output to pinpoint the blocked executor and the thread holding itHelm-side mitigations: namespace isolation, --atomic flag behaviour, and serialising releases with lockfiles or pipeline lock() stepsWhen to escalate from a workaround to a structural fix — separate agents, dedicated namespaces, or a Helm operator patternKeywords: Jenkins parallel jobs deadlock, Helm chart deployment lock, jstack thread dump Jenkins, mutex lock CI/CD pipeline, Jenkins pipeline concurrency🎧 Listen, then go deeper — DevOps & Cloud interview-prep ebooks at DevOpsInterview.Cloud
Populārs valstī
Šis podkasts parādās arī šo valstu podkastu topos.