Home > CompTIA Linux+ > Quizzes > XK0-004 CompTIA Linux+ Certification Exam Practice
XK0-004 CompTIA Linux+ Certification Exam Practice
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 29% Most missed: “A Linux systems administrator needs to provision multiple web servers into separ…”
XK0-004 CompTIA Linux+ Certification Exam Practice
Time left 00:00
25 Questions

1. A Linux administrator needs the
2. A junior Linux administrator is installing a new application with CPU architecture requirements that have the following specifications: x64 bit 3.0GHz speed Minimum quad core The administrator wants to leverage existing equipment but is unsure whether the requirements of these systems are adequate. The administrator issues the following command cat/proc/cpuinfo. The output of the command is as follows: Which of the following is the recommended course of action the administrator should take based on this output?
3. A junior administrator needs to unload an older video kernel module. Which of the following commands would BEST accomplish this task?
4. A. administrator reviews the following configuration file provided by a DevOps engineer: Which of the following would the application parsing this file MOST likely have to support?
5. A Linux administrator has configured a Linux system to be used as a router. The administrator confirms that two network adapters are properly installed and functioning correctly. In addition, the output of the iptables
6. 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?
7. A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements: View current settings of the LC_ALL environment variable only. Modify the LANG environment variable to US English Unicode. Given this scenario, which of the following should be performed to meet these requirements? (Choose two.)
8. A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the server infrastructure using a specific tool that consumes a text-based file. Which of the following is the BEST reason to do this?
9. A. administrator is analyzing a Linux server which was recently hacked. Which of the following will the administrator use to find all unsuccessful login attempts?
10. A. administrator is attempting to block SSH connections to 192.168.10.24 using the Linux firewall. After implementing a rule, a connection refused error is displayed when attempting to SSH to 192.168.10.24. Which of the following rules was MOST likely implemented?
11. A systems administrator needs to append output of ls
12. Which of the following is a difference between YAML and JSON?
13. A. administrator receives a warning about a file system filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space is recovered on the file system. Which of the following commands would BEST assists the administrator in identifying the problem?
14. After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much space. Which of the following is the correct sequence given only a terminal is available?
15. Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line: Ann performs some diagnostics to attempt to find the root cause: Which of the following commands should Ann execute to write content to /etc/yum?
16. Which of the following server roles would assign a host IP address?
17. 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?
18. A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop
19. A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries and utilize a minimal footprint. Which of the following would be BEST in this scenario?
20. Which of the following configuration management tools is considered agentless?
21. Which of the following is the purpose of the vmlinux file on a Linux system?
22. A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow this access?
23. A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives the following output: Given this scenario, which of the following steps will address this issue?
24. Given the output below: Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
25. A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?