Linux Questions & Answers – Startup & Shutdown

Here is next set of Practice Questions on Linux and will be useful for anyone learning Linux Basics, Essentials and/or Administration. This practice set focuses on Linux administration on Startup & Shutdown areas and related commands.

1. Which of the following is not a valid run-level
a) S
b) 0
c) 8
d) 1
View Answer

Answer: c
Explanation: None.

2. On Linux, initrd is a file
a) Containing root file-system required during bootup
b) Contains only scripts to be executed during bootup
c) Contains root-file system and drivers required to be preloaded during bootup
d) None of the mentioned
View Answer

Answer: c
Explanation: None.

3. Which is loaded into memory when system is booted?
a) Kernel
b) Shell
c) Commands
d) Script
View Answer

Answer: a
Explanation: None.
advertisement
advertisement

4. The process of starting up a computer is known as
a) Boot Loading
b) Boot Record
c) Boot Strapping
d) Booting
View Answer

Answer: c
Explanation: None.

5. Bootstrapping is also known as
a) Quick boot
b) Cold boot
c) Hot boot
d) Fast boot
View Answer

Answer: b
Explanation: None.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. The shell used for Single user mode shell is:
a) bash
b) Csh
c) ksh
d) sh
View Answer

Answer: d
Explanation: None.

7. Single user mode shell runs as
a) Admin user
b) Root user
c) Normal user
d) Log user
View Answer

Answer: b
Explanation: None.
advertisement

8. Which is the only partition mounted in Single user mode
a) boot
b) usr
c) root
d) tmp
View Answer

Answer: c
Explanation: None.

9. Which daemon manages the physical memory by moving process from physical memory to swap space when more physical memory is needed.
a) Sched daemon
b) Swap daemon
c) Init daemon
d) Process daemon
View Answer

Answer: b
Explanation: None.
advertisement

10. At the end of kernel bootstrap, which process is started?
a) /etc/init
b) /etc/sched
c) /etc/swap
d) /etc/kernel
View Answer

Answer: a
Explanation: None.

11. The process id of init process is:
a) -1
b) 0
c) 1
d) 2
View Answer

Answer: c
Explanation: None.

12. Which file is read by init to get the default runlevel
a) /etc/profile
b) /etc/init
c) /etc/boot
d) /etc/inittab
View Answer

Answer: d
Explanation: None.

Sanfoundry Global Education & Learning Series – Linux Administration & Programming.

Here’s the list of Best Books in Linux Commands & Shell Programming.
Here’s the list of Best Books in Linux Kernel, Device-Drivers & System Programming.

To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.