CompTIA
Linux+
Question Dumps
2024
Cyber Interactive L.L.C.
,Contents
Section 1 - Questions .................................................................................................................................... 3
Domain 1 - System Management .............................................................................................................. 3
Domain 2 - Security ................................................................................................................................. 12
Domain 3 - Scripting, Containers, and Automation ................................................................................ 17
Domain 4 - Troubleshooting.................................................................................................................... 21
Section 2 - Answers and Explanations ........................................................................................................ 26
Domain 1 - System Management ............................................................................................................ 26
Domain 2 - Security ................................................................................................................................. 29
Domain 3 - Scripting, Containers, and Automation ................................................................................ 31
Domain 4 - Troubleshooting.................................................................................................................... 33
,Section 1 - Questions
Domain 1 - System Management
1. What command is used to display information about mounted file systems?
A. lsblk
B. df -h
C. cat /etc/fstab
D. mount -l
2. Which command is used to schedule a task to run at a specific time in the future?
A. cron
B. at
C. timer
D. schedule
3. Which command is used to update the package repository information on a Debian-based system?
A. apt-get update
B. yum update
C. dnf update
D. zypper update
4. What is the purpose of the systemctl command in systemd-based Linux systems?
A. Start and stop services
B. Manage user accounts
C. Create symbolic links
D. Display system information
5. Which command is used to display detailed information about the CPU and memory usage in Linux?
A. top
, B. ps
C. htop
D. free
6. Which command is used to install software packages on a Red Hat-based Linux system?
A. apt install
B. yum install
C. dnf install
D. zypper install
7. What is the purpose of the chkconfig command in Linux?
A. Check system configuration
B. Configure kernel modules
C. Manage services at boot time
D. Display CPU information
8. Which file contains the system-wide environment variables in a Bash shell?
A. /etc/profile
B. ~/.bashrc
C. /etc/environment
D. ~/.profile
9. Which command is used to create a new user account in Linux?
A. adduser
B. useradd
C. createuser
D. newuser
10. Which command is used to display information about the Linux kernel version?
4
Linux+
Question Dumps
2024
Cyber Interactive L.L.C.
,Contents
Section 1 - Questions .................................................................................................................................... 3
Domain 1 - System Management .............................................................................................................. 3
Domain 2 - Security ................................................................................................................................. 12
Domain 3 - Scripting, Containers, and Automation ................................................................................ 17
Domain 4 - Troubleshooting.................................................................................................................... 21
Section 2 - Answers and Explanations ........................................................................................................ 26
Domain 1 - System Management ............................................................................................................ 26
Domain 2 - Security ................................................................................................................................. 29
Domain 3 - Scripting, Containers, and Automation ................................................................................ 31
Domain 4 - Troubleshooting.................................................................................................................... 33
,Section 1 - Questions
Domain 1 - System Management
1. What command is used to display information about mounted file systems?
A. lsblk
B. df -h
C. cat /etc/fstab
D. mount -l
2. Which command is used to schedule a task to run at a specific time in the future?
A. cron
B. at
C. timer
D. schedule
3. Which command is used to update the package repository information on a Debian-based system?
A. apt-get update
B. yum update
C. dnf update
D. zypper update
4. What is the purpose of the systemctl command in systemd-based Linux systems?
A. Start and stop services
B. Manage user accounts
C. Create symbolic links
D. Display system information
5. Which command is used to display detailed information about the CPU and memory usage in Linux?
A. top
, B. ps
C. htop
D. free
6. Which command is used to install software packages on a Red Hat-based Linux system?
A. apt install
B. yum install
C. dnf install
D. zypper install
7. What is the purpose of the chkconfig command in Linux?
A. Check system configuration
B. Configure kernel modules
C. Manage services at boot time
D. Display CPU information
8. Which file contains the system-wide environment variables in a Bash shell?
A. /etc/profile
B. ~/.bashrc
C. /etc/environment
D. ~/.profile
9. Which command is used to create a new user account in Linux?
A. adduser
B. useradd
C. createuser
D. newuser
10. Which command is used to display information about the Linux kernel version?
4