Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 13

Question 5 — AZ-104 Practice Exam 13

Which statement best describes a limitation of the cat command? (Select one answer)

  1. It only works if the file is a directory.

  2. It only produces meaningful output if the file is a text file.

  3. It cannot be used with files in the /etc directory.

  4. It automatically formats binary files for easy reading.

Correct answers

  1. It only produces meaningful output if the file is a text file.

Explanations

Correct:
It only produces meaningful output if the file is a text file: cat displays raw contents, which is only readable when the file is text.

Wrong:
It only works if the file is a directory: cat is for files, not directories.
It cannot be used with files in the /etc directory: It can be used there with proper permissions.
It automatically formats binary files for easy reading: It does not format binary data.