Updated CompTIA Linux+ XK0-004 Exam Dumps

To help you complete CompTIA Linux+ Certification Exam, DumpsBase has updated XK0-004 exam dumps on March 7, 2020. The new CompTIA Linux+ XK0-004 exam dumps help you complete the topics in security, kernel modules, storage & visualization, device management at an enterprise level, git & automation, networking & firewalls, server side & command line, server (vs. client-based) coverage, troubleshooting and SELinux. We ensure that you can pass XK0-004 CompTIA Linux+ certification exam in the first try.

Read XK0-004 CompTIA Linux+ Free Dumps First

1. Which of the following would be the BEST solution for a systems administrator to access the graphical user environment of a Linux machine remotely?

 
 
 
 

2. A technical support engineer receives a ticket from a user who is trying to create a 1KB file in the /tmpdirectory and is getting the following error No space left on device. The support engineer checks the /tmp directory, and it has 20GB of free space.

Which of the following BEST describes a possible cause for this error?

 
 
 
 

3. Which of the following is the BEST reason for not storing database files in the /var directory?

 
 
 
 

4. SIMULATION

A junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.

INSTRUCTIONS

Install Apache and start the service. Verify that the Apache service is running with the defaults.

Typing “help” in the terminal will show a list of relevant commands.

If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

CentOS Command Prompt

5. DRAG DROP

The lead Linux has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1) to last (4) to add the disk to the existing LVM.

6. An 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?

 
 
 
 

7. Which of the following can be used to boot a DVD from a remote device to initialize a Linux system setup on bare metal hardware as if it is a local DVD?

 
 
 
 

8. A Linux administrator must identify a user with high disk usage.

The administrator runs the # du Cs /home/* command and gets the following output:

Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.

Which of the following commands will accomplish this task?

 
 
 
 

9. A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP.

Which of the following commands would BEST accomplish this task?

 
 
 
 
 

10. A systems administrator needs to append output of ls Clha /opt command to the contents of a test.txt file.

Which of the following commands will accomplish this?

 
 
 
 

11. 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?

 
 
 
 

12. Which of the following BEST describes running on a Linux system?

 
 
 
 

13. A networked has been crashing intermittently. A Linux administrator would like to write a shell script that will attempt to ping the server and email an alert if the server fails to respond. The script will later be scheduled via cron job.

Which of the following scripts would BEST accomplish this task?

A)

B)

C)

D)

 
 
 
 

14. A Linux administrator is testing connectivity to a remote host on a shared terminal. The administrator wants to allow other users to access the terminal while the command is executing.

Which of the following commands should the administrator use?

 
 
 
 

15. A Linux administrator needs to switch from text mode to GUI.

Which of the following runlevels will start the GUI by default?

 
 
 
 

16. 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.)

 
 
 
 
 
 
 
 

17. An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed.

However, the administrator fears that when the network connection drops, the network restart script will be killed before the new IP address has been set.

Which of the following commands would prevent the script from being killed?

 
 
 
 

18. A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop’s logs”

The web server starts properly, but an error is generated in the audit log.

Which of the following settings should be enabled to prevent this audit message?

 
 
 
 

19. Which of the following BEST describes the purpose of the X11 system?

 
 
 
 

20. An administrator is analyzing a Linux server which was recently hacked.

Which of the following will the administrator use to find all unsuccessful login attempts?

 
 
 
 

21. A junior administrator needs to unload an older video kernel module.

Which of the following commands would BEST accomplish this task?

 
 
 
 

22. An 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?

 
 
 
 

23. A junior Linux administrator is setting up system-wide configuration settings. The goal is to ensure the PATH environment variable includes the following locations for all users who log into a Linux system.

The administrator issues the following commands at the terminal:

Respectively, the output of these commands is as follows:

Given this output, which of the following would be the BEST action for the administrator to perform to address this issue?

 
 
 
 

24. 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?

 
 
 
 

25. A Linux systems administrator needs to set permissions on an application with the following parameters:

The owner of the application should be able to read, write, and execute the application.

Members of the group should be able to read and execute the application.

Everyone else should not have access to the application.

Which of the following commands would BEST accomplish these tasks?

 
 
 
 

26. A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP.

Which of the following commands should the administrator execute?

 
 
 
 

27. 0.0.1 localhost

Which of the following actions should the administrator perform to accomplish this task?

 
 
 
 

28. A Linux systems administrator needs to copy the contents of a directory named “working” on the local working system to a folder /var/www/html on a server named “corporate-web”.

Which of the following commands will allow the administrator to copy all the contents to the web server?

 
 
 
 

29. 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?

 
 
 
 

30. 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 CL command appears to contain a complete firewall configuration.

Which of the following commands does the administrator need to issue for the router to be fully functional?

 
 
 
 

31. A systems administration team has decided to their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation whenever they provision a new instance. If there is an issue with one of their servers, instead of troubleshooting the issue they terminate the instance and rebuild it using automation.

Which of the following is this an example of?

 
 
 
 

32. 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?

 
 
 
 

33. An operator finds a user is having issues with opening certain files.

Which of the following commands would allow the security administrator to list and check the SELinux context?

 
 
 
 

34. 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?

 
 
 
 

35. 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?

 
 
 
 

36. 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?

 
 
 
 

37. A Linux server needs to be accessed, but the root password is not available.

Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?

 
 
 
 

38. A Linux administrator wants to fetch a Git repository from a remote Git server.

Which of the following is the BEST command to perform this task?

 
 
 
 

39. An administrator needs to create a shared directory in which all users are able, write, and execute its content but none of the regular users are able to delete any content.

Which of the following permissions should be applied to this shared directory?

 
 
 
 

40. A systems administrator has finished building a new feature for the monitoring software in a separate Git branch.

Which of the following is the BEST method for adding the new feature to the software’s master branch?

 
 
 
 

41. Which of the following will provide a list of all flash, external, internal, and SSD drives?

 
 
 
 

42. Which of the following configuration management tools is considered agentless?

 
 
 
 

43. An 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?

 
 
 
 

44. Which of the following is a difference between YAML and JSON?

 
 
 
 

New CompTIA Network+ Dumps N10-007 Exam Questions
New CompTIA CySA+ Exam CS0-001 Dumps Online

Add a Comment

Your email address will not be published. Required fields are marked *