SkillUpWorks
Linux Troubleshooting Prep

Linux Troubleshooting Interview Questions for DevOps and SRE

Prepare for Linux troubleshooting interviews with questions on processes, systemd, networking, disk, memory, CPU, logs, permissions, performance and production incidents. This guide gives you a production-minded preparation path before you open the full premium SkillUpWorks question bank.

Why this topic matters in interviews

Linux troubleshooting is still core for DevOps and SRE roles. Interviewers test whether you can diagnose live system issues safely using commands, logs, metrics and structured reasoning.

Linux systemd Networking Disk Memory Logs

15 interview questions to prepare

1. How do you troubleshoot high CPU usage?

Use top/htop, ps, pidstat, check process behavior, threads, recent deployments and logs.

2. How do you troubleshoot high memory usage?

Use free, top, ps, smem, dmesg for OOM, application metrics and memory limits.

3. How do you troubleshoot disk full?

Use df, du, lsof deleted files, logs, Docker images, journal size and cleanup safely.

4. What is load average?

Load average shows runnable or uninterruptible tasks over time. Interpret it relative to CPU cores and workload type.

5. How do you troubleshoot service not starting?

Use systemctl status, journalctl -u, config validation, permissions, ports, dependencies and recent changes.

6. How do you troubleshoot network connectivity?

Check IP, route, DNS, firewall, ports, ss/netstat, ping, curl, traceroute and tcpdump.

7. How do you check open ports?

Use ss -lntp or netstat to see listening services and owning processes.

8. How do you troubleshoot DNS issues?

Check resolv.conf, systemd-resolved, dig/nslookup, search domains and upstream DNS reachability.

9. How do you find large files?

Use du, find, sort and check logs/cache directories carefully before deleting.

10. How do you troubleshoot permission denied?

Check ownership, mode, ACLs, SELinux/AppArmor, mount options and parent directory permissions.

11. What is inode exhaustion?

A filesystem can run out of inodes even with free space. Use df -i and find directories with too many small files.

12. How do you troubleshoot slow server performance?

Check CPU, memory, disk IO, network, load, processes, logs, application metrics and external dependencies.

13. How do you analyze logs?

Use journalctl, tail, grep, awk, timestamps, correlation IDs and recent-change timeline.

14. How do you handle a hung system?

Check console, load, IO wait, dmesg, blocked processes, storage, network and avoid unsafe reboot unless necessary.

15. What makes a senior Linux answer strong?

A senior explains safe diagnosis, impact, commands, root cause, mitigation, validation and prevention.