CompTIA XK0-005 Dumps (V13.02) – Right Materials for Passing Your CompTIA Linux+ Certification Exam

If you are preparing for your CompTIA Linux+ Certification exam, the need for thorough preparation and self-confidence is important for success. The CompTIA XK0-005 dumps of DumpsBase should be the right materials, which not only help you prepare sufficiently but also boost your self-esteem ahead of the exam. The current version of CompTIA XK0-005 dumps is V13.02 with 300 practice exam questions and answers. This version provides an excellent way of preparing for your CompTIA Linux+ certification exam. With the most updated CompTIA XK0-005 dumps (V13,02), we offer a comprehensive and in-depth understanding of the exam content, which is essential for your success. Moreover, they are available at a very affordable price, making them accessible to students on a budget. Additionally, the XK0-005 dumps of DumpsBase are regularly updated, ensuring that you are always in line with the latest exam requirements.

CompTIA Linux+ Dumps (V13.02) XK0-005 Free Dumps Online

1. An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted.

Which of the following commands should the administrator use to identify the correct

version of this file?

2. A cloud engineer needs to change the secure remote login port from 22 to 49000.

Which of the following files should the engineer modify to change the port number to the desired value?

3. A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository.

Which of the following commands should the administrator use for this task?

4. 0.2.25 on port 3128.

Which of the following commands will accomplish this task?

5. Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5.1.

Which of the following commands should the administrator run to achieve this goal?

6. A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following:

Which of the following commands should replace the <CONDITIONAL> string?

7. DRAG DROP

As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:

Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.

INSTRUCTIONS

Fill the blanks to build a script that performs the actual compression of rotated log files.

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

8. A systems administrator is deploying three identical, cloud-based servers.

The administrator is using the following code to complete the task:

Which of the following technologies is the administrator using?

9. Which of the following technologies can be used as a central repository of Linux users and groups?

10. A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to.

When listing link parameters, the following is presented:

Based on the output above, which of following is the MOST probable cause of the issue?

11. A Linux administrator was asked to run a container with the httpd server inside. This container should be exposed at port 443 of a Linux host machine while it internally listens on port 8443.

Which of the following commands will accomplish this task?

12. A Linux administrator needs to analyze a failing application that is running inside a container.

Which of the following commands allows the Linux administrator to enter the running container and analyze the logs that are stored inside?

13. A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1.

Which of the following commands will accomplish this task?

14. When trying to log in remotely to a server, a user receives the following message:

The server administrator is investigating the issue on the server and receives the following outputs:

Which of the following is causing the issue?

15. A new Linux systems administrator just generated a pair of SSH keys that should allow connection to the servers.

Which of the following commands can be used to copy a key file to remote servers? (Choose two.)

16. A systems administrator needs to reconfigure a Linux server to allow persistent IPv4 packet forwarding.

Which of the following commands is the correct way to accomplish this task?

17. A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily.

Which of the following is MOST likely causing the issue?

18. An administrator deployed a Linux server that is running a web application on port 6379/tcp.

SELinux is in enforcing mode based on organization policies.

The port is open on the firewall.

Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied.

The administrator ran some commands that resulted in the following output:

Which of the following commands should be used to resolve the issue?

19. A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect.

Which of the following would the administrator do to complete this requirement?

20. A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote.

Which of the following commands will achieve the desired effect?

21. An administrator needs to make some changes in the IaC declaration templates.

Which of the following commands would maintain version control?

22. An administrator attempts to rename a file on a server but receives the following error.

The administrator then runs a few commands and obtains the following output:

Which of the following commands should the administrator run NEXT to allow the file to be renamed by any user?

23. Which of the following commands will display the operating system?

24. A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app.

Which of the following is the correct list of commands to achieve this goal?

A)

B)

C)

D)

25. A Linux administrator recently downloaded a software package that is currently in a compressed file.

Which of the following commands will extract the files?

26. A Linux administrator is troubleshooting SSH connection issues from one of the workstations.

When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:

The administrator reviews the information below:

Which of the following is causing the connectivity issue?

27. Which of the following files holds the system configuration for journal when running systemd?

28. A Linux administrator is tasked with creating resources using containerization. When deciding how to create this type of deployment, the administrator identifies some key features, including portability, high availability, and scalability in production.

Which of the following should the Linux administrator choose for the new design?

