CompTIA Linux+ Certification (XK0-006) Free Practice Test
Question 1
A Linux administrator needs to analyze a compromised disk for traces of malware. To complete the analysis, the administrator wants to make an exact, block-level copy of the disk. Which of the following commands accomplishes this task?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
A systems administrator is helping to secure a new web application. During the tests, the administrator obtains the following output to validate the application:
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use http/1.1
Server certificate:
subject: CN=*.newapp.comptia.org
start date: Jan 17 00:00:00 2024 GMT
expire date: Feb 16 23:59:59 2034 GMT
issuer: C=US; O=Comptia; OU=IT Security; CN=ca1.comptia.org
SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
Which of the following explains the validation results?
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use http/1.1
Server certificate:
subject: CN=*.newapp.comptia.org
start date: Jan 17 00:00:00 2024 GMT
expire date: Feb 16 23:59:59 2034 GMT
issuer: C=US; O=Comptia; OU=IT Security; CN=ca1.comptia.org
SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
Which of the following explains the validation results?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
Users cannot access a server after it has been restarted. At the server console, the administrator runs the following commands;

Which of the following is the cause of the issue?

Which of the following is the cause of the issue?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
An administrator wants to start an Ubuntu terminal in a container. Which of the following will allow the administrator to complete the task?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Which of the following does dmesg display?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
(Partial question reconstructed from visible content)
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
An administrator added a new disk to expand the current storage. Which of the following commands should the administrator run first to add the new disk to the LVM?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
An administrator wants to search a file named myFile and look for all occurrences of strings containing at least five characters, where characters two and five are i, but character three is not b. Which of the following commands should the administrator execute to get the intended result?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 9
A Linux administrator attempts to unmount the local filesystem /data in order to mount a new volume.
However, the administrator receives the following error message:
umount: /data: target is busy
Which of the following commands should the administrator run to resolve the issue?
However, the administrator receives the following error message:
umount: /data: target is busy
Which of the following commands should the administrator run to resolve the issue?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 10
A Linux administrator needs to change the server name to comptia1. Which of the following commands should the administrator use?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 11
A Linux administrator observes low network throughput. The administrator gathers the following output:
$ ip link show eth0
eth0: < BROADCAST,MULTICAST,UP,RUNNING > mtu 9000 ...
$ ping -s 1472 -M do 192.168.10.2
PING 192.168.10.2(192.168.10.2) 1472(1500) bytes of data.
From 10.10.9.72 icmp_seq=1 frag needed and DF set
Which of the following is the cause of the low network throughput?
$ ip link show eth0
eth0: < BROADCAST,MULTICAST,UP,RUNNING > mtu 9000 ...
$ ping -s 1472 -M do 192.168.10.2
PING 192.168.10.2(192.168.10.2) 1472(1500) bytes of data.
From 10.10.9.72 icmp_seq=1 frag needed and DF set
Which of the following is the cause of the low network throughput?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 12
Which of the following most accurately describes a webhook?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).