Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIALinux+

Domain 3Objective 3

OS Hardening XK0-006 Practice Questions (Page 1)

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 1–5

  1. 1application · medium

    A company has a shared directory /data/shared where multiple users need to create and edit files. The administrator wants to ensure that any new file created in this directory is automatically owned by the 'shared' group, regardless of the creator's primary group. Which command should the administrator run?

    Select an answer first
  2. 2foundation · easy

    What is the primary purpose of Access Control Lists (ACLs) on a Linux file system?

    Select an answer first
  3. 3foundation · easy

    In the sudoers file, what does the line 'alice ALL=(ALL) ALL' allow the user alice to do?

    Select an answer first
  4. 4foundation · easy

    Which command should be used to safely edit the sudoers file?

    Select an answer first
  5. 5foundation · easy

    Which SSH hardening measure involves changing the port number from the default to a non-standard port?

    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.