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

Question 26 — AZ-104 Practice Exam 16

A VM in Azure has a dynamic public IP. The admin stops (deallocates) the VM and restarts it the next day. What happens to the public IP address? (Select one answer)

  1. The VM will automatically switch to a static IP assignment

  2. The IP address is permanently deleted when the VM is stopped

  3. The dynamic IP may change because the VM was deallocated

  4. The dynamic IP always remains the same regardless of deallocation

Correct answers

  1. The dynamic IP may change because the VM was deallocated

Explanations

Correct
The dynamic IP may change because the VM was deallocated – Deallocation can trigger reassignment of a new dynamic address.

Wrong
The dynamic IP always remains the same regardless of deallocation – This only applies to reboots or guest OS shutdowns, not deallocation.
The IP address is permanently deleted when the VM is stopped – The IP resource remains, but the dynamic address is released.
The VM will automatically switch to a static IP assignment – Static assignment must be configured explicitly.