EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login

Linux System Administration Interview Questions

By Priya PedamkarPriya Pedamkar

Home » Software Development » Software Development Tutorials » Linux Tutorial » Linux System Administration Interview Questions

Linux System Administration interview questions

Introduction to Linux System Administration Interview Questions and Answers

Linux System Administration is the process of administering the Linux System and its processes by configuring, maintaining and upgrading the Linux Systems which runs on any of the major Linux Distribution Systems such as Red Hat Linux, Debian, and Ubuntu etc. It contains the management of enterprise Linux infrastructure. Different Programs and Processes can be managed and maintained in Linux administration. The other administering elements involved in the Linux System Administration are Process limits, creating processes, processing states, Daemons, libraries, execution modes, software packaging, Red Hat Package Manager, Debian Package, memory tuning and monitoring, network monitoring, I/O scheduling and monitoring, partition and formatting disks, formatting file systems, Kernel and module configuration, Virtualization, user and group management, Firewalls, Back-up, Restore methods, basic troubleshooting and system security etc.

Below are the top-most questions asked in the interview:

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

Now, if you are looking for a job which is related to Linux System Administration then you need to prepare for the 2020 Linux System Administration interview questions. It is true that every interview is different as per the different job profiles. Here, we have prepared the important Linux System Administration interview questions and answers which will help you get success in your interview. These questions are divided into two parts are as follows:

Part 1 – Linux System Administration Interview Questions (Basic)

This first part covers the basic Interview Questions and Answers.

Q1. What is a Linux Loader?

Answer:
A Linux Loader (LILO) is a bootloader which is used in the Linux Operating System to load the operating system and start it. Linux Loader can also be customized while loading the operating system. The configuration of the Linux Loader is a lilo.conf file which can be customized as per the requirement of the operating system. Linux Loader loads the Personal Computer Basic Input Output System into the main memory of the computer system. It locates the Linux kernel and loads the programs.

Q2. What are Network bonding and its different types?

Answer:
This is the common Linux System Administration interview questions asked in an interview. The Network Bonding is the process of combining two or more networks into a single network. It will enhance the network performance and will increase the bandwidth and reduces the latency.

The different types of Network Bonding involved in a Linux are–

Popular Course in this category
Linux Training Program (16 Courses, 3+ Projects)16 Online Courses | 3 Hands-on Projects | 160+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.5 (6,013 ratings)
Course Price

View Course

Related Courses
Kali Linux Training (3 Courses, 3+ Projects)Red Hat Linux Training Program (4 Courses, 1+ Projects)
  1. Mode – 0 (Balance – rr): This mode is a type of Round Robin fashion and is also called as a default mode.
  2. Mode – 1 (Activate Backup): This mode is a type of activate backup policy where only one responds or works at the time of failure of other nodes.
  3. Mode -2 (Balance – XOR): This step will set the source address of the MAC (Media Access Control) to XOR mode for fault tolerance.
  4. Mode – 3 (Broadcast): This step will work on broadcast policy where the transmission occurs to every slave interface.
  5. Mode – 4 (802.3 AD): This step is based on IEEE 802.3ad standard which is also called Dynamic Aggregation Mode. It requires a switch that supports the dynamic link of the above standard.
  6. Mode – 6 (Balance – TLB): This mode is also called Adaptive Transmit Loading, where the traffic will be loaded based on each slave of the network.
  7. Mode – 7 (Balance – ALB): This mode is called Adaptive Load Balancing which does not require any Switch balancing.

Q3. What is the Linux Kernel?

Answer:
The Linux Kernel is a part of an operating system which acts as an interface between the operating system and system resources to establish or provide an access to it. The Linux kernel contains an API called Linux Kernel API (Application Programming Interface) by which the user programs access and interact with the Linux kernel and is also a very stable API and provides great performance in the case of multi-tasking or multi-user functionalities.

Q4. Explain briefly about the Linux architecture?

Answer:
The below are the two properties in the .NET to which performs as accessors to read or write the properties of the Windows Forms or any kind of class or object. The two property accessors are GET and SET:

  1. GET: The GET property accessor is required to return the property value based on the different access levels as defined. The read-only property has to GET accessor but not a SET.
  2. SET: The SET property accessor is required to assign a value, mostly a new value on the basis of the access level defined. Write only property have SET accessor but not a GET.

Q5. What are the different functionalities and responsibilities of a Linux System Administrator?

Answer:
The different functionalities those will normally be performed by a Linux System Administrator are as below:

  1. To support and train the Linux server administrators.
  2. Able to access all the processes, files and system applications in the server.
  3. User and group management.
  4. To ensure security and perform housekeeping maintenance.
  5. To install and upgrade necessary important updates and security tools enhancement.
  6. To use all Linux commands and access the Linux Kernel and its processes to efficiently run the Linux Server.
  7. To configure update and maintain the system hardware configurations.

Q6. What are Kernel modules in Linux?

Answer:
The Kernel modules are the set of programs or code which can be loaded as per the requirement or demand which can be implemented without the process of rebooting the system. Each and every kernel is a module and is easily loadable. There will also be an automatic module handling.

Q7. What is umask and what is its use in Linux?

Answer:
The umask is a command which is often called as user file creation mask which is used to create file mask for the user that determines which file or directory permissions are available for the user based on the read or write or modify type.

Part 2 – Linux System Administration Interview Questions (Advanced)

Let us now have a look at the advanced Interview Questions.

Q8. What is the routing table in Linux?

Answer:
The routing table is a method in which how all the networks and devices are interconnected with each other to efficiently establish communication with each other.

Q9. What is Puppet?

Answer:
The Puppet is open source software that is used for software configuration management that runs on systems similar to that of UNIX. It is secure and scalable to use. It provides automation features in DevOps and Cloud environment.

Q10. What is automounting in Linux?

Answer:
The automounting is a process of automatically mounting all the partitions on a hard disk on a Linux or Unix System while booting the system. fstab property can be used to automount the hard drives on Linux.

Q11. List the fields in /etc/passwd file.

Answer:
The fields that are present in /etc/passwd file are Username, Password, User ID, Group ID, Comments, HomeDir and LoginShell. The /etc/passwd file has contents as below:

redhat:x:500:500:Redhat User:/home/redhat:/bin/bash

mssm:x:501:501:another user:/home/mssm:/bin/bash

– “x” in the password column indicates that the encrypted password is stored in /etc/shadow file.

Q12. Explain each system call used for process management in Linux.

Answer:
This is the most popular Linux System Administration interview questions asked in an interview. The system calls that are used for process management are as follows:

Fork(): This is used to create a new process from an existing one.

Exec(): This is used to execute a new program.

Wait(): This is used to wait until the given process finishes the execution.

Exit(): This is used to exit from the process.

Getpid(): This helps in getting the unique process id of a particular process.

Getppid(): This helps in getting a parent process unique id.

Nice(): This is used to bias the existing property of the process.

Let us move to the next Linux System Administration Interview Questions.

Q13. Explain the steps to increase the size of the LVM partition.

Answer:
The steps that need to be followed to increase the size of the LVM partition are as follows:

Run the below command: lvextend -L +500M /dev/<Name of the LVM Partition>.

Once this is done we can increase the size of the LVM partition by 500MB. A user can check the size of the partition by using ‘df -h’ command. The resizing can be done by resize2fs /dev/<Name of the LVM Partition>.

Q14. Which utility can be used to create the partition from a raw disk?

Answer:
To create a partition from a raw disk the utility that is used is fdisk utility. To create a partition you can follow the below steps:

  • Run this command: fdisk /dev/hd* (IDE) or /dev/sd* (SCSI).
  • Type n to create a new partition.
  • Once a partition is created then you can write the changes to this partition table. To write these changes type w.

Q15. Explain the steps to create a new user and set a password for the user from a shell prompt in Linux.

Answer:
To create a new user account from shell prompt following steps are to be performed:

  • Firstly login as a root user if you are not logged in as root use su – command.
  • Enter the root password.
  • The command to add a new user is useradd command and can be used in Linux. Use this command and then type the username you would like to create.

Eg: useradd sue

Once a user is created to set the password to follow below steps:

  • To set a password for user sue type command: passwd sue.
  • It will prompt the user to enter a new password.
  • Once this is done it will also ask the user to retype password thereby setting up the password for the user.

Recommended Articles

This has been a guide to the list of Linux System Administration interview questions and Answers so that the candidate can crackdown these interview questions easily. Here in this post, we have studied top Linux System Administration interview questions which are often asked in interviews. You may also look at the following articles to learn more –

  1. Red Hat Interview Questions
  2. UNIX interview questions
  3. Linux Interview Questions And Answers
  4. Software Engineering Interview Questions

Linux Training Program (16 Courses, 3+ Projects)

16 Online Courses

3 Hands-on Projects

160+ Hours

Verifiable Certificate of Completion

Lifetime Access

Learn More

1 Shares
Share
Tweet
Share
Primary Sidebar
Linux Tutorial
  • Interview Questions
    • Linux Interview Questions
    • Linux System Administration Interview
    • Red Hat Interview Questions
  • Basic
    • Introduction to Linux
    • What is Linux
    • Careers in Linux
    • How to Install Linux
    • How to Install Ubuntu
    • How to Install Ubuntu Server
    • How To Install Debian
    • Advantage Of Linux
    • What is Raid in Linux
    • What is Raid 5?
    • Raid 5 vs Raid 6
    • Careers in Linux Administration
    • What is Shell in Linux?
    • Bash Shell in Linux
    • Linux Emulator
    • Linux Operators
    • Linux Apps
    • Linux Keyboard Shortcuts
    • Linux Crontab
    • What is Raid Storage
    • What is Vmware
    • What is RedHat
    • What is Debian
    • Uses of Ubuntu
    • Career In RedHat
    • Linux Distributions
    • Linux From Scratch
    • Linux Format
    • Cheat Sheet Linux
  • Linux Commands
    • CAT Command in Linux
    • PS command in Linux
    • Mkdir Command in Linux
    • rmdir command in Linux
    • mv command in Linux
    • Linux rm Command
    • CHMOD Command in Linux
    • Zip Command in Linux
    • Linux Route Command
    • SCP Command in Linux
    • du Command in Linux
    • Less Command in Linux
    • Copy Command in Linux
    • Head Command in Linux
    • Help Command in Linux
    • Linux History Command
    • hostname Command in Linux
    • GREP Command in Linux
    • Linux Curl Command
    • Linux List Users
    • Linux List Directories
    • Linux Directory Permissions
    • Find Directory Linux
    • Linux User Permission
    • Linux Add User
    • Linux Delete User
    • Linux uniq
    • Linux Filter Commands
    • Linux sort Command
    • Linux Sort by Size
    • Remove dir Linux
    • Linux tr Command
    • Linux Touch Command
    • Linux More Command
    • Linux Cal Command
    • Linux OD
    • Linux Zcat
    • Linux tracepath
    • Linux Sleep
    • Linux bg Command
    • Linux WC
    • Linux Read
    • Linux Write
    • Linux Rename Command
    • Linux Free Command
    • Linux tac
    • Linux Shred
    • Linux wget
    • Linux Date
    • Linux Untar
    • Linux JQ
    • Linux Xargs
    • Linux Mount Command
    • Linux mdadm
    • Linux comm
    • Linux tee Command
    • Tail Command in Linux
    • Linux gzip
    • Linux Directory Structure
    • Linux Alias Command
    • Linux Inode
    • Linux Ping
    • Linux Watch Command
    • Linux Split Command
    • Linux Size
    • Linux Network Stack
    • Linux Diff Command
    • Vim Command in Linux
    • Linux nslookup
  • Advanced
    • Install VMware
    • Install GRUB
    • Chown Command in Linux
    • Linux Network Command
    • Configuring Linux Network Environment
    • DNS Configuration in Linux
    • Linux Users
    • Create User in Linux
    • DHCP Server in Linux
    • FTP Server in Linux
    • Linux Regular Expression
    • IP Command in Linux
    • Set IP Address in Linux
    • Tar Command in Linux
    • Dynamic Host Configuration Protocol
    • Linux Kill Signals
    • Linux File Permissions
    • Linux File System
    • Linux Create File
    • Linux Concatenate Files
    • Linux Join
    • Linux Process Management
    • Linux Proxy Server
    • Linux System Commands
    • Linux System Logging
    • NFS in Linux
    • Linux LVM
    • Linux Repository
    • Samba Server in Linux
    • Top Commands in Linux
    • Types of Shells in Linux
    • Shell Script Types For Linux
    • GCC Command in Linux
    • Monolithic Kernel
    • YARN Package Manager
    • Linux Sed Replace
    • Linux List Groups
    • Linux Container
    • Linux Find File by Name
    • Create Folder in Linux
    • Linux Move Folder
    • Linux Error Codes
    • Linux Automount
    • Linux HugePages
  • Kali Linux
    • Install Kali Linux
    • Kali Linux Uses
    • Kali Linux Commands
    • Kali Linux Repository
    • Kali Linux Packages
    • Kali Linux root password
    • Kali Linux Alternative

Related Courses

Kali Linux Training

Linux Training Course

Red Hat Training Course

Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

© 2020 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA Login

Forgot Password?

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you
Book Your One Instructor : One Learner Free Class

Let’s Get Started

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

Special Offer - Linux Training Program (16 Courses, 3+ Projects) Learn More