
CompTIALinux+
Domain 3Objective 3
OS Hardening XK0-006 Practice Questions (Page 2)
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 6–10
- 6
Which special permission, when set on a directory, restricts file deletion to the file's owner, the directory's owner, or the root user?
Select an answer first - 7
Which command changes the group ownership of a file named report.txt to the group 'finance'?
Select an answer first - 8
Which command is used to manage firewall rules on a Linux system using nftables?
Select an answer first - 9
A company has a shared project directory /srv/project with permissions 770 (owner: root, group: devs). A contractor 'carol' needs read and write access to this directory, but she is not a member of the 'devs' group. The security policy requires that carol's access be limited to this directory only and that she cannot modify the directory's ownership or permissions. Which command should the administrator run?
Select an answer first - 10
Which file defines the rules for which users can run which commands with sudo?
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.