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

Question 5 — AZ-104 Practice Exam 4

For each statement below, indicate whether the answer is True or False

Response matrix
ItemTrue False
The rm -rf / command deletes every file on the drive. □□
cp silently overwrites existing files unless -i is used. □□
ps aux and ps -ef produce different results and cannot be used interchangeably. □□
The w command displays logged-in users and their activities. □□

Correct answers

  1. The rm -rf / command deletes every file on the drive. → True
  2. cp silently overwrites existing files unless -i is used. → True
  3. ps aux and ps -ef produce different results and cannot be used interchangeably. → False
  4. The w command displays logged-in users and their activities. → True

Explanations

True: rm -rf / is catastrophic.
True: cp overwrites unless interactive mode is enabled.
False: ps aux and ps -ef are equivalent (POSIX vs BSD).
True: w shows user activity.

The rm -rf / command deletes every file on the drive.

cp silently overwrites existing files unless -i is used.

ps aux and ps -ef produce different results and cannot be used interchangeably.

The w command displays logged-in users and their activities.