| Exam Code/Number: | XK0-005Join the discussion |
| Exam Name: | CompTIA Linux+ Certification Exam |
| Certification: | CompTIA |
| Question Number: | 895 |
| Publish Date: | Jun 11, 2026 |
|
Rating
100%
|
|
A Linux administrator encounters the following error in the Apache log files:
SQLSTATE[HY000] [2002] Permission denied
Which of the following commands should the administrator run to safely fix this issue?
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?
A Linux systems administrator receives a report that a user is unable to start an application. The administrator reviews the following error:
yaml
CopyEdit
Killed process 1141 (application) ... total-vm:5622584kB ...
oom_score_adj:0 oom_reaper: reaped process 1141 ...
Which of the following describes the situation?
A security team discovers that a web server has been running with elevated privileges and identifies it as a security violation. Which of the following items needs to be added to the webserver.service file to remediate the issue?
A junior systems administrator recently installed an HBA card in one of the servers that is deployed for a production environment. Which of the following commands can the administrator use to confirm on which server the card was installed?