The Linux Foundation LFCS Linux Foundation Certified System Administrator Online Training
The Linux Foundation LFCS Online Training
The questions for LFCS were last updated at Nov 22,2024.
- Exam Code: LFCS
- Exam Name: Linux Foundation Certified System Administrator
- Certification Provider: The Linux Foundation
- Latest update: Nov 22,2024
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
- A . shutdown -R 1 now
- B . shutdown -single now
- C . init 1
- D . telinit 1
- E . runlevel 1
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
- A . /lib/init.so
- B . /sbin/init
- C . /etc/rc.d/rcinit
- D . /proc/sys/kernel/init
- E . /boot/init
SIMULATION
Which command will display messages from the kernel that were output during the normal boot sequence?
Which of the following commands will write a message to the terminals of all logged in users?
- A . bcast
- B . mesg
- C . print
- D . wall
- E . yell
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
- A . silent
- B . verbose=0
- C . nomesg
- D . quiet
Which of the following options for the kernel’s command line changes the systemd boot target to rescue.target instead of the default target?
- A . systemd.target=rescue.target
- B . systemd.runlevel=rescue.target
- C . systemd.service=rescue.target
- D . systemd.default=rescue.target
- E . systemd.unit=rescue.target
After modifying GNU GRUB’s configuration file, which command must be run for the changes to take effect?
- A . kill -HUP $(pidof grub)
- B . grub-install
- C . grub
- D . No action is required
Which of the following commands is used to update the list of available packages when using dpkg based package management?
- A . apt-get update
- B . apt-get upgrade
- C . apt-cache update
- D . apt-get refresh
- E . apt-cache upgrade
Which of the following commands lists the dependencies of a given dpkg package?
- A . apt-cache depends-on package
- B . apt-cache dependencies package
- C . apt-cache depends package
- D . apt-cache requires package
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
- A . hidemenu
- B . splash
- C . timeout
- D . showmenu