29. Which of the following tools is commonly used for creating CI/CD pipelines?

30. A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner.

Which of the following commands will satisfy this requirement?

31. A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists.

Which of the following PAM modules will accomplish this task?

32. A systems administrator has been tasked with disabling the nginx service from the environment to prevent it from being automatically and manually started.

Which of the following commands will accomplish this task?

33. A Linux administrator is troubleshooting an issue in which an application service failed to start on a

Linux server.

The administrator runs a few commands and gets the following outputs:

Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?

34. A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After the administrator restarts the server, the website displays the following message in the browser: Error establishing a database connection.

The Linux administrator reviews the following relevant output from the systemd init files:

The administrator needs to ensure that the database is available before the web application is started.

Which of the following should the administrator add to the HTTP server .service file to accomplish this task?

35. Several users reported that they were unable to write data to the /oracle1 directory.

The following output has been provided:

Which of the following commands should the administrator use to diagnose the issue?

36. After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed.

Which of the following commands can be used to remove the package?

37. A systems administrator is checking the system logs. The administrator wants to look at the last 20 lines of a log.

Which of the following will execute the command?

38. An administrator is trying to diagnose a performance issue and is reviewing the following output:

System Properties:

CPU: 4 vCPU

Memory: 40GB

Disk maximum IOPS: 690

Disk maximum throughput: 44Mbps | 44000Kbps

Based on the above output, which of the following BEST describes the root cause?

39. A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40.

Which of the following commands will accomplish this task?

40. A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file.

Which of the following commands will accomplish this task?

41. A Linux administrator is troubleshooting the root cause of a high CPU load and average.

Which of the following commands will permanently resolve the issue?

42. A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights.

Which of the following commands will achieve this goal?

43. A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator.

The following output was received:

Which of the following commands can be used to resolve this issue?

44. A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available for developers to use when deploying containers. Currently only Java 8 is available.

Which of the following commands should the administrator run to ensure both versions are available?

45. A cloud engineer is installing packages during VM provisioning.

Which of the following should the engineer use to accomplish this task?

46. A systems administrator is tasked with creating a cloud-based server with a public IP address.

Which of the following technologies did the systems administrator use to complete this task?

47. A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser.

While working on the diagnosis of this issue, the Linux systems administrator executes the following commands:

Which of the following commands will BEST resolve this issue?

48. To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service.

Which of the following should the administrator do?

49. Which of the following is a function of a bootloader?

50. A systems administrator configured firewall rules using firewalld.

However, after the system is rebooted, the firewall rules are not present:

The systems administrator makes additional checks:

Which of the following is the reason the firewall rules are not active?

51. A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure.

Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?

52. A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job.

Given the following:

The Linux administrator attempts to start the timer service but receives the following error message:

Which of the following is MOST likely the reason the timer will not start?

53. A Linux administrator wants to find out whether files from the wget package have been altered since they were installed.

Which of the following commands will provide the correct information?

54. A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared:

The local machine DNS settings are:

Which of the following commands could the engineer use to query the DNS server to get mail server information?

55. A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs.

The engineer needs to ensure the log file can only be written into without removing previous entries.

Which of the following commands would be BEST to use to accomplish this task?

56. A systems administrator needs to check if the service systemd-resolved.service is running without any errors.

Which of the following commands will show this information?

57. 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 event commands.

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

58. A Linux administrator needs to remove software from the server.

Which of the following RPM options should be used?

59. A Linux system fails to start and delivers the following error message:

Which of the following commands can be used to address this issue?

60. Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.

To which of the following configuration files will the required changes need to be made?

61. A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but receives the following error message:

Given the following analysis:

Which of the following is causing the error message?

62. A Linux administrator needs to create a new cloud.cpio archive containing all the files from the current directory.

Which of the following commands can help to accomplish this task?

63. A systems administrator made some changes in the ~/.bashrc file and added an alias command. When the administrator tried to use the alias command, it did not work.

Which of the following should be executed FIRST?

64. A junior systems administrator has just generated public and private authentication keys for passwordless login.

Which of the following files will be moved to the remote servers?

65. A Linux administrator cloned an existing Linux server and built a new server from that clone.

The administrator encountered the following error after booting the cloned server:

The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem:

Which of the following should administrator use to resolve the device mismatch issue and mount the disk?

