Linux Foundation Lfca Certified It Associate Practice Test - Set 1
Test your knowledge with this Linux Foundation Lfca Certified It Associate mock exam. Get real-world IT questions and prepare for certification success.
LFCA: Linux Foundation Certified IT Associate - Exam Information
Exam Information
Exam Code
Linux Foundation Lfca Certified It Associate
Exam Title
LFCA: Linux Foundation Certified IT Associate
Vendor
Linux
Difficulty
Beginner
Duration
90 Minutes
Question Format
Multiple Choice
Last Updated
February 25, 2025
The LFCA exam validates entry-level IT skills and knowledge in Linux and related technologies.
1. Which Linux command is used to list files and directories?
cd
ls
mkdir
rm
✅ Correct Answer: ls
2. What is the purpose of the "chmod" command in Linux?
To change file permissions
To delete files
To create directories
To move files
✅ Correct Answer: To change file permissions
3. Which file contains user account information in Linux?
/etc/group
/etc/passwd
/etc/shadow
/etc/users
✅ Correct Answer: /etc/passwd
4. Which command is used to create a new directory in Linux?
mkdir
touch
rmdir
ls
✅ Correct Answer: mkdir
5. What is the purpose of the "grep" command in Linux?
To search text using patterns
To edit files
To delete files
To move files
✅ Correct Answer: To search text using patterns
6. Which command is used to display the current working directory in Linux?
pwd
cd
ls
mkdir
✅ Correct Answer: pwd
7. What is the purpose of the "sudo" command in Linux?
To execute commands as a superuser
To switch users
To edit files
To delete files
✅ Correct Answer: To execute commands as a superuser
8. Which command is used to display the contents of a file in Linux?
cat
less
more
tail
✅ Correct Answer: cat
9. 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
10. Which command is used to terminate a process in Linux?
kill
stop
end
exit
✅ Correct Answer: kill
11. 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
12. Which command is used to display disk usage in Linux?
du
df
lsblk
fdisk
✅ Correct Answer: du
13. 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
14. 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
15. 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
16. Which command is used to display the system's IP address?
ip addr
ifconfig
netstat
route
✅ Correct Answer: ip addr
17. What is the purpose of the "systemctl" command in Linux?
To manage services
To edit files
To delete files
To move files
✅ Correct Answer: To manage services
18. Which command is used to display the system's uptime?
uptime
who
last
w
✅ Correct Answer: uptime
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 search for files in Linux?
find
locate
grep
which
✅ Correct Answer: find
22. What is the purpose of the "chown" command?
To change file ownership
To change permissions
To create directories
To delete files
✅ Correct Answer: To change file ownership
23. Which file contains encrypted user passwords?
/etc/shadow
/etc/passwd
/etc/group
/etc/users
✅ Correct Answer: /etc/shadow
24. What is the purpose of the "umask" command?
To set default file permissions
To change ownership
To create users
To delete files
✅ Correct Answer: To set default file permissions
25. Which command is used to display the system manual pages?
man
help
info
doc
✅ Correct Answer: man
26. What is the purpose of the "alias" command?
To create command shortcuts
To change file permissions
To manage users
To edit files
✅ Correct Answer: To create command shortcuts
27. Which command is used to display running processes?
ps
top
htop
proc
✅ Correct Answer: ps
28. What is the purpose of the "ln" command?
To create links between files
To list files
To edit files
To delete files
✅ Correct Answer: To create links between files
29. Which command is used to display environment variables?
printenv
env
set
echo $PATH
✅ Correct Answer: printenv
30. What is the purpose of the "history" command?
To display command history
To show system history
To log system events
To track file changes
✅ Correct Answer: To display command history
31. Which command is used to compress files?
gzip
zip
tar
compress
✅ Correct Answer: gzip
32. What is the purpose of the "crontab" command?
To manage scheduled tasks
To edit system files
To manage users
To check disk space
✅ Correct Answer: To manage scheduled tasks
33. Which command is used to display the system load average?
uptime
loadavg
sysstat
vmstat
✅ Correct Answer: uptime
34. What is the purpose of the "passwd" command?
To change user passwords
To create users
To delete users
To lock accounts
✅ Correct Answer: To change user passwords
35. Which command is used to display the system hostname?
hostname
uname -n
hostnamectl
sysinfo
✅ Correct Answer: hostname
36. What is the purpose of the "groups" command?
To display user groups
To create groups
To delete groups
To modify groups
✅ Correct Answer: To display user groups
37. Which command is used to display disk partitions?
lsblk
fdisk
parted
df
✅ Correct Answer: lsblk
38. What is the purpose of the "wget" command?
To download files from the web
To upload files
To edit files
To search files
✅ Correct Answer: To download files from the web
39. Which command is used to display the system architecture?
uname -m
arch
lscpu
cpuinfo
✅ Correct Answer: uname -m
40. What is the purpose of the "tee" command?
To redirect output to multiple locations
To edit files
To delete files
To search files
✅ Correct Answer: To redirect output to multiple locations
41. Which command is used to display the system boot messages?
dmesg
journalctl
syslog
bootlog
✅ Correct Answer: dmesg
42. What is the purpose of the "cut" command?
To extract sections from files
To edit files
To delete files
To search files
✅ Correct Answer: To extract sections from files
43. Which command is used to display the system timezone?
timedatectl
date
tzselect
timezone
✅ Correct Answer: timedatectl
44. What is the purpose of the "sort" command?
To sort lines of text
To edit files
To delete files
To search files
✅ Correct Answer: To sort lines of text
45. Which command is used to display the system swap usage?
free
swapon
swapinfo
vmstat
✅ Correct Answer: free
46. What is the purpose of the "uniq" command?
To filter duplicate lines
To edit files
To delete files
To search files
✅ Correct Answer: To filter duplicate lines
47. Which command is used to display the system kernel parameters?
sysctl
kernelcfg
modinfo
uname -a
✅ Correct Answer: sysctl
48. What is the purpose of the "tr" command?
To translate characters
To edit files
To delete files
To search files
✅ Correct Answer: To translate characters
49. Which command is used to display the system logged-in users?
who
users
last
w
✅ Correct Answer: who
50. What is the purpose of the "sed" command?
To perform text transformations
To edit files
To delete files
To search files
✅ Correct Answer: To perform text transformations
51. Which command is used to display the system interrupt information?
cat /proc/interrupts
interrupts
irqstat
intinfo
✅ Correct Answer: cat /proc/interrupts
52. What is the purpose of the "awk" command?
To process and analyze text
To edit files
To delete files
To search files
✅ Correct Answer: To process and analyze text
53. Which command is used to display the system memory map?
pmap
meminfo
free
vmstat
✅ Correct Answer: pmap
54. What is the purpose of the "diff" command?
To compare files line by line
To edit files
To delete files
To search files
✅ Correct Answer: To compare files line by line
55. Which command is used to display the system CPU information?
lscpu
cpuinfo
cpustat
top
✅ Correct Answer: lscpu
56. What is the purpose of the "patch" command?
To apply diff files
To edit files
To delete files
To search files
✅ Correct Answer: To apply diff files
57. Which command is used to display the system PCI devices?
lspci
pcistat
hwinfo
devlist
✅ Correct Answer: lspci
58. What is the purpose of the "xargs" command?
To build and execute command lines
To edit files
To delete files
To search files
✅ Correct Answer: To build and execute command lines
59. Which command is used to display the system USB devices?
lsusb
usbstat
hwlist
devusb
✅ Correct Answer: lsusb
60. What is the purpose of the "column" command?
To format text into columns
To edit files
To delete files
To search files
✅ Correct Answer: To format text into columns
The Linux Foundation Lfca Certified It Associate 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: