nerdexam
CompTIA

LX0-104 · Question #366

Linux Extended Attributes include attribute classes. Which of the following are included in the defined attribute classes? (Select THREE correct answers)

The correct answer is B. system D. trusted E. user. This question asks to identify the defined attribute classes or namespaces for Linux Extended Attributes.

Administrative Tasks

Question

Linux Extended Attributes include attribute classes. Which of the following are included in the defined attribute classes? (Select THREE correct answers)

Options

  • Adefault
  • Bsystem
  • Cowner
  • Dtrusted
  • Euser

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    93% (26)
  • C
    4% (1)

Why each option

This question asks to identify the defined attribute classes or namespaces for Linux Extended Attributes.

Adefault

`default` is not a defined attribute class or namespace for extended attributes in Linux.

BsystemCorrect

The `system` attribute class is used by the kernel for internal purposes, such as storing POSIX ACLs and security attributes, and typically requires root privileges for access.

Cowner

`owner` is not a defined attribute class or namespace for extended attributes in Linux; permissions are handled by standard file permissions and ACLs.

DtrustedCorrect

The `trusted` attribute class stores attributes that can only be read or modified by processes with specific elevated capabilities (e.g., `CAP_SYS_ADMIN`), making them suitable for sensitive system information.

EuserCorrect

The `user` attribute class allows regular users to store arbitrary metadata on files, subject to file permissions, without requiring special privileges beyond those needed to write to the file itself.

Concept tested: Linux Extended Attribute classes

Source: https://man7.org/linux/man-pages/man7/xattr.7.html

Topics

#Extended Attributes#xattrs#attribute classes

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice