Courseiva
hardMultiple ChoiceObjective-mapped

XK0-006 Practice Question: Refer to the exhibit

Exhibit

Refer to the exhibit.

$ getfacl file.txt
# file: file.txt
# owner: alice
# group: staff
user::rw-
user:bob:r--
group::r--
mask::rw-
other::---

Refer to the exhibit. Alice is the owner of file.txt. Bob is a member of the staff group. What permissions does Bob have on file.txt?

⚠ Common exam trap

A common pitfall is assuming that group membership determines Bob's access, but the ACL entry for Bob as an individual user takes precedence. Always check for user-specific ACL entries before evaluating group permissions.

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

Read only

Bob has read-only access because the ACL (Access Control List) for file.txt includes an entry 'user:bob:r--', which grants Bob read permission. This ACL entry overrides any group permissions, so even though the group 'staff' may have different permissions, Bob's effective permissions are determined by the ACL entry specific to him.

Answer analysis

Option-by-option breakdown

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

  • Read only

    Why this is correct

    The ACL entry 'user:bob:r--' gives read permission.

  • Read and write

    Why it's wrong here

    Bob's ACL entry only grants read.

  • No access

    Why it's wrong here

    Bob has read access via ACL.

  • Write only

    Why it's wrong here

    Bob does not have write permission.

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

Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.