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

Question 3 — AZ-104 Practice Exam 2

For each statement below, indicate whether it is True or False.

Response matrix
ItemTrue False
Commands in Bash can be typed interactively in a console. □□
Scripts in Bash allow multiple commands to be executed together. □□
Bash does not support running commands directly from the console. □□
Scripts in Bash are limited to containing only one command. □□

Correct answers

  1. Commands in Bash can be typed interactively in a console. → True
  2. Scripts in Bash allow multiple commands to be executed together. → True
  3. Bash does not support running commands directly from the console. → False
  4. Scripts in Bash are limited to containing only one command. → False

Explanations

True: Commands in Bash can be typed interactively in a console. This is the basic interactive mode.
True: Scripts in Bash allow multiple commands to be executed together as a batch.
False: Bash fully supports running commands directly from the console.
False: Scripts can include many commands, not just one.

Commands in Bash can be typed interactively in a console.

Scripts in Bash allow multiple commands to be executed together.

Bash does not support running commands directly from the console.

Scripts in Bash are limited to containing only one command.