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

You need to change the startup behaviour of the rsyslogd service. Which of the following describes the recommended approach to do so?

Answer :
  • Use the SYSLOGD_OPTIONS line in the file /etc/sysconfig/rsyslog and include the startup parameter here.

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 type jobs at a bash command prompt and receive a new command prompt with no intervening output. What can you conclude?

Answer :
  • No background processes are running that were launched from the shell you’re using.