CompTIA XK0-005 - CompTIA Linux+ Exam
The MySQL database process that was running on a Linux server suddenly stopped, and the process was killed. Which of the following commands can help identify whether this issue was produced by the OOM killer?
A Linux systems administrator needs to add additional code to code that resides within a repository without changing the original code. Once completed, the additional code will be merged into the main branch. Which of the following commands should the administrator use first?
A Linux systems administrator has applied the necessary configuration to allow both HTTP and HTTPS through the firewall. However, the host is not responding on either HTTP or HTTPS. Given the output below, what is the issue?
python-repl
Copy
firewall-cmd —list-all-zones
public (active)
...
services: ssh
...
internal
...
services: http https ssh
Which of the following best describes the reason the system is not responding on HTTP or HTTPS?
A systems administrator received a request to change a user's credentials. Which of the following commands will grant the request?
A Linux administrator is troubleshooting an SSHD issue on a server. Users are receiving error messages stating the connection is refused. Which of the following commands should be used to verify whether the service is listening?
A Linux administrator needs to list the packages that are currently installed on a server. Which of the following commands should the administrator use?
Which of the following paths stores the configuration files in a Linux filesystem?
A systems administrator intends to use a UI-JID to mount a new partition per-manently on a Linux system. Which of the following commands can the adminis-trator run to obtain information about the UUlDs of all disks attached to a Linux system?
An administrator made a change to a system’s network configuration. Which of the following best represents what the administrator should do to have the new configuration take effect?
A Linux administrator is troubleshooting a systemd mount unit file that is not working correctly. The file contains:
[root@system] # cat mydocs.mount
[Unit]
Description=Mount point for My Documents drive
[Mount]
What=/dev/drv/disk/by-uuid/94afc9b2-ac34-ccff-88ae-297ab3c7ff34
Where=/home/user1/My Documents
Options=defaults
Type=xfs
[Install]
WantedBy=multi-user.target
The administrator verifies the drive UUID correct, and user1 confirms the drive should be mounted as My Documents in the home directory. Which of the following can the administrator
do to fix the issues with mounting the drive? (Select two).