CompTIA Linux+ Practice Test 1

CompTIA Linux+ Practice Test

1 / 10

What does the iptables -A INPUT -p tcp --dport 22 -j ACCEPT command do?

2 / 10

Which command creates a new user account named "jdoe" with a home directory?

3 / 10

What is the purpose of the /etc/fstab file?

4 / 10

Which command displays real-time CPU and memory usage for running processes?

5 / 10

What does the grep -r "error" /var/log command do?

6 / 10

Which utility is used to manage software packages on a Red Hat-based system?

7 / 10

What command schedules a one-time task to run at 2:00 AM tomorrow?

8 / 10

Which file is used to configure persistent network interface settings on a Debian-based system?

9 / 10

What is the purpose of the chmod 755 command on a file?

 

10 / 10

Which command displays the current running kernel version on a Linux system?

Your score is

The average score is 40%

0%