Question 3 — AZ-104 Practice Exam 2
For each statement below, indicate whether it is True or False.
| Item | True | 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
- Commands in Bash can be typed interactively in a console. → True
- Scripts in Bash allow multiple commands to be executed together. → True
- Bash does not support running commands directly from the console. → False
- 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.