nerdexam
Cisco

350-201(NEW-127Q) · Question #6

350-201(NEW-127Q) Question #6: Real Exam Question with Answer & Explanation

The correct answer is B. chmod 760. Before explaining, I need to flag an error in this question's answer key. The stated requirements do not match option B. Breaking down what the question actually asks for: Owner: full privileges (rwx) = 7 Group: read-only (r--) = 4 Others: no permissions (---) = 0 That maps to ch

System Administration

Question

An organization's Linux server hosts a sensitive configuration file, and the system administrator wants to adjust the file permissions to meet security requirements. The organization's policy mandates that only the owner should have full read, write, and execute privileges, the group should have read-only access, and others should have no permissions. Which #bash command must the system administrator use to meet these requirements?

Options

  • Achmod 444
  • Bchmod 760
  • Cchmod 700
  • Dchmod 644

Explanation

Before explaining, I need to flag an error in this question's answer key.

The stated requirements do not match option B.

Breaking down what the question actually asks for:

  • Owner: full privileges (rwx) = 7
  • Group: read-only (r--) = 4
  • Others: no permissions (---) = 0

That maps to chmod 740 - which is not among the choices.

What the choices actually do:

OptionOwnerGroupOthersMatch?
A. chmod 444r--r--r--No - owner lacks write/execute
B. chmod 760rwxrw----No - group gets write, not read-only
C. chmod 700rwx------No - group gets nothing
D. chmod 644rw-r--r--No - owner lacks execute; others can read

The correct command for the described requirements is chmod 740, which isn't listed. Option B (chmod 760) gives the group read+write (6), not read-only (4) as specified.

Memory tip: In octal permissions, the three digits represent Owner | Group | Others. Each digit sums r=4, w=2, x=1. "Read-only" = 4 alone, never 6.

This appears to be a flawed exam question - if you encounter it on a test, be aware the intended answer is likely B due to the question designer confusing 6 (rw) with 4 (r).

Topics

#chmod#file permissions#Linux#access control

Community Discussion

No community discussion yet for this question.

Full 350-201(NEW-127Q) Practice