Linux Administration MCQs

 1) __________ command tells the user how long the system has been running since its last boot, how many users are currently logged in, and how much load the system is experiencing.

A) uptime B) rpm C)bash D) cd

Correct Ans: Uptime

2)__________ This is where all of the program files will reside.

A) /usr B) /boot C) /var D) /tmp

Correct Ans: /usr

3)The ______ command to list all the packages that are currently installed on your system

A) uptime B)rpm C) bash D) cd

Correct Ans: rpm

4) The _________ file stores the user’s login, encrypted password entry, UID, default GID, name (sometimes called GECOS), home directory, and login shell.

A) /etc/usr /etc/login C) /etc/passwd D)/etc/id 

Correct Ans:/etc/passwd

5) When users log into the system, they expect an environment that can help them be productive. This first program that users encounter is called a _________.

A) shell B) Kernal C) root D) None of these

Correct Ans: shell

6) The __________ command allows you to modify an existing user in the system.

A) userdel B)useradd C) usermod D) userid

Correct Ans: usermod

7) PAM Stands for______________

A) Pluggable Authentication Modules B) Pluggable Administration Modules

C) Portable Authentication Modules D) Pluggable Administration Modules

Correct Ans: Pluggable Authentication Modules

8) ____________ are a mechanism by which the output of one program can be sent as the input to another program.

A) Pipes B) filter C) group D) files

Correct Ans: Pipes

9) A ____________ points to another file by its name.

A) Hard Link B) Soft Link C) symbolic link D) Normal Link 

Correct Ans: symbolic link

10) The __________ command lists all the processes in a system, their state, size, name, owner, CPU time, wall clock time, and much more.

A) ls B) ps C) cat D) stat

Correct Ans: ps

11) LILO, short for Linux Loader, is a _________.

A) boot operation B) boot search C) boot call D) boot manager

Correct Ans: boot manager

12) The first piece of information read from a disk is its _________.

A) superblock B) miniblock C) indirect block D) direct block

Correct Ans: superblock

13) __________ define the format of log messages.

A) pages B) Templates C) Files D) Folder

Correct Ans: Templates

14) The ______ program allows any user in the system to schedule a program to run on any date, at any time, or on a particular day of week, down to the minute.

A) crontab B) conf. C) cron D) None of these

Correct Ans: cron

15) __________,this target will show you all the other possible make targets and also serves as a quick online help system.

A) make help B) make clean C) make gconfig D) make menuconfig 

Correct Ans: make help

16) At the bottom of the layering system is the smallest unit of data that networks like dealing with: __________

A) frame B) bytes C) packets D) groups

Correct Ans: packets

17) The purpose of the _________ is to know about the topology of multiple networks.

A) switch B) LAN C) IP D) router

Correct Ans: router

18)A __________ in IPv6 refers to a single network interface.

A) unicast address B) Anycast address     C) Multicast address D) None of these

Correct Ans: unicast address

19) ______ allows administrators to hide hosts on both sides of a router so that both sides can, for whatever reason, remain blissfully unaware of the other.

A) NAT B) SNAT C) DNAT D) ISP

Correct Ans: NAT

20)The __________ chain is the first thing a packet hits when entering the system.

A) PREROUTING B) FORWARD C) INPUT D) OUTPUT

Correct Ans: PREROUTING 

Comments