CompTIA Linux+ Exam XK0-005 Question # 46 Topic 5 Discussion

CompTIA Linux+ Exam XK0-005 Question # 46 Topic 5 Discussion

XK0-005 Exam Topic 5 Question 46 Discussion:
Question #: 46
Topic #: 5

A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries.

Which of the following commands would be BEST to use to accomplish this task?


A.

chattr +a /opt/app/logs


B.

chattr +d /opt/app/logs


C.

chattr +i /opt/app/logs


D.

chattr +c /opt/app/logs


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.