Courseiva
easyMultiple Choice

220-1102 Practice Question: A help desk technician receives a complaint that…

A help desk technician receives a complaint that a shared file in /opt/app/data cannot be read by any user except root. The file permissions are -rw-------, and the file's group is already set to developers. Which command will allow the group 'developers' to read the file?

⚠ Common exam trap

The trap here is that examinees often confuse changing group ownership (`chown :developers`) with granting group permissions (`chmod g+r`), or they mistakenly apply permissions to 'others' (`o+r`) instead of the group, failing to realize that the group must have explicit read permission to access the file.

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 g+r /opt/app/data

The file currently has permissions `-rw-------`, meaning only the owner (root) has read and write access. To allow the group 'developers' to read the file, you need to add read permission for the group. The command `chmod g+r /opt/app/data` adds read permission for the group, which is the correct approach. This directly addresses the requirement without altering other permissions unnecessarily.

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 o+r /opt/app/data

    Why it's wrong here

    This adds read for others, not the group; the group still cannot read.

  • ✗

    chmod 644 /opt/app/data

    Why it's wrong here

    644 sets rw-r--r--, which gives read to group and others; that works but also grants read to everyone, which may be too permissive.

  • ✓

    chmod g+r /opt/app/data

    Why this is correct

    This adds read permission specifically for the group, which is the minimal required change.

  • ✗

    chown :developers /opt/app/data

    Why it's wrong here

    This changes the group ownership but does not change permissions; the group still cannot read if permissions remain 600.

About these practice questions

This 220-1202 question is part of Courseiva's 687-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 220-1202 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 220-1202 exam.