Cloud & DevOps · Question 21 · Medium

Which octal mode gives the permissions rw-r----- (owner read and write, group read only, others nothing)?

  1. 644
  2. 604
  3. 750
  4. 640
Answer and explanation

Answer: D. 640

Explanation: Owner rw- = 4 + 2 = 6, group r-- = 4, others --- = 0, so the mode is 640.

Previous: The ability of a cloud system to add resources automatically when demand rises… · Next: What does this shell pipeline print? Ignore any leading spaces.

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge