Last Updated on by
Introduction to Linux I Chapter 18 Exam Answer
Question ID 820
Which of the following are considered replacements for the traditional init process?
Question ID 825
Which runlevel number defines multi-user with no networking services?
Question ID 827
Instead of using traditional runlevels, Systemd uses:
Question ID 832
Which of the following commands will allow you to change the system runlevel, on a system with traditional init?
Question ID 833
Which of the following commands will allow you to change the system to another runlevel, on a system with Systemd?
Question ID 834
Which of the following commands can be used to reboot the system?
- shutdown -r
Question ID 835
Which of the following commands can be used to halt the system?
Question ID 998
Which runlevel number is defined as “user-definable”?
Question ID 999
Which runlevel number defines rebooting the system?
Question ID 1000
Which runlevel number defines multi-user with networking services and no GUI?
Question ID 1001
Which runlevel number defines multi-user with GUI?
Question ID 1002
Which runlevel number defines halting the system?
Question ID 1003
Which command will display both the current runlevel and the previous runlevel?
Question ID 1006
On a Ubuntu system, what variable defines the default runlevel in the /etc/init/rc-sysinit.conf file?
Question ID 1007
For traditional init, the _____ file is where the initial default runlevel is defined.
Question ID 1008
What option to the who command will display the current runlevel?
Question ID 1017
Where are the scripts used to manage the init process located?
Question ID 1018
Which of the following can be used to restart the HTTP service?
- /etc/init.d/httpd restart
- service httpd restart
- service httpd re start
- service https restart
Question ID 1019
The same set of services are started or stopped at different runlevels.
True or False?
Question ID 1020
Which directories exist in the /etc/rc.d directory?
- d. rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d and rc6.d
- c. rc0d, rc1d, rc2d, rc3d, rc4d and rc5d
- rc0.d, rc2.d, rc4.d, and rc6.d
- b. rc0, rc1, rc2, rc3, rc4, rc5 and rc6
Question ID 1021
Which of the following commands will have the httpd service start at runlevel 5?
- ln -s /etc/init.d/httpd /etc/rc.d/rc5.d/S85httd
- cp /etc/init.d/httpd /etc/init.d/rc5.d
- ln -s /etc/init.d/httpd /etc/rc.d/rc5.d/K85httpd
- cp /etc/init.d/httpd /etc/rc.d
Question ID 1022
Which command is used to view the services that are set to start or stop automatically?
Question ID 1023
Which of the following is used to turn off the atd service at runlevels 2 and 4?
- chkconfig –off 24 atd
- chkconfig –level 24 atd disable
- chkconfig –level 24 atd off
- chkconfig –level 24 atd auto off
Question ID 1024
Which is the default runlevel for Debian based Linux systems?
Question ID 1025
Which of the following is used to define the start of the Apache web server for runlevels 2-4 in the /etc/init.d/apache2.conf file?
- start on runlevel [2-4]
- start on run_level 
- enable runlevel 
- start on runlevel 
Question ID 1026
Which of the following commands is used as a traditional replacement for the init process?
Question ID 1027
Which of the following commands is used to view the status of all services?
- systemctl –a
- systemctl –l
- systemctl -l
- systemctl –all
Question ID 1028
Which of the following is not a Linux boot system?