Linux Foundation Lfcs Certified System Administrator Practice Test - Set 1
Test your knowledge with this Linux Foundation Lfcs Certified System Administrator mock exam. Get real-world IT questions and prepare for certification success.
LFCS: Linux Foundation Certified System Administrator - Exam Information
Exam Information
Exam Code
Linux Foundation Lfcs Certified System Administrator
Exam Title
LFCS: Linux Foundation Certified System Administrator
Vendor
Linux
Difficulty
Intermediate
Duration
2 Hours
Question Format
Multiple Choice
Last Updated
February 25, 2025
The LFCS exam assesses system administration skills for Linux environments.
1. Which command is used to check the available disk space in Linux?
du
df
lsblk
fdisk
✅ Correct Answer: df
2. What is the purpose of the "systemctl" command in Linux?
To manage services and system processes
To edit system configuration files
To check disk partitions
To manage user permissions
✅ Correct Answer: To manage services and system processes
3. Which file is used to configure network interfaces in Linux?
/etc/network/interfaces
/etc/sysconfig/network
/etc/netplan/
/etc/hostname
✅ Correct Answer: /etc/network/interfaces
4. Which command is used to create a new user in Linux?
useradd
adduser
usermod
userdel
✅ Correct Answer: useradd
5. What is the purpose of the "cron" daemon in Linux?
To schedule tasks
To manage users
To edit files
To delete files
✅ Correct Answer: To schedule tasks
6. Which command is used to display the system's kernel version?
uname -r
lsb_release -a
cat /etc/os-release
hostnamectl
✅ Correct Answer: uname -r
7. What is the purpose of the "iptables" command in Linux?
To configure firewall rules
To manage users
To edit files
To delete files
✅ Correct Answer: To configure firewall rules
8. Which command is used to display the system's IP address?
ip addr
ifconfig
netstat
route
✅ Correct Answer: ip addr
9. What is the purpose of the "rsync" command in Linux?
To synchronize files
To delete files
To edit files
To move files
✅ Correct Answer: To synchronize files
10. Which command is used to display the system's memory usage?
free
top
vmstat
htop
✅ Correct Answer: free
11. What is the purpose of the "tar" command in Linux?
To archive files
To delete files
To move files
To edit files
✅ Correct Answer: To archive files
12. Which command is used to terminate a process in Linux?
kill
stop
end
exit
✅ Correct Answer: kill
13. What is the purpose of the "ssh" command in Linux?
To securely connect to a remote server
To edit files
To delete files
To move files
✅ Correct Answer: To securely connect to a remote server
14. Which command is used to display disk usage in Linux?
du
df
lsblk
fdisk
✅ Correct Answer: du
15. What is the purpose of the "cron" daemon in Linux?
To schedule tasks
To manage users
To edit files
To delete files
✅ Correct Answer: To schedule tasks
16. Which command is used to display the system's kernel version?
uname -r
lsb_release -a
cat /etc/os-release
hostnamectl
✅ Correct Answer: uname -r
17. What is the purpose of the "iptables" command in Linux?
To configure firewall rules
To manage users
To edit files
To delete files
✅ Correct Answer: To configure firewall rules
18. Which command is used to display the system's IP address?
ip addr
ifconfig
netstat
route
✅ Correct Answer: ip addr
19. What is the purpose of the "rsync" command in Linux?
To synchronize files
To delete files
To edit files
To move files
✅ Correct Answer: To synchronize files
20. Which command is used to display the system's memory usage?
free
top
vmstat
htop
✅ Correct Answer: free
21. Which command is used to list all running processes in Linux?
ps
ls
top
htop
✅ Correct Answer: ps
22. What is the purpose of the "chmod" command in Linux?
To change file permissions
To change file ownership
To delete files
To move files
✅ Correct Answer: To change file permissions
23. Which file contains the list of mounted filesystems in Linux?
/etc/fstab
/etc/mtab
/etc/partitions
/etc/diskstats
✅ Correct Answer: /etc/fstab
24. Which command is used to search for text within files?
grep
find
locate
whereis
✅ Correct Answer: grep
25. What is the purpose of the "umask" command in Linux?
To set default file permissions
To unmount filesystems
To delete files
To list users
✅ Correct Answer: To set default file permissions
26. Which command is used to display the manual pages for a command?
man
help
info
doc
✅ Correct Answer: man
27. What is the purpose of the "ln" command in Linux?
To create links between files
To list files
To delete files
To edit files
✅ Correct Answer: To create links between files
28. Which command is used to change the password of a user?
passwd
chpasswd
usermod
useradd
✅ Correct Answer: passwd
29. What is the purpose of the "mount" command in Linux?
To attach filesystems
To detach filesystems
To list files
To delete files
✅ Correct Answer: To attach filesystems
30. Which command is used to display the contents of a file?
cat
less
more
tail
✅ Correct Answer: cat
31. What is the purpose of the "chown" command in Linux?
To change file ownership
To change file permissions
To delete files
To move files
✅ Correct Answer: To change file ownership
32. Which command is used to display the system's uptime?
uptime
time
who
w
✅ Correct Answer: uptime
33. What is the purpose of the "sed" command in Linux?
To edit text streams
To delete files
To move files
To list files
✅ Correct Answer: To edit text streams
34. Which command is used to reboot the system?
reboot
shutdown -r
init 6
All of the above
✅ Correct Answer: All of the above
35. What is the purpose of the "awk" command in Linux?
To process text files
To delete files
To move files
To list files
✅ Correct Answer: To process text files
36. Which command is used to display the system's hostname?
hostname
uname -n
cat /etc/hostname
All of the above
✅ Correct Answer: All of the above
37. What is the purpose of the "find" command in Linux?
To search for files
To delete files
To move files
To edit files
✅ Correct Answer: To search for files
38. Which command is used to display the system's routing table?
route
ip route
netstat -r
All of the above
✅ Correct Answer: All of the above
39. What is the purpose of the "dd" command in Linux?
To convert and copy files
To delete files
To move files
To edit files
✅ Correct Answer: To convert and copy files
40. Which command is used to display the system's logged-in users?
who
w
users
All of the above
✅ Correct Answer: All of the above
41. What is the purpose of the "scp" command in Linux?
To securely copy files
To delete files
To move files
To edit files
✅ Correct Answer: To securely copy files
42. Which command is used to display the system's environment variables?
env
printenv
set
All of the above
✅ Correct Answer: All of the above
43. What is the purpose of the "tail" command in Linux?
To display the end of a file
To delete files
To move files
To edit files
✅ Correct Answer: To display the end of a file
44. Which command is used to display the system's kernel messages?
dmesg
journalctl
syslog
kmsg
✅ Correct Answer: dmesg
45. What is the purpose of the "alias" command in Linux?
To create command shortcuts
To delete files
To move files
To edit files
✅ Correct Answer: To create command shortcuts
46. Which command is used to display the system's process tree?
pstree
ps aux
top
htop
✅ Correct Answer: pstree
47. What is the purpose of the "cut" command in Linux?
To extract sections from files
To delete files
To move files
To edit files
✅ Correct Answer: To extract sections from files
48. Which command is used to display the system's open files?
lsof
fuser
netstat
ss
✅ Correct Answer: lsof
49. What is the purpose of the "tr" command in Linux?
To translate characters
To delete files
To move files
To edit files
✅ Correct Answer: To translate characters
50. Which command is used to display the system's hardware information?
lshw
dmidecode
hwinfo
All of the above
✅ Correct Answer: All of the above
51. What is the purpose of the "sort" command in Linux?
To sort lines of text
To delete files
To move files
To edit files
✅ Correct Answer: To sort lines of text
52. Which command is used to display the system's CPU information?
lscpu
cat /proc/cpuinfo
dmidecode
All of the above
✅ Correct Answer: All of the above
53. What is the purpose of the "uniq" command in Linux?
To report or omit repeated lines
To delete files
To move files
To edit files
✅ Correct Answer: To report or omit repeated lines
54. Which command is used to display the system's PCI devices?
lspci
lsusb
lsblk
lscpu
✅ Correct Answer: lspci
55. What is the purpose of the "wc" command in Linux?
To count words, lines, and characters
To delete files
To move files
To edit files
✅ Correct Answer: To count words, lines, and characters
56. Which command is used to display the system's USB devices?
lsusb
lspci
lsblk
lscpu
✅ Correct Answer: lsusb
57. What is the purpose of the "diff" command in Linux?
To compare files line by line
To delete files
To move files
To edit files
✅ Correct Answer: To compare files line by line
58. Which command is used to display the system's block devices?
lsblk
lspci
lsusb
lscpu
✅ Correct Answer: lsblk
59. What is the purpose of the "patch" command in Linux?
To apply changes to files
To delete files
To move files
To edit files
✅ Correct Answer: To apply changes to files
60. Which command is used to display the system's kernel parameters?
sysctl
cat /proc/sys/kernel
dmesg
All of the above
✅ Correct Answer: All of the above
The Linux Foundation Lfcs Certified System Administrator certification is a globally recognized credential for IT professionals.
This practice test helps you prepare by covering key topics like hardware, networking, troubleshooting, and security.
Want more practice? Check out our other mock exams: