nerdexam
CompTIA

LX0-102 · Question #371

Which of the following statements is true when querying the extended attributes of a file that has no extended attributes set?

The correct answer is C. No output will be produced and getfattr will exit with a value of 0. See the full explanation below for the reasoning.

Question

Which of the following statements is true when querying the extended attributes of a file that has no extended attributes set?

Options

  • Agetfattr will print a warning and exit with a value of 0.
  • Bgetfattr will print a warning and exit with a value of 1.
  • CNo output will be produced and getfattr will exit with a value of 0.
  • DNo output will be produced and getfattr will exit with a value of 1.

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    83% (25)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice