CompTIA Linux+ Certification - XK0-004 Exam Practice Test
Which of the following Linux server roles should be installed to monitor and log local web traffic?
Correct Answer: C
Vote an answer
A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting.
When the systems administrator tries to mount the file system, the system refuses. Given the output below:

Which of the following steps is necessary?
When the systems administrator tries to mount the file system, the system refuses. Given the output below:

Which of the following steps is necessary?
Correct Answer: A
Vote an answer
A Linux administrator is configuring a server to log security events for the ping command while allowing the request to occur. The Linux server is using AppArmor to manage its security services.
Which of the following commands is the BEST option?
Which of the following commands is the BEST option?
Correct Answer: D
Vote an answer
A Linux administrator suspects unauthorized users are attempting to log in to the Linux server remotely. Which of the following should the administrator check FIRST?
Correct Answer: C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
While creating a file on a volume, the Linux administrator receives the following message: No space left on device. Running the df -m command, the administrator notes there is still 50% of usage left. Which of the following is the NEXT step the administrator should take to analyze the issue without losing data?
Correct Answer: D
Vote an answer
A systems administrator has received reports of intermittent network connectivity to a particular website. Which of the following is the BEST command to use to characterize the location and type of failure over the course of several minutes?
Correct Answer: C
Vote an answer
A junior administrator issues the following commands on a Linux server:

The next day, the junior administrator is unable to edit the file. Which of the following would resolve this issue?

The next day, the junior administrator is unable to edit the file. Which of the following would resolve this issue?
Correct Answer: A
Vote an answer
A security administrator wants to display a warning banner before a user logs in. Which of the following files must be edited to make this happen?
Correct Answer: A
Vote an answer
Which of the following configuration management tools is considered agentless?
Correct Answer: D
Vote an answer
A Linux administrator needs to remotely update the contents of the www.comptia.org/contacts URL.
Which of the following commands would allow the administrator to download the current contents of the URL before updating?
Which of the following commands would allow the administrator to download the current contents of the URL before updating?
Correct Answer: B
Vote an answer
Which of the following is used in unattended server installation via PXE?
Correct Answer: C
Vote an answer
A junior Linux administrator needs to access production servers using a secure SSH protocol. Which of the following files should contain the public key to gain remote access to the server?
Correct Answer: D
Vote an answer
A user does not want Bluetooth to start up every tme the system starts. Which of the following commands should the user execute to accomplish this task?
Correct Answer: C
Vote an answer
An administrator installs a popular virtualization hypervisor on a Linux workstation. The softwareruns but generates a lot of AVC errors in the var/log/audit/audit .log file Rather than address each AVC error as it appears, which of the following should the admnisstrator run to locate and enable a comprehensive setting to allow use of the virtualization software? (Select TWO).
Correct Answer: A
Vote an answer