
CompTIALinux+
Domain 2Objective 1
Files & Directories XK0-006 Practice Questions (Page 3)
Part of the Services and User Management domain, which accounts for 20% of the XK0-006 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–12 in this domain), expect 1–2 from this objective — we provide 24 practice questions to prepare you well beyond it. (estimate)
24questions here
5free pages
7concepts
20%of the exam
Questions 11–15
- 11
A system administrator needs to create a device file for a new block device. The device major number is 8 and minor number is 1. Which command creates the block device file?
Select an answer first - 12
A user wants to give their colleague read and write access to a file, but only the owner should be able to execute it. The file is currently owned by the user and the group is 'staff'. The colleague is in the 'staff' group. Which command sets the correct permissions?
Select an answer first - 13
Which command changes the permissions of a file named report.txt so that the owner has read and write permissions, the group has read permission, and others have no permissions?
Select an answer first - 14
A monitoring script needs to receive data from a process that writes to a named pipe. The script reads from the pipe. Which command creates the named pipe for this purpose?
Select an answer first - 15
A shared directory /data has the SGID bit set and permissions 2770. The administrator notices that new files created in this directory are owned by the group 'staff', but the administrator wants them to be owned by the group 'devs'. The directory is currently owned by group 'staff'. What should the administrator do?
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.