Deploy a Virtual Network with Scale Set for Azure VMs - Exam AZ-300 Solution

Public Access to VMs in Scale Set - Exam AZ-300 Solution

Question

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are planning to create a virtual network that has a scale set that contains six virtual machines (VMs).

A monitoring solution on a different network will need access to the VMs inside the scale set.

You need to define public access to the VMs.

Solution: Deploy a standalone VM that has a public IP address to the virtual network.

Does the solution meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A

The proposed solution of deploying a standalone VM with a public IP address to the virtual network does not meet the goal of providing public access to the VMs inside the scale set.

Deploying a standalone VM with a public IP address to the virtual network will only provide public access to that specific VM, and not to the VMs inside the scale set. This is because a standalone VM is not part of the scale set and does not have any association with the other VMs in the scale set.

To provide public access to the VMs inside the scale set, you need to define public IP addresses for the load balancer that is associated with the scale set. By default, a scale set is associated with an Azure load balancer, which distributes incoming traffic across the VM instances in the set. By assigning a public IP address to the load balancer, you can enable public access to the VMs inside the scale set.

Therefore, the correct solution to meet the goal is to assign a public IP address to the load balancer associated with the scale set, rather than deploying a standalone VM.