Courseiva
System Management →easyMultiple Choice

XK0-006 System Management Practice Question

A user wants to change the permissions of a file to give the owner full control, the group read and execute, and others no access. Which of the following chmod commands will achieve this?

⚠ Common exam trap

XK0-006 often tests the octal-to-permission mapping, so candidates who confuse the group and others digits (e.g., picking 755 or 770) fail to match the exact requirement of group read/execute and others no access.

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

✓

chmod 750 file

The numeric chmod mode 750 translates to owner=7 (read+write+execute = 4+2+1), group=5 (read+execute = 4+1), and others=0 (no access). This exactly matches the requirement: owner full control, group read and execute, others no access.

Answer analysis

Option-by-option breakdown

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

  • ✓

    chmod 750 file

    Why this is correct

    `chmod 750` encodes owner read/write/execute (7), group read/execute (5), and others no access (0), matching the requested permission set exactly. The three octal digits map directly to user, group, and other classes, so this single command satisfies every constraint in the scenario.

  • ✗

    chmod 700 file

    Why it's wrong here

    700 removes all group permissions, leaving the group unable to read or execute. It is tempting because 700 is the standard hardening choice for private owner-only files such as SSH keys, but this scenario explicitly requires group read and execute access.

  • ✗

    chmod 770 file

    Why it's wrong here

    770 grants the group write permission as well as read and execute, exceeding the stated requirement. It is tempting because 770 is the standard choice when a shared group needs to modify files collaboratively, but here the group must only read and execute.

  • ✗

    chmod 755 file

    Why it's wrong here

    Gives others read and execute.

About these practice questions

This XK0-006 question is part of Courseiva's 781-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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

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.