AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 388


Note: This question is part of a 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 have an Azure subscription that contains the virtual machines shown in the following table.

You deploy a load balancer that has the following configurations:

✑ Name: LB1

✑ Type: Internal

✑ SKU: Standard

✑ Virtual network: VNET1

You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.

Solution: You create two Standard SKU public IP addresses and associate a Standard SKU public IP address to the network interface of each virtual machine.

Does this meet the goal?

Show Answer
Correct Answer: B

The given solution of creating two Standard SKU public IP addresses and associating them with the network interfaces of each virtual machine does not meet the goal. Since LB1 is configured as an internal load balancer, public IP addresses for the VMs are not required. Internal load balancers are used for traffic inside a virtual network, and the VMs only need to be in the same virtual network and subnet for the load balancer to work. Hence, associating standard SKU public IP addresses to VM1 and VM2 is unnecessary.

Discussion

17 comments
Sign in to comment
mlantonisOption: A
May 18, 2021

Correct Answer: A - Yes You can only attach virtual machines that are in the same location and on the same virtual network as the LB. Virtual machines must have a standard SKU public IP or no public IP. The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do have them they have to be standard SKU. Vms can only be from a single network. When they don’t have a public IP they are assigned an ephemeral IP. Also, when adding them to a backend pool, it doesn’t matter in which status are the VMs. Note: Load balancer and the public IP address SKU must match when you use them with public IP addresses.

mlantonis
May 18, 2021

It's valid, because: LB1: Standard SKU VM1: Standard SKU public IP VM2: Standard SKU public IP

Acai
Jul 27, 2021

One of the few slip-ups from Azure Jesus. The provided answer is correct, the reasoning is correct but missed that VM1 has a basic SKU.

Acai
Jul 27, 2021

Nope AJ is correct, thought it was the other question.

stdevops
Oct 19, 2021

you need to start VM also

xRiot007
Jun 2, 2023

No, the VM can remain stopped.

djhyfdgjk
Mar 3, 2024

You must be kidding. This is INTERNAL LB.

MoyuihftgOption: A
May 1, 2021

Answer correct. You can only attach virtual machines that are in the same location and on the same virtual network as the loadbalancer. Virtual machines must have a standard SKU public IP or no public IP.

JayLearn2022Option: A
Feb 17, 2023

There are several versions of this question. The following are the correct and incorrect answers that can be presented. Correct Answer: Meets the goal. -Solution: You create two Standard SKU public IP addresses and associate a Standard SKU public IP address to the network interface of each virtual machine. Incorrect Answers: Does not meet the goal. -Solution: You disassociate the public IP address from the network interface of VM2. -Solution: You create a Basic SKU public IP address, associate the address to the network interface of VM1, and then start VM1. -Solution: You create a Standard SKU public IP address, associate the address to the network interface of VM1, and then stop VM2.

EzBL
Jan 15, 2024

The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do have them they have to be standard SKU. Vms can only be from a single network. When they don’t have a public IP they are assigned an ephemeral IP I a valid answ er if You disassociate the public IP address from the network interface of VM2

HALLYdreOption: B
Jun 25, 2023

I think the answer should be no. The load balancer is an internal load balancer and nothing to do with SKU of a public ip is relevant in making the VMs to work.

sardoniqueOption: B
Sep 22, 2023

I don't understand, it is an internal load balancer, you place your VM behind an internal Load balancer when you do not want to expose them, what is the need of public ip in the first place? some questions are really weird

FDZ83Option: A
Mar 3, 2022

Correct: YES Tested in lab: no matter LB internal o public, vm in backend can keep their public ip (even if it's no sense in load balancing env...). The only requirement is SKU of public ip: LB standard=>standard PIP LB Basic=>basic PIP Stopped Vm can be added to backend pool The answers to this question could be: -add standard public ip to vm -remove public ip from vm

benvdwOption: A
Mar 13, 2022

A- on exam 13/3/2022 (the one above as well)

InvisibleShadow
Mar 9, 2022

This question came in the exam today 8/Mar/2022. I passed the exam, 95% questions came from here.

kusucuOption: A
Oct 16, 2022

mlatonis is right

meeko86Option: A
Dec 17, 2022

For this series question, there are two possible answers: 1. You create two Standard public IP addresses and associate a Standard SKU public IP address to the network interface of each virtual machine. 2. You disassociate the public IP address from the network interface of VM2.

AntaninaD
Sep 10, 2023

Got this question on 09/09/23

G_unit_19Option: A
Feb 21, 2022

mlantonis has the correct answer

sid132Option: B
Mar 5, 2022

On the exam today, 4.March.2022

DragonDaggerOption: A
Aug 8, 2022

A is correct

EmnCoursOption: A
Aug 26, 2022

Answer correct. You can only attach virtual machines that are in the same location and on the same virtual network as the loadbalancer. Virtual machines must have a standard SKU public IP or no public IP.

ojogbonOption: B
Apr 2, 2023

On the exam Apr 2nd, 2023

tashakoriOption: A
Mar 20, 2024

Yes is right