CompTIA Server+ SK0-005 Practice Question

A system administrator is troubleshooting a web application on a hardened Linux server. The application is unable to read its configuration file at /srv/www/config/app.conf. The administrator verified the file has rw-r--r-- permissions and is owned by the correct webapp user and group, under which the application service runs. The server has SELinux enabled and set to "Enforcing" mode. The application logs explicitly show a "Permission denied" error when trying to access /srv/www/config/app.conf.

Which of the following is the MOST likely cause for the file access failure?

  • The file has an incorrect SELinux security context.

  • A memory leak in the application is causing it to fail before the file can be read.

  • The parent directories in the file's path do not have the execute (x) permission bit set for the webapp user.

  • The webapp user's primary group is misconfigured in /etc/passwd.

CompTIA Server+ SK0-005
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $47
$390.00 $343.00
SAVE $53
CompTIA Server+ Voucher with Retake
v5 / SK0-005
Includes Retake
$439.00 $386.00
Bash, the Crucial Exams Chat Bot
AI Bot