Linux Administrator Interview Questions And Answers
Download Linux Administrator Interview Questions and Answers PDF
Optimize your Linux Administrator interview preparation with our curated set of 43 questions. Each question is designed to test and expand your Linux Administrator expertise. Suitable for all experience levels, these questions will help you prepare thoroughly. Get the free PDF download to access all 43 questions and excel in your Linux Administrator interview. This comprehensive guide is essential for effective study and confidence building.
43 Linux Administrator Questions and Answers:
Linux Administrator Job Interview Questions Table of Contents:
1 :: Tell me which components of Linux provides pre-written code that a developer can use?
Linux libraries contain pre-written code that a developer can reuse in their applications.
Your company purchased 5 new laptops. Laptop have Intel core i3 processor and Window 8 installed. Your network admin wants to install RHEL on them, but is concerned that it cannot be done because they already have Window 8 installed. Can this be done?
Yes you can install any operating system as long as the hardware is compatible. Hardware and operating systems are modular. Computer hardware is not tied in any way to a particular OS. Every OS have some minimum hardware requirements, if your hardware meets with that requirements, you can install that OS.
You are a network administrator, your company wants you to download the source code of latest Linux kernel for the developer team. Can you do this?
Source code of Linux kernel is available under the GPL license. Under the GPL, you are free to download the Linux source code and modify it.
Your company have less funds but need a reliable file server set up? Which OS and file server service can you use ?
Use Linux operating with NFS file service.
You have purchased new laptop and want to resell old one, but you don't want to violate any licensing for OS. What can you do to avoid violating a software license?
You can install Linux OS. All major software's for Linux are available under the GPL, those you can use without violating any software license.
Read MoreYour company purchased 5 new laptops. Laptop have Intel core i3 processor and Window 8 installed. Your network admin wants to install RHEL on them, but is concerned that it cannot be done because they already have Window 8 installed. Can this be done?
Yes you can install any operating system as long as the hardware is compatible. Hardware and operating systems are modular. Computer hardware is not tied in any way to a particular OS. Every OS have some minimum hardware requirements, if your hardware meets with that requirements, you can install that OS.
You are a network administrator, your company wants you to download the source code of latest Linux kernel for the developer team. Can you do this?
Source code of Linux kernel is available under the GPL license. Under the GPL, you are free to download the Linux source code and modify it.
Your company have less funds but need a reliable file server set up? Which OS and file server service can you use ?
Use Linux operating with NFS file service.
You have purchased new laptop and want to resell old one, but you don't want to violate any licensing for OS. What can you do to avoid violating a software license?
You can install Linux OS. All major software's for Linux are available under the GPL, those you can use without violating any software license.
2 :: Tell me which Linux service is used to turn a Linux system in proxy server?
Squid service can be used to turn any Linux system into an in proxy server.
Read More3 :: Tell me which Linux service is used as a database server?
MySQL and PostgreSQL are Linux database server.
Read More4 :: What Linux service is used to provide network file storage?
NFS service is used to provide file sharing.
Read More5 :: Which Linux services provides network printing?
CUPS provide network printing between Linux systems. It can be used with Samba service to extend network printing to windows systems.
Read More6 :: What platform of Linux was originally created to run on?
Linux was originally created to run on the Intel x86 platform.
Read More7 :: What is the mean of GPL?
GPL stands for General Public License and it was created to protect the intent of the GNU project.
Read More8 :: Do you know under which licenses Linux kernel released?
The Linux kernel is released under the GNU General Public License version 2 (GPLv2), and is developed by contributors worldwide.
Read More9 :: Do you know who initiated the GNU project?
GNU project was initiated by Richard Stallman on 27 September 1983 at MIT. Main motive of this project was to give freedom and control in use of software's. GNU software guarantees these freedom-rights legally via its license. Users are free to run the software, share it, copy it, distribute it, study it and modify it.
Read More10 :: Can you please explain the difference between Linux and UNIX?
Linux kernel was built to work like UNIX but doesn't use any of the UNIX code-this is why Linux is not UNIX. A kernel is the core of any operating system.
Read More11 :: What is POSIX?
POSIX stands for Portable Operating System Interface for Computer Environments. It is the standard for ensuring compatibility between UNIX versions.
Read More12 :: Do you know who posted the source code of Linux kernel on the internet and invited other programmers to modify and enhance?
In 1991 Linus Torvalds, a 21-year-old student at the University of Helsinki Finland posted the source code of Linux kernel on the Internet and invited other programmers to modify and enhance it.
Read More13 :: What is Minix?
Minix is the UNIX clone written by Andrew Tanenbaum at VU University, in Amsterdam when universities were no longer allowed access to the UNIX source code. MINIX also inspired the creation of the Linux kernel.
Read More14 :: Explain load average in linux?
Load Average is defined as the average sum of the number of process waiting in the run queue and number of process currently executing over the period of 1,5 and 15 minutes. Using the 'top' and 'uptime' command we find the load average of a linux sever.
Read More15 :: How to find all the regular files in a directory?
By using the command 'find /<directory -type f'.
Read More17 :: Which command is used to sign requested certificates in Puppet Server?
puppetca -sign hostname-of-agent' in (2.X) & 'puppet ca sign hostname-of-agent' in (3.X)
Read More18 :: Define manifests in Puppet?
Manifests, in Puppet, are the files in which the client configuration is specified.
Read More19 :: Explain Puppet Server?
Puppet is an open-source & enterprise software for configuration management toll in UNIX like operating system. Puppet is a IT automation software used to push configuration to its clients (puppet agents) using code. Puppet code can do a variety of tasks from installing new software, to check file permissions, or updating user accounts & lots of other tasks.
Read More20 :: How to add & change the Kernel parameters?
To Set the kernel parameters in linux , first edit the file '/etc/sysctl.conf' after making the changes save the file and run the command 'sysctl -p' , this command will make the changes permanently without rebooting the machine.
Read More21 :: How we find WWN numbers of HBA cards in Linux Server?
We can find the WWN numbers of HBA cards using the command 'systool -c fc_host -v | grep port_name'
Read More22 :: How to scan newly asssigned luns on linux box without rebooting?
There are two ways to scan newly assigned luns :
Method 1: if sg3 rpm is installed , then run the command 'rescan-scsi-bus.sh'
Method 2: Run the Command , echo " - - - " > /sys/class/scsi_host/hostX/scan
Read MoreMethod 1: if sg3 rpm is installed , then run the command 'rescan-scsi-bus.sh'
Method 2: Run the Command , echo " - - - " > /sys/class/scsi_host/hostX/scan
23 :: How to upgrade Kernel in Linux?
We should never upgrade Linux Kernel , always install the new New kernel using rpm command because upgrading a kenel can make your linux box in a unbootable state.
Read More24 :: How to enable a service at a particular run level?
We can enable a service using the Command 'chkconfig <Service-Name> on -level 3′
Read More25 :: Which services are enabled at a particular run level in linux server?
With the help of command 'chkconfig -list | grep 5:on' we can list all the service that are enabled in run level5. For other run levels just replace 5 with the respective run level.
Read More