CompTIA Linux+ Certification - XK0-005 Exam Practice Test

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?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
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?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
A Linux administrator needs to list the packages that are currently installed on a server. Which of the following commands should the administrator use?
Correct Answer: A Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
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?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which of the following would significantly help to reduce data loss if more than one drive fails at the same time?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
An administrator needs to kill the oldest Bash shell running in the system.
Which of the following commands should be issued to accomplish this task?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
A Linux administrator execute the following steps in this order:
1. Changes some software code
2. Commits the changes to the Git repository
3. Triggers a job to compile
4. Execute some test scripts
5. Packages the software package
6. Publishes the software packages to a package repository
Which of the following orchestration processes is the administrator using?
Correct Answer: A Vote an answer
An administrator would like to mirror the website files on the primary web server www1, to the backup web server www2. Which of the following commands should the administrator use to most efficiently accomplish this task?
Correct Answer: A Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Users report that they are unable to reach the company website https://www.comptia.org. A systems administrator confirms the issue with the following command:
# curl https://www.comptia.org
curl: (7) Failed to connect to www.comptia.org port 443: No route to host The administrator logs in to the company's web server to check its configuration and sees the following output:
[email protected]:-># firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: dummy0 eth0
sources:
services: cockpit dhcpv6-client http ssh
ports: 3001/tcp
protocols:
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source address="61.177.173.6" port port="ssh" protocol="tcp" reject type="icmp-port-unreachable" rule family="ipv4" source address="185.143.45.164" port port="ssh" protocol="tcp" reject type="icmp-port-unreachable" rule family="ipv4" source address="143.198.60.41" port port="ssh" protocol="tcp" reject type="icmp-port-unreachable" [email protected]:-># ip route default via 172.31.1.1 dev eth0 proto dhcp src 65.21.187.65 metric 100 10.0.6.0/24 dev dummy0 proto kernel scope link src 10.0.6.65 metric 550 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 172.18.0.0/16 dev br-28ac2eaeeca1 proto kernel scope link src 172.18.0.1 172.19.0.0/16 dev br-fb3897555ca3 proto kernel scope link src 172.19.0.1 linkdown 172.31.1.1 dev eth0 proto dhcp scope link src 65.21.187.65 metric 100 192.168.224.0/20 dev br-e949ab177d79 proto kernel scope link src 192.168.224.1 linkdown 192.168.240.0/20 dev br-6adf72ac0ae3 proto kernel scope link src 192.168.240.1 linkdown Which of the following is causing the issue?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Which of the following configuration files should be modified to disable Ctrl-Alt-Del in Linux?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).