nerdexam
LPI

303-200 · Question #39

What happens when the command getfattr afile is run while the file afile has no extended attributes set?

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

Question

What happens when the command getfattr afile is run while the file afile has no extended attributes set?

Options

  • Agetfattr prints a warning and exits with a values of 0.
  • Bgetfattr prints a warning and exits with a value of 1.
  • CNo output is produced and getfattr exits with a value of 0.
  • DNo outputs is produced and getfattr exits with a value of 1

How the community answered

(50 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    76% (38)
  • D
    14% (7)

Community Discussion

No community discussion yet for this question.

Full 303-200 Practice