Courseiva
System ManagementmediumMultiple ChoiceObjective-mapped

XK0-006 System Management Practice Question

An administrator needs to give a user read and write access to a file without changing the file's group or adding the user to any group. Which method should be used?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

setfacl -m u:username:rw file

Access Control Lists (ACLs) allow setting permissions for specific users beyond the traditional owner/group/others model, without changing group membership.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • chown user: file

    Why it's wrong here

    Changing owner gives the user full control, but may not be desired.

  • chmod u+rw file

    Why it's wrong here

    This gives read/write to the owner only, not a different user.

  • setfacl -m u:username:rw file

    Why this is correct

    ACL allows specific user permissions without changing group.

  • chgrp to user's primary group

    Why it's wrong here

    Changing group would affect all group members.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.