Introduction to Linux I Chapter 18

Last Updated on April 2, 2018 by Admin

Introduction to Linux I Chapter 18 Exam Answer

  1. Question ID 820

    Which of the following are considered replacements for the traditional init process?

    (choose two)

    • Sysinit
    • Upstart
    • Starter
    • Systemd
  2. Question ID 825

    Which runlevel number defines multi-user with no networking services?

    • 2
    • 0
    • 5
    • 1
    • 6
    • 4
    • 3
  3.  

  4. Question ID 827

    Instead of using traditional runlevels, Systemd uses:

    • Targets
    • Variables
    • States
    • Functions
  5. Question ID 832

    Which of the following commands will allow you to change the system runlevel, on a system with traditional init?

    (choose two)

    • telinit
    • systemctl
    • init
    • chginit
  6. Question ID 833

    Which of the following commands will allow you to change the system to another runlevel, on a system with Systemd?

    (choose two)

    • telinit
    • systemctl
    • chginit
    • init
  7.  

  8. Question ID 834

    Which of the following commands can be used to reboot the system?

    (choose two)

    • shutdown -r
    • shutdown
    • halt
    • reboot
  9. Question ID 835

    Which of the following commands can be used to halt the system?

    (choose two)

    • shutdown
    • reboot
    • halt
    • poweroff
  10. Question ID 998

    Which runlevel number is defined as “user-definable”?

    • 3
    • 6
    • 0
    • 2
    • 5
    • 1
    • 4
  11. Question ID 999

    Which runlevel number defines rebooting the system?

    • 1
    • 2
    • 3
    • 6
    • 4
    • 0
    • 5
  12.  

  13. Question ID 1000

    Which runlevel number defines multi-user with networking services and no GUI?

    • 4
    • 3
    • 6
    • 2
    • 1
    • 0
    • 5
  14. Question ID 1001

    Which runlevel number defines multi-user with GUI?

    • 1
    • 6
    • 4
    • 0
    • 2
    • 3
    • 5
  15. Question ID 1002

    Which runlevel number defines halting the system?

    • 0
    • 3
    • 2
    • 6
    • 4
    • 5
    • 1
  16. Question ID 1003

    Which command will display both the current runlevel and the previous runlevel?

    • run
    • level
    • rl
    • runlevel
  17. Question ID 1006

    On a Ubuntu system, what variable defines the default runlevel in the /etc/init/rc-sysinit.conf file?

    • RUNLEVEL
    • DEFAULT
    • DEFAULT_RUNLEVEL
    • RUN
  18. Question ID 1007

    For traditional init, the _____ file is where the initial default runlevel is defined.

    • /etc/initdefault
    • /etc/init
    • /etc/inittab
    • /etc/sysinit
  19. Question ID 1008

    What option to the who command will display the current runlevel?

    • -t
    • -r
    • -a
    • -s
  20.  

  21. Question ID 1017

    Where are the scripts used to manage the init process located?

    • /etc/rc.init
    • /rc.d/init.d
    • /etc/rc.d/init.d
    • /etc/init/rc.d
  22. Question ID 1018

    Which of the following can be used to restart the HTTP service?

    (choose two)

    • /etc/init.d/httpd restart
    • service httpd restart
    • service httpd re start
    • service https restart
  23. Question ID 1019

    The same set of services are started or stopped at different runlevels.

    True or False?

    • True
    • False
  24. 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
  25. 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
  26. Question ID 1022

    Which command is used to view the services that are set to start or stop automatically?

    • lsconfig
    • chkconfig
    • initconfig
    • config
  27. 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
  28. Question ID 1024

    Which is the default runlevel for Debian based Linux systems?

    • 3
    • 5
    • 4
    • 2
  29. 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 [234]
    • enable runlevel [234]
    • start on runlevel [234]
  30. Question ID 1026

    Which of the following commands is used as a traditional replacement for the init process?

    • iostat
    • ioctl
    • systemctl
    • sudo
  31. 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
  32. Question ID 1028

    Which of the following is not a Linux boot system?

    • bootup
    • systemd
    • upstart
    • init