nerdexam
LPI

117-303 · Question #3

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

(43 responses)
  • A
    5% (2)
  • B
    16% (7)
  • C
    72% (31)
  • D
    7% (3)

Community Discussion

No community discussion yet for this question.

Full 117-303 Practice