AZ-104 exam dumps

AZ-104 practice question 205 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 205

Single answer

You are an Azure Administrator for a company that hosts a web application on a virtual machine. The development team reports that the public IP address to access the application changes whenever the VM is deallocated and then started again. Which configuration step should you perform next to ensure the VM always uses the same public IP address?

  1. A

    Change the public IP address assignment method to Static in the IP configuration

  2. B

    Enable Accelerated Networking on the virtual machine’s network interface

  3. C

    Deploy the VM into an Availability Zone to lock the public IP address

  4. D

    Configure a reserved private IP address in the virtual network settings

Show answer and explanation

Correct answer: A

Explanation

When you require a public IP address to remain the same after deallocation, you should configure a Static assignment for the public IP resource. Dynamic IP addresses can change whenever the VM is stopped and deallocated, making Static assignment crucial for consistently reachable external endpoints.

  • A. Correct.

    Switching from Dynamic to Static assignment is the recommended approach to ensure the public IP address remains consistent even if the VM is deallocated and restarted.

  • B. Incorrect.

    Accelerated Networking improves network performance for the VM but does not affect how the public IP address is assigned.

  • C. Incorrect.

    Availability Zones provide higher availability by distributing VMs across physically separate locations, but they do not guarantee a consistent public IP address by themselves.

  • D. Incorrect.

    Private IP addresses pertain to internal communication within the virtual network and do not ensure a consistent public-facing IP.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam