Linux Foundation Certified System Administrator (LFCS) Quiz Questions and Answers

Which runlevel is typically used for single user mode, as indicated in /etc/inittab?

Answer :
  • 1

Which record is used to make a alias in dns configuration?

Answer :
  • Cname

In which configuration file would you set the hostname?

Answer :
  • /etc/hostname

Which of the following commands cannot be used to send signals to processes?

Answer :
  • mkill

Which command enables you to show all installed packages using the yum command?

Answer :
  • yum list

After entering commands in the at shell, which command enables you to close the at shell?

Answer :
  • Ctrl+D

When should programs be configured SUID root?

Answer :
  • Only when they require root privileges to do their job

From Vi’s command mode, you want to enter insert mode. How might you do this? (Select three)

Answer :
  • Type R.
  • Type i.
  • Type a.

You discover that an MBR hard disk has partitions with type codes of 0x0f, 0x82, and 0x83. Assuming these type codes are accurate, what can you conclude about the disk?

Answer :
  • The disk holds a partial or complete Linux system.

Single user mode shell runs as?

Answer :
  • root user