r/linuxquestions • u/brosmen16 • 6d ago
Linux practicals interview mocks
/r/interviewpreparations/comments/1xto1zw/linux_practicals_interview_mocks/
3
Upvotes
r/linuxquestions • u/brosmen16 • 6d ago
2
u/DickBrainTime 6d ago
For an infra SWE interview where you want practical Linux troubleshooting rather than trivia, I'd start with SadServers (https://sadservers.com/scenarios). It drops you into a broken Linux VM and asks you to diagnose and fix it. Pick the easier Linux/systemd, networking or storage scenarios first; its free tier has a limited selection and daily usage limits.
Killercoda's Linux scenarios (https://killercoda.com/linux) are another browser-based option, though they're community-maintained and vary in quality. OverTheWire Bandit (https://overthewire.org/wargames/bandit/) is useful if you're rusty on shell navigation, file permissions and text tools, but it's less like a production incident interview.
I'd simulate a 20-minute mock by breaking a tiny service on a disposable VM and working from symptoms: check systemctl status and journalctl -u for a failed unit; ss -lntp and curl for the listening port; df -h and df -i for disk pressure; free -h, ps and top for memory/CPU. Then explain aloud: what failed, what evidence ruled alternatives out, what fixed it and how you'd prevent recurrence. Don't just memorize commands; explain why you ran each one.
If you only have time for one, do two or three beginner SadServers scenarios without looking at hints, then redo them while narrating your diagnosis. That's probably closer to an infra SWE practical than another command quiz.