Multiple Choice
Ann, a Linux administrator, wants to edit a configuration management file. When she opens the file to edit, her text editor reports that the file has been opened in read-only mode. She then tries to edit the file as root by elevating via sudo and is still unable to save any changes. The error message in her text editor says that the read-only option is set on the file. Ann checks the permissions on the file and sees the following: -rw-rw-r-- 1 root wheel 30 Jun 13 15:38 infrastructure.yml Which of the following commands is the BEST option to allow her to successfully modify the file?
A) chmod 600 infrastructure.yml
B) chown root: infrastructure.yml
C) chattr -i infrastructure.yml
D) chmod o+w infrastructure.yml
Correct Answer:

Verified
Correct Answer:
Verified
Q1: A junior administrator of a physical server
Q2: Which of the following can be used
Q3: A junior Linux administrator is trying to
Q4: A Linux administrator recently reprovisioned a new
Q5: A Linux administrator needs to remotely update
Q7: A user has connected a Bluetooth mouse
Q8: The development team has automated their software
Q9: An analyst is trying to determine which
Q10: A systems administrator has finished building a
Q11: An administrator receives an alarm because the