APURV
  • Home
  • Journey
  • Projects
  • Blogs
  • Interview
  • Exams
Resume
APURV

Building scalable, secure, and production-ready cloud infrastructure. Automation first.

NAVIGATION

HomeExperienceProjectsCertificationsSkills

TECH STACK

AWSGCPK8sCI/CDLinuxDocker

CONNECT

LinkedInGitHubEmailResume

© 2026 Apurv Gujjar. All rights reserved.
Apurv Gujjar
Apurv GujjarDevOps & Cloud Engineer
|Interview Documentation
Portfolio
Handbooks
🎯Linux🐙Git & GitHub🤖GitHub Actions🌐Networking☁AWS🛠Terraform🐳Docker☸Kubernetes📊Monitoring🛡DevSecOps💰Cost Optimization🚨Incident Scenarios👤HR & Behavioral☁GCP🐍Python
Interview DocumentationLinux

Linux

Production-ready Linux Interview Guide for DevOps Engineers

Q1

Explain what Linux is and why it is widely used in DevOps environments.

💬Answer
  • What is Linux? An open-source, Unix-like operating system kernel developed by Linus Torvalds in 1991.
  • Why DevOps Prefers It? Widely adopted due to its:
    • Stability & Scalability: Runs continuously under heavy workloads without crashing.
    • Security & Performance: Strict privilege boundaries, resource constraints, and low footprint.
    • Automation First: Highly compatible with script automation, cloud deployments, and container runtimes (Docker/Kubernetes).
Q2

What is the Linux kernel and what role does it play in the operating system?

Q3

Explain the Linux filesystem hierarchy and the purpose of /etc, /var, /home, /tmp, and /usr.

Q4

What happens internally when you run the `ls` command in Linux?

Q5

What is the difference between Linux and UNIX?

Q6

What is the role of the shell in Linux?

Q7

What are the different types of shells available in Linux?

Q8

What is the root user and why is it powerful?

Q9

How do you create, copy, move, and delete files in Linux?

Q10

What is the difference between `cp` and `mv` commands?

Q11

What happens if you run `rm -rf /` accidentally?

Q12

How do you search for a file in a Linux system?

Q13

What is the difference between a soft link and a hard link?

Q14

When would you use a symbolic link in a DevOps environment?

Q15

How do you check the disk usage of a directory?

Q16

How do you create a new user in Linux?

Q17

How do you assign a user to a group?

Q18

What is the difference between a primary group and a secondary group?

Q19

What are `/etc/passwd` and `/etc/shadow` files used for?

Q20

How do you delete a user and ensure cleanup of their home directory?

Q21

What is the purpose of the `wheel` group in Linux?

Q22

Explain Linux file permissions (read, write, execute).

Q23

What is the numeric permission system (like 755, 644)?

Q24

How does `chmod 777` affect security?

Q25

What is `umask` in Linux?

Q26

What is ACL and why is it used in DevOps systems?

Q27

What is the difference between foreground and background processes?

Q28

What is a zombie process and how do you find one?

Q29

What is an orphan process?

Q30

What is `grep` and how is it used in log analysis?

Q31

What are `awk` and `sed` used for in DevOps?

Q32

What is mounting and unmounting in Linux?

Q33

What is `/etc/fstab` used for?

Q34

What happens if a disk becomes 100% full in production?

Q35

How do you check open ports in Linux?

Q36

What is a firewall and how does it work in Linux?

Q37

What is SSH key authentication and how does it work?

Q38

What is the difference between `scp` and `rsync`?

Q39

How do you monitor log updates in real-time?

Q40

How do you debug a failed systemd service?

Q41

What is the difference between `enable` and `start` in systemd?

Q42

What is the difference between `yum`/`dnf` and `apt`?

Q43

How do you schedule and list cron tasks?

Q44

What is the significance of the shebang `#!/bin/bash` in a script?

Q45

What does `$?` represent in shell scripting?

Q46

Explain the step-by-step Linux boot sequence.

Q47

What is an Inode in the Linux filesystem?

Q48

How do you monitor CPU, memory, disk, and network usage in a Linux server in real time?

Q49

What is load average in Linux and how do you interpret it?

Q50

What is the difference between CPU usage and load average?

Q51

What is log rotation, why is it required, and how does `logrotate` work?

Q52

How do you secure a Linux server in production?

Q53

How do you recover a system if `/etc/fstab` is misconfigured?

Q54

What is LVM and how do you extend disk space online?

Q55

What happens internally when a packet travels from client to server?

Q56

What is context switching?

Q57

What is idempotency in automation?

Q58

Production outage occurs at midnight — what is your step-by-step response?

Q59

What is Inode table exhaustion?

Q60

You are given access to a new Linux server with no documentation — how do you understand its purpose?

Q61

Kernel & Internals

Q62

What is the difference between user space and kernel space?

Q63

What are system calls (syscalls) in Linux?

Q64

What is CPU scheduling in Linux?

Q65

What is context switching?

Q66

Memory Management

Q67

What is virtual memory?

Q68

What is paging?

Q69

What is page fault?

Q70

What is OOM killer?

Q71

File System Deep Concepts

Q72

What is superblock?

Q73

What is journaling in ext4?

Q74

Difference between ext3 and ext4?

Q75

What happens when file is deleted in Linux?

Q76

Permissions (Deep Level)

Q77

What happens internally when chmod is executed?

Q78

What is effective user ID?

Q79

What is sticky bit used for?

Q80

️ 5. Process Management (Advanced)

Q81

What is init process?

Q82

What is orphan process?

Q83

What is fork bomb?

Q84

What is nice value?

Q85

Device & Hardware

Q86

What is /dev directory?

Q87

What is kernel driver?

Q88

What is udev?

Q89

Signals

Q90

What are signals in Linux?

Q91

Difference between SIGKILL and SIGTERM?

Q92

Performance & Debugging (Linux Only)

Q93

What is iowait?

Q94

What is load average really measuring?

Q95

What is vmstat used for?

Q96

What is strace?

Q97

What is lsof?

Q98

Boot & System (Advanced Gap)

Q99

What is initramfs?

Q100

What is runlevel in Linux?

Q101

Final Real Interview Questions

Q102

Why does Linux prefer command line over GUI for servers?

Q103

Why is everything treated as a file in Linux?

Q104

What happens when CPU is fully utilized?

Q105

What happens when inode table is full?

Apurv Gujjar - DevOps & Cloud Engineer
Created by

Apurv Gujjar

DevOps & Cloud Engineer

Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio