CompTIACompTIA
XK0-005 · Question #1152
XK0-005 Question #1152: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1152. The question stem and answer options stay visible for context.
Security
Question
An administrator notices a directory on a web server named /var/www/html/old_reports that should no longer be accessible on the web. Which of the following commands will accomplish this task?
Options
- Achmod 000 /var/www/html/old_reports
- Bchgrp root /var/www/html/old_reports
- Cchown apache /var/www/html/old_reports
- Dsetenforce apache /var/www/html/old_reports
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#File permissions#chmod command#Web server security#Linux commands