exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 43 discussion

Actual exam question from Microsoft's AZ-104
Question #: 43
Topic #: 5
[All AZ-104 Questions]

HOTSPOT -
You have an Azure subscription that contains the resources in the following table.

You install the Web Server server role (IIS) on VM1 and VM2, and then add VM1 and VM2 to LB1.
LB1 is configured as shown in the LB1 exhibit. (Click the LB1 tab.)

Rule1 is configured as shown in the Rule1 exhibit. (Click the Rule1 tab.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
A Basic Load Balancer supports virtual machines in a single availability set or virtual machine scale set.

Box 2: Yes -
When using load-balancing rules with Azure Load Balancer, you need to specify health probes to allow Load Balancer to detect the backend endpoint status. The configuration of the health probe and probe responses determine which backend pool instances will receive new flows. You can use health probes to detect the failure of an application on a backend endpoint. You can also generate a custom response to a health probe and use the health probe for flow control to manage load or planned downtime. When a health probe fails, Load Balancer will stop sending new flows to the respective unhealthy instance. Outbound connectivity is not impacted, only inbound connectivity is impacted.

Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/skus
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mlantonis
Highly Voted 3 years, 9 months ago
Correct Answer: Box 1: Yes A Basic Load Balancer supports virtual machines in a single availability set or virtual machine scale set. Box 2: Yes When using load-balancing rules with Azure Load Balancer, you need to specify health probes to allow Load Balancer to detect the backend endpoint status. The configuration of the health probe and probe responses determine which backend pool instances will receive new flows. You can use health probes to detect the failure of an application on a backend endpoint. You can also generate a custom response to a health probe and use the health probe for flow control to manage load or planned downtime. When a health probe fails, Load Balancer will stop sending new flows to the respective unhealthy instance. Outbound connectivity is not impacted, only inbound connectivity is impacted. Box 3: No There will be no loadbalancing between the VMs. Basic Load Balancer: Virtual machines in a single availability set or virtual machine scale set. Standard Load Balancer: Any virtual machines or virtual machine scale sets in a single virtual network.
upvoted 164 times
rdeleonp95
10 months ago
If you have doubts about the box3, i could test a basic balancer on learn microsoft exercise and the http request still be the same vm host without the rule until the vm its down so basically i could consider that not get balanced if there is no rule
upvoted 1 times
...
Paul_white
2 years ago
Azure GOD!!!!!!
upvoted 6 times
...
mlantonis
3 years, 9 months ago
Reference: https://docs.microsoft.com/en-us/azure/load-balancer/skus https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview
upvoted 14 times
morito
1 year, 11 months ago
I'm a bit torn on the first answer, couldn't they both technically be in the same scale set, therefore the answer could also be no?
upvoted 2 times
...
...
techrat
2 years, 11 months ago
agreed. it's on my exam yesterday and I passed it with 923.
upvoted 19 times
...
...
denccc
Highly Voted 3 years, 10 months ago
Answer seems correct to me: - For Basic Sku load balancer, network interface and load balancer have to be in the same availability set. (Y) - Principal of LB (Y) - Deletion of rule: there will no loadbalancing to the VM's (N)
upvoted 13 times
...
Dankho
Most Recent 4 months, 2 weeks ago
The probe does not impact whether the load balancer does balancing to the backend VMs. It just checks the health of the backend VMs and will not send traffic to a faulty or unresponsive VM so it's an extra feature. Even if the probe is missing or incorrectly configured, the load balancer will still balance traffic between the VMs. The balancing of traffic is not dependent on the health probe itself, but the probe is crucial for monitoring the health of VMs. Without a probe, the load balancer won’t stop sending traffic to a VM, even if it becomes unhealthy or unavailable. The question is misleading, and I would put No for that. Remove the probe, will it balance? yes, so answer to that question should be No. The other two are pretty straight forward. Final Answer Bob: Y N N
upvoted 1 times
Dankho
4 months, 2 weeks ago
To help clarify further, ask the question in reverse: If Probe1.htm is not present on VM1 and VM2, LB1 will balance TCP port 80 between Vm1 and VM2? Yes (probe is just an extra feature to check health of VMs, it's not a mandatory thing you must add otherwise it won't balance)
upvoted 1 times
Dankho
4 months, 2 weeks ago
Well, here's one caveat. if you have to provide a health probe or you can't complete the rule, then it is mandatory, and I guess I take everything back lol. There probably isn't a choice not to use the probe.
upvoted 2 times
...
...
...
[Removed]
5 months, 1 week ago
CORRECT
upvoted 3 times
...
tashakori
11 months, 3 weeks ago
Given answer is correct
upvoted 1 times
...
MOSES3009
1 year, 3 months ago
y-y-y ; deleting the rule not means that Lb will not balance the request that are coming; more than that, will allow all connections coming to frontend IPand balance to backend
upvoted 1 times
markb258
1 year, 3 months ago
I think the question needs to specify if its an internal or public load balancer. From what I could find: If its an internal load balancer, with no rules it will now allow any traffic. But for a public load balancer allows traffic on all ports by default. I would answer no in this scenario
upvoted 1 times
markb258
1 year, 3 months ago
Also depends on basic\standard https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
upvoted 1 times
...
...
...
EmnCours
2 years, 6 months ago
Answer seems correct to me: - For Basic Sku load balancer, network interface and load balancer have to be in the same availability set. (Y) - Principal of LB (Y) - Deletion of rule: there will no loadbalancing to the VM's (N)
upvoted 4 times
...
Lazylinux
2 years, 8 months ago
YYN..given answer is correct and as per other comments
upvoted 2 times
Lazylinux
2 years, 8 months ago
More info Load Balancing rules: Determines how inbound traffic gets disturbed to the backend pool instances – example - incoming request on Port 80 can be either redirected to backend pool instances on different port or can be same port 80 ..so means you remove the rule then LB1 will NOT load balance Backend pool endpoints STD LB: Any virtual machines or virtual machine scale sets in a single virtual network Basic LB: Virtual machines in a single availability set or virtual machine scale set
upvoted 2 times
...
...
Snownoodles
3 years, 7 months ago
I think Box 1 should be 'No'. Basic Load Balancer supports "Virtual machines in a single availability set or virtual machine scale set", so availability set is not the only option to Basic LB. I just did a test, if you put 2 VMs in a VMSS that in a single placement group, you can add this VMSS into Basic LB's backend pool. https://docs.microsoft.com/en-us/azure/load-balancer/skus Any suggestions?
upvoted 2 times
Mozbius_
2 years, 11 months ago
True. The question should have been formulated as [VM1 is in the same SET as VM2]. That being said in the context of the question I believe the intent of the question is to test if you are aware that a basic load balancer doesn't work with individual VMS and only supports AVAILABILITY & SCALE sets. In such context availability set is an ok answer. If I see that exact formulation in the exam I will let the testers know how badly is that question formulated.
upvoted 1 times
...
...
J_Dawg
3 years, 9 months ago
Y-Y-Y Check the link provided in the answer: LB Basic SKU is "Open by default. Network security group optional."
upvoted 4 times
JayBee65
3 years, 8 months ago
How will it know what to load-balance? :)
upvoted 4 times
...
imartinez
3 years, 7 months ago
I checked based on your comment. You are totally wrong and misreading the documentation . "TCP connections stay alive on an instance probe down. All TCP connections end when all probes are down." What you find is related to NSGs protecting the LB!!
upvoted 2 times
...
...
mashk19
3 years, 9 months ago
Am I missing something here? If you delete the load balancing rule, surely you'd still have the load balancer? And the Load Balancer's job is to spread traffic between the machines sitting behind it?
upvoted 3 times
nzmike
3 years, 3 months ago
You've got the load balancer still sure, but what's telling it what to do? No rule(s), no balancing.
upvoted 3 times
...
...
Moyuihftg
3 years, 10 months ago
Answer is correct
upvoted 2 times
...
fdelacortina
3 years, 10 months ago
I would say that is Y, Y, Y. Because if you delete rule 1, LB would not balance traffic from port 80 to port 80.
upvoted 1 times
...
hamzajeljeli
3 years, 10 months ago
Any confirmation that this is a correct answer ?
upvoted 1 times
Ario
3 years, 10 months ago
yes answer is correct
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago