Linux Interview Questions
Linux Interview Questions
Linux
Interview Questions
1|Pa ge
Commonly Asked Linux Interview Questions
Basic Question:
1) What is Linux?
2) What is Kernel?
3) What is Bash?
5) What is SHELL?
6) What is SWAP?
11) Name the first process which start, whenever the kernel boot and what is the PID for
that?
2|Pa ge
17) What does SAR provide? Where are the logs stored?
LVM Question:
3|Pa ge
2) What are the steps involved in setting up LVM on a Linux system?
4) Can you explain the process of creating, extending, and removing Logical Volumes within
a Volume Group?
5) In the event of metadata corruption or other failures, what steps can be taken to recover
an LVM setup?
6) Discuss best practices for maintaining the integrity of an LVM configuration and
preventing potential failures.
Networking Question:
3) How do you configure ROUTE and how can we check the same, share the command?
4|Pa ge
7) How to configure NFS server? And which file we should configure to share the content?
Advanced Question:
11) How do you perform incident response and root cause analysis in LINUX?
13) Explain the process to reset ROOT password in Single User Mode?
5|Pa ge
15) What is Linux Virtual Memory?
17) What are some common reason for Linux system not Booting up?
20) What are the difference ways in which we can secure the website?
1) What is Nginx?
7) How can Nginx be configured to implement rate limiting and throttling for incoming
requests?
16) What are the difference ways in which we can secure the website?
17) What is the error code 403 and 404 in Tomcat means?
18) Explain how Tomcat manages sessions in web applications. What strategies can be
employed to optimize session handling for scalability and fault tolerance?
19) Explain the role of Tomcat Manager and how it is used for application deployment,
monitoring, and management tasks.
20) How can you define and configure contexts for different applications within Tomcat?
7|Pa ge
DNS Question:
1) What is the Domain Name System (DNS) and its role in networking?
2) Explain the difference between a forward lookup and a reverse lookup in DNS.
3) How do you configure DNS settings on a Linux system using /etc/resolv.conf? Which
parameters are commonly used in this file?
4) Explain the concept of DNS zones. What is the difference between a forward lookup zone
and a reverse lookup zone?
6) What is the purpose of DNS forwarders and resolvers? How do they differ, and how are
they configured on a Linux DNS server?
9) Define DNS cache poisoning. How can DNS cache poisoning attacks be mitigated or
prevented?
10) Discuss the role of root DNS servers in the DNS hierarchy. How do they function and
contribute to the DNS resolution process?
RAID Questions:
1) What is RAID?
8|Pa ge
3) How many drivers require for RAID0, RAID1, RAID5,RAID6 and RAID10?
5) Describe how parity and striping work in RAID configurations. What are their roles in
different RAID levels?
6) What is a hot spare in RAID configurations? How does it contribute to fault tolerance, and
how is it managed within RAID setups?
8) Discuss the data recovery process in RAID 10 configurations. What steps are involved in
recovering data after a disk failure?
9) Explain how mirroring works in RAID 1. What advantages and limitations does RAID 1
mirroring have?
10) Describe the RAID rebuild process after a disk failure. How long does it typically take?
11) How do you monitor RAID health and status? What tools or methods can be used for
proactive monitoring and alerting?
12) How does RAID work with SSDs? Are there any specific considerations or optimizations
when using SSDs in a RAID setup?
13) How does RAID ensure data integrity? What mechanisms or checks are in place to
prevent data corruption within RAID arrays?
9|Pa ge
THANK YOU.!!
10 | P a g e