nerdexam
Linux_Foundation

LFCA · Question #12

An IT associate is responsible for protecting and maintaining the integrity of a set of configuration files. What command could be used to prevent users from modifying these files?

The correct answer is C. chmod. The chmod command is used to change file permissions, effectively preventing unauthorized users from modifying configuration files.

Submitted by olafpl· May 4, 2026Linux Fundamentals

Question

An IT associate is responsible for protecting and maintaining the integrity of a set of configuration files. What command could be used to prevent users from modifying these files?

Options

  • Asetcap
  • Bauditd
  • Cchmod
  • Dchown

How the community answered

(65 responses)
  • A
    2% (1)
  • B
    3% (2)
  • C
    89% (58)
  • D
    6% (4)

Why each option

The chmod command is used to change file permissions, effectively preventing unauthorized users from modifying configuration files.

Asetcap

setcap is used to set or get capabilities for executable files, not to control general user file modification permissions.

Bauditd

auditd is a daemon that provides a CAPP-compliant auditing system, used for logging system calls and events, not for setting file modification prevention directly.

CchmodCorrect

The `chmod` command (change mode) is used to change file and directory permissions, allowing an administrator to restrict write access for specific users or groups to protect file integrity.

Dchown

chown (change owner) is used to change the owner or group of a file, which indirectly affects permissions but is not the primary command for preventing modification by existing users.

Concept tested: Linux file permissions

Source: https://man7.org/linux/man-pages/man1/chmod.1.html

Topics

#File permissions#chmod command#Access control

Community Discussion

No community discussion yet for this question.

Full LFCA Practice