
CompTIALinux+
Domain 3Objective 3
OS Hardening XK0-006 Practice Questions (Page 3)
Part of the Security domain, which accounts for 18% of the XK0-006 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~6–11 in this domain), expect 1–2 from this objective — we provide 17 practice questions to prepare you well beyond it. (estimate)
17questions here
4free pages
8concepts
18%of the exam
Questions 11–15
- 11
What is the primary purpose of a firewall on a Linux system?
Select an answer first - 12
Which command is used to view the Access Control List (ACL) entries on a file or directory?
Select an answer first - 13
Which SSH hardening directive should be set to 'no' to prevent the root user from logging in directly via SSH?
Select an answer first - 14
What is the primary purpose of the sudo command?
Select an answer first - 15
A junior admin needs to grant a developer named 'alex' read-only access to the /var/log/nginx/ directory so they can troubleshoot web application errors. The developer should not be able to modify or delete any log files. The directory is currently owned by root:root with permissions 755. Which command sequence should the senior admin use?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “XK0-006” is a trademark of its owner, used for identification only.