66. A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen.

Which of the following commands will allow the systems administrator to check whether the system supports virtualization?

67. A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners.

Which of the following will accomplish this goal?

68. A Linux systems administrator needs to persistently enable IPv4 forwarding in one of the Linux systems.

Which of the following commands can be used together to accomplish this task? (Choose two.)

69. Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago.

Which of the following commands will accomplish this task?

70. A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site.

Which of the following parameters will accomplish this goal?

A)

B)

C)

D)

71. Some servers in an organization have been compromised. Users are unable to access to the organization’s web page and other services.

While reviewing the system log, a systems administrator notices messages from the kernel regarding firewall rules:

Which of the following commands will remediate and help resolve the issue?

A)

B)

C)

D)

72. A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection.

Given the following output:

Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?

73. A Linux administrator needs to resolve a service that has failed to start.

The administrator runs the following command:

The following output is returned

Which of the following is MOST likely the issue?

74. A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission.

Which of the following commands will accomplish this task?

75. A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemct1 isolate graphical.target and rebooted the system by running systemct1 reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal.

Which of the following is the issue?

76. Users report that connections to a MariaDB service are being closed unexpectedly.

A systems administrator troubleshoots the issue and finds the following message in /var/log/messages:

Which of the following is causing the connection issue?

77. A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH.

Which of the following environment variables must be set in remote shell in order to launch the graphical interface?

78. A systems administrator is implementing a new service task with systems at startup and needs to execute a script entitled test.sh with the following content:

The administrator tries to run the script after making it executable with chmod +x; however, the script will not run.

Which of the following should the administrator do to address this issue? (Choose two.)

79. A Linux administrator needs to correct the permissions of a log file on the server.

Which of the following commands should be used to set filename.log permissions to -rwxr―r--. ?

80. After listing the properties of a system account, a systems administrator wants to remove the expiration date of a user account.

Which of the following commands will accomplish this task?

81. A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid.

Which of the following commands can be used for this task?

82. A user generated a pair of private-public keys on a workstation.

Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?

83. A Linux administrator created a new file system.

Which of the following files must be updated to ensure the filesystem mounts at boot time?

84. A Linux administrator is troubleshooting a memory-related issue.

Based on the output of the commands:

Which of the following commands would address the issue?

85. A systems administrator made some unapproved changes prior to leaving the company. The newly hired administrator has been tasked with revealing the system to a compliant state.

Which of the following commands will list and remove the correspondent packages?

86. An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password.

Given the following output:

Which of the following commands would resolve the issue?

87. A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container.

Which of the following commands will help to accomplish this task?

88. A Linux system is failing to boot with the following error:

Which of the following actions will resolve this issue? (Choose two.)

89. A Linux administrator needs to create an image named sda.img from the sda disk and store it in the /tmp directory.

Which of the following commands should be used to accomplish this task?

90. A Linux administrator is creating a primary partition on the replacement hard drive for an application server.

Which of the following commands should the administrator issue to verify the device name of this partition?

91. A systems administrator is investigating why one of the servers has stopped connecting to the internet.

Which of the following is causing the issue?

92. A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive.

Which of the following commands will help the administrator accomplish this task?

93. A junior Linux administrator is tasked with installing an application.

The installation guide states the application should only be installed in a run level 5 environment.

Which of the following commands would ensure the server is set to runlevel 5?

94. A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project is over. The expiration date should be 2021-09-30.

Which of the following commands will accomplish this task?

95. A DevOps engineer needs to download a Git repository from https://git.company.com/admin/project.git.

Which of the following commands will achieve this goal?

96. An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*.

Which of the following commands should be used to resolve this issue?

97. A Linux system is getting an error indicating the root filesystem is full.

Which of the following commands should be used by the systems administrator to resolve this issue? (Choose three.)

98. A cloud engineer is asked to copy the file deployment.yaml from a container to the host where the container is running.

Which of the following commands can accomplish this task?

99. A Linux system is failing to start due to issues with several critical system processes.

Which of the following options can be used to boot the system into the single user mode? (Choose two.)


 

Updated PK0-005 Dumps V12.02 - CompTIA Project+ Certification Exam Preparation with the Latest Exam Questions and Answers
CompTIA FC0-U61 Dumps (V12.02) - Prepare for the CompTIA IT Fundamentals+ Certification Exam