Official Bank 0/260

Linux Foundation Certified System Administrator (LFCS) - Linux Foundation Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
260 Total Questions
1
Question
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
Options
A The cron daemon will refuse to start and report missing files in the system's logfile.
B Without additional configuration, no users may have user specific crontabs.
C When a user creates a user specific crontab the system administrator must approve it explicitly.
D Without additional configuration, all users may have user specific crontabs.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
What is true regarding the file ~/.forward?
Options
A Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
B As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
C When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.
D After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Given a file called birthdays containing lines like: YYYY-MM-DD Name 1983-06-02 Tim 1995-12-17 Sue

Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?
Options
A grep '[0-9]*-0[56]-
' birthdays
B grep '[56]' birthdays
C grep 06 birthdays | grep 05
D grep 05?6? birthdays
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Which command will display the last line of the file foo.txt?
Options
A last -n 1 foo.txt
B head -n 1 foo.txt
C tail -n 1 foo.txt
D tail foo.txt
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.