Day 7 of the daily scenario-based interview prep series
▲ 5 r/Terraform+2 crossposts

Day 7 of the daily scenario-based interview prep series

DevOps Interview Prep Day 7: Secret Sprawl, Failed K8s Rolling Updates, and Prometheus OOM [Daily Series]

Hey r/devops,


Day 7

Scenario 1: The Secret Sprawl

You discover database passwords are hardcoded in 12 different repositories. Some in docker-compose files, some in Kubernetes manifests, some in shell scripts.

Question: What's your approach to centralize and secure these secrets? Name 2 tools/methods you'd use.

Hint: External secret stores, K8s native secrets vs external operators, CI/CD secret injection.


Scenario 2: The Rolling Update Gone Wrong

You triggered a Kubernetes rolling update for a new image version. Now half your pods run v1, half run v2, and v2 pods keep crashing. Traffic is partially broken.

Question:

  1. What's your immediate action to restore stability?
  2. What setting could have prevented this mess?

Hint: Rollback commands, maxUnavailable, readiness probes.


Scenario 3: The Prometheus Memory Explosion

Your Prometheus server keeps getting OOMKilled. Memory usage grows from 2GB to 16GB within hours. You have 50 microservices being scraped.

Question: What are 2 likely causes and how would you investigate?

Hint: High cardinality labels, retention period, number of active time series.


Drop your answers below. Solutions tomorrow.


Week 1 Recap:

  • Day 1: Container restarts, Registry auth, Pending pods
  • Day 2: Zombie processes, Pipeline timeouts, Volume mounts
  • Day 3: SSH lockouts, Disk space alerts, Grafana gaps
  • Day 4: Git credential leaks, Docker networking, Nginx 502s
  • Day 5: Slow Docker builds, CrashLoopBackOff debugging, Merge conflicts
  • Day 6: Env variable issues, ALB health checks, Terraform state lock

Week 1 done! What should Week 2 focus on? More K8s? Jenkins pipelines? Linux troubleshooting? Let me know in the comments.

YT Link: https://www.youtube.com/watch?v=ul9z-SBo53w&list=PLqOrZmpwbWUKRQTrFpqAKhChaTq0l5bIw

u/BookkeeperAutomatic — 6 days ago
▲ 2 r/devsecops+1 crossposts

DevOps Interview Prep Day 5: Slow Docker Builds, CrashLoopBackOff with Empty Logs, and Merge Conflict Hell

[removed]

u/BookkeeperAutomatic — 20 days ago
▲ 13 r/platform_engineering+6 crossposts

Daily DevOps Interview Questions - Day 1: These 3 scenarios trip up most freshers. Can you solve them?

Hey r/devopsjobs

I've been mentoring folks preparing for DevOps/Platform Engineering roles and noticed most "interview prep" content is just theory - "What is Kubernetes?""Explain CI/CD".

Real interviews at product companies are scenario-based. They give you a situation and expect you to debug it.

So I'm starting a daily series of real-world scenarios. These are beginner-friendly but practical - the kind you'll actually face on the job.

Day 1 - 26 July 2026

Scenario 1: The Restarting Container

You just joined as a junior DevOps engineer. A developer reports:

>

You run docker ps and see: Restarting (1) 30 seconds ago

Question: What's your first debugging command? What are you looking for? What's your tracing path?

Scenario 2: The Registry Rejection

Your Jenkins pipeline suddenly fails at "Push to Registry" with:

denied: requested access to the resource is denied

Same pipeline worked yesterday. No code changes.

Question: What are the 2 most likely causes? How would you verify each?

Scenario 3: The Pending Pod

You deployed a new microservice to Kubernetes. Pod stuck in Pending for 10 minutes.

kubectl describe pod shows:

0/3 nodes are available: 3 Insufficient cpu.

Question: What does this mean? What are your 2 options to fix it without adding new nodes?

Drop your answers in the comments! I'll post the solutions tomorrow with explanations.

If this is useful, I'll keep the series going daily. Let me know what topics you'd like covered - Linux, Docker, K8s, Jenkins, Terraform, Ansible, Monitoring - all fair game.

If you want to follow complete prep path : https://youtube.com/playlist?list=PLqOrZmpwbWUKRQTrFpqAKhChaTq0l5bIw&si=XSgYUZpHC9cuJnh-

u/BookkeeperAutomatic — 8 days ago