2653 questions · 63 companies · 53 topics

DevOps exercises &
interview questions

Read a real interview question, write your answer, then reveal the solution.

Mid·Linux·Google

Detect a memory leak by watching RSS
AnswerSort processes by resident memory, watch the node process's RSS climb over time, then kill it.
Solutionps -eo pid,rss,comm --sort=-rss | head → re-sample to confirm RSS keeps growing (a leak, not a spike) → kill <pid>

Practice with AI

Turn any question into a mock interview

Write your answer, then with one click, copy the question, your answer, and the solution as a ready-made prompt. Paste it into any AI to get graded and grilled with follow-ups, the way a real interviewer would.

Solution Yes. Use kubectl delete -f rs.yaml --cascade=orphan (older syntax: --cascade=false) to remove the ReplicaSet while leaving its Pods running.

Questions pulled from real interviews at

Spanning the topics you'll be tested on

Question

Loading…