Command Line Proficiency and Troubleshooting Questions
Comfortable using shell commands for system troubleshooting and administration. Key tools: ps (process information), top and htop (real-time monitoring), grep, sed, awk (text processing), curl (HTTP requests), netstat and ss (network statistics), du and df (disk usage), kill and killall (process termination), tar and gzip (compression). Know how to redirect I/O, pipe commands together, and create simple scripts. Understand how to use man pages.
EasyTechnical
67 practiced
You're the on-call SRE and a service process is unresponsive. Using only local CLI tools and man pages, describe how you'd discover available Unix signals, learn their meanings, and decide whether to send SIGTERM or SIGKILL. Include the specific commands you would run to list signals and to read man-page sections for signals and kill semantics, and explain your decision criteria for which signal to use in production.
HardSystem Design
50 practiced
Design a small, human-readable on-call CLI runbook structure (sections and example commands) for diagnosing a web service outage using only shell tools. The runbook should prioritize quick evidence collection, safe remediation actions, and escalation steps. Provide sample commands and explain how to make the runbook executable and version-controlled.
MediumTechnical
40 practiced
Describe a reliable one-liner using ss (or netstat) that lists listening TCP ports and the associated process names/PIDs, excluding IPv6, and explain how to interpret the output to map a socket to a service unit or binary.
HardTechnical
48 practiced
Security/privacy: When using tcpdump or similar packet-capture tools on production to troubleshoot API failures, what CLI options and practices would you use to minimize exposure of sensitive data (PII, auth tokens) while still collecting useful network metadata? Provide example tcpdump commands and redaction strategies.
MediumTechnical
35 practiced
The systemd journal shows frequent service restarts. From CLI, how would you collect recent journal entries for a specific service, correlate restarts with timestamps, extract the Restart= or exit code information, and save the artifact for a postmortem? Provide the commands (journalctl or alternatives) and explain how you'd filter by boot id and time-range.
Unlock Full Question Bank
Get access to hundreds of Command Line Proficiency and Troubleshooting interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.