Skip to main content
  1. Public practice questions
  2. AZ-900 Practice Exams | Azure Fundamentals
  3. Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions

Question 105 — Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions

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

Response matrix
ItemTrue False
az vm list-ip-addresses retrieves a VM’s IP address. □□
You must configure an NSG rule to allow HTTP traffic on port 80. □□
The command az network nsg list retrieves all VMs in a resource group. □□
SSH access is enabled by default on Linux VMs. □□

Correct answers

  1. az vm list-ip-addresses retrieves a VM’s IP address. → True
  2. You must configure an NSG rule to allow HTTP traffic on port 80. → True
  3. The command az network nsg list retrieves all VMs in a resource group. → False
  4. SSH access is enabled by default on Linux VMs. → True

Explanations

  • True: The az vm list-ip-addresses command retrieves the IP address for a specified VM, necessary for remote access.
  • True: HTTP traffic is not allowed by default; an NSG rule for port 80 is needed to permit it.
  • False: az network nsg list retrieves network security groups, not VMs.
  • True: By default, Linux VMs are configured to allow SSH access on port 22.

az vm list-ip-addresses retrieves a VM’s IP address.

You must configure an NSG rule to allow HTTP traffic on port 80.

The command az network nsg list retrieves all VMs in a resource group.

SSH access is enabled by default on Linux VMs.