Free CompTIA XK0-006 Practice Test & Real Exam Questions
A systems administrator wants to review the amount of time the NetworkManager service took to start. Which of the following commands accomplishes this goal?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
To perform a live migration, which of the following must match on both host servers? (Choose two)
Correct Answer: C,F
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following commands sets all the directories ' permissions recursively in the user ' s home directory and makes them accessible only to the user?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
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: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A systems administrator is creating a backup copy of the /home/ directory. Which of the following commands allows the administrator to archive and compress the directory at the same time?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A user states that an NFS share Is reporting random disconnections. The systems administrator obtains the following information

Which of the following best explains the symptoms that are being reported?

Which of the following best explains the symptoms that are being reported?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A systems administrator receives reports about connection issues to a secure web server. Given the following firewall and web server outputs:
Firewall output:
Status: active
To Action From
443/tcp DENY Anywhere
443/tcp (v6) DENY Anywhere (v6)
Web server output:
tcp LISTEN 0 4096 *:443 :
Which of the following commands best resolves this issue?
Firewall output:
Status: active
To Action From
443/tcp DENY Anywhere
443/tcp (v6) DENY Anywhere (v6)
Web server output:
tcp LISTEN 0 4096 *:443 :
Which of the following commands best resolves this issue?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A Linux administrator installed a new program inside $HOME/.local/bin and is trying to execute it without using an absolute path. Which of the following should the administrator use for this task?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A Linux administrator just finished setting up passwordless SSH authentication between two nodes. However, upon test validation, the remote host prompts for a password. Given the following logs:

Which of the following is the most likely cause of the issue?

Which of the following is the most likely cause of the issue?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following can reduce the attack surface area in relation to Linux hardening?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A systems administrator is decommissioning a service. Which of the following commands should the administrator use to make sure users cannot start the service again?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following commands should an administrator use to convert a KVM disk file to a different format?
Correct Answer: D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
A Linux administrator needs to create accounts for a list of new users. The user account names have been defined in the USER_LIST variable as follows:
USER_LIST= " alice bob charles "
Which of the following commands should the administrator use to successfully create the user accounts?
USER_LIST= " alice bob charles "
Which of the following commands should the administrator use to successfully create the user accounts?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following best describes a use case for playbooks in a Linux system?
Correct Answer: D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
