exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 2 question 42 discussion

Actual exam question from Microsoft's AZ-300
Question #: 42
Topic #: 2
[All AZ-300 Questions]

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


A web server runs on VM1 and VM2.
When you request a webpage named Page1.htm from the Internet, LB1 balances the web requests to VM1 and VM2., and you receive a response.
On LB1, you have a rule named Rule1 as shown in the Rule1 exhibit. (Click the Exhibit tab.)

You have a health probe named Probe1 as shown in the Probe1 exhibit. (Click the Exhibit 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: No -
Session Persistence is None.

Box 2: Yes -
Web requests uses the HTTP protocol, not the TCP protocol.

Box 3: No -
Note: Azure Load Balancer provides health probes for use with load-balancing rules. Health probe configuration 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 instance. 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 stops sending new flows to the respective unhealthy instance.
References:
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
Karls
Highly Voted 5 years, 5 months ago
BOX 1: NO BOX 2: YES BOX 3: YES
upvoted 72 times
bolbol
5 years, 5 months ago
No Yes No The probe isn't applied to a specific Vm but to the LB itself. so doesn't make sence at all !
upvoted 3 times
bolbol
5 years, 5 months ago
sense*
upvoted 1 times
...
SilentH
5 years, 5 months ago
Box 3 is "No". The probe is probing the VM to make sure it's healthy. If the VM doesn't respond back with a response code of 200, then it's deemed unhealthy and the LB won't send traffic to it. It doesn't make sense that the probe points to itself. Ref: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview
upvoted 1 times
decimusindi
5 years, 4 months ago
Probe endpoint returns an HTTP response code other than 200 (for example, 403, 404, or 500). This will mark down the health probe immediately. 403 is file not found so 3) is YES.
upvoted 9 times
...
...
...
read_only
4 years, 9 months ago
No – session persistence is none, meaning that it will not return to the same VM for data. Yes – TCP will not return status 200 for health probe, therefore web request will fail. Yes – If probe1.htm is no longer in VM2, it will not be deemed as healthy, and therefore it will only route to VM1.
upvoted 2 times
...
...
cloudnoob19
Highly Voted 5 years, 8 months ago
Box 2: No - Web requests uses the TCP protocol, not the UDP protocol. The question asks about Rule1 and not Probe1. Box 3: Yes - VM2 will be deemed unhealthy which means all traffic will be routed to VM1
upvoted 27 times
ExamWynner
4 years, 11 months ago
No, Yes, Yes. Box 2 is about Rule1, if protocol changed to be UDP, web request fail for sure.
upvoted 3 times
koniec
4 years, 11 months ago
In second question the magic word is "all". With UDP some requests can fail as there is no guarantee for delivering all packets. But Web app can be served with UDP so not all requests will fail but some may.
upvoted 1 times
tartar
4 years, 9 months ago
No, Yes, Yes
upvoted 2 times
...
...
...
...
azurecert2021
Most Recent 4 years, 5 months ago
correct answer is NO YES YES mentioned on https://vceguide.com/when-you-request-a-webpage-named-page1-htm-from-the-internet-lb1-balances-the-web-requests-to-vm1-and-vm2-and-you-receive-a-response/
upvoted 1 times
...
azurehunter
4 years, 7 months ago
Given answer is correct. For Box3, even if html is deleted, still need 40seconds to 60 seconds for LB to deem VM2 unhealthy. Within this period, the web requests are still routed to VM2.
upvoted 1 times
...
Sathian
4 years, 7 months ago
There is not UDP in the image. LB can probe either TCP/HTTP/HTTPS. TCP probes port, http/https probes pages. If the config is http and page was delete. The probe will get a 404 and wont route to that VM. https://docs.microsoft.com/en-us/azure/load-balancer/manage#health-probes
upvoted 1 times
...
jtimaran
4 years, 9 months ago
The correct Answer in the BOX3 is NO.. the statement says "LB1 will route all the web requests to VM1" and only the new requests will be sent to VM1 not all the requests.
upvoted 1 times
...
prince_norman_maximus
4 years, 9 months ago
Box 3: Depends on how you interpret the question. "LB1 will route all the Web requests to VM1". Are we talking about new Web requests or existing Web requests? YES: "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." NO: "If a backend endpoint's health probe fails, established TCP connections to this backend endpoint continue."
upvoted 1 times
prince_norman_maximus
4 years, 9 months ago
UPDATE: Noticing the Probe is using "HTTP" not TCP. I would go with YES for Box 3
upvoted 2 times
...
...
magpi
4 years, 9 months ago
No, Yes, Yes
upvoted 2 times
...
colinquek
4 years, 9 months ago
Box 1 No - for obvious reasons. Box 2 No i saw the below info: Application payloads are transparent to the load balancer. Any UDP or TCP application can be supported. https://docs.microsoft.com/en-us/azure/load-balancer/concepts Box 3 No (https://docs.microsoft.com/en-us/azure/load-balancer/components, search for “threshold”) You can define the unhealthy threshold for your health probes. When a probe fails to respond, Load Balancer stops sending new connections to the unhealthy instances. A probe failure doesn't affect existing connections. The connection continues until the application: • Ends the flow • Idle timeout occurs • The VM shuts down Feel free to correct me.
upvoted 2 times
cttay71
4 years, 9 months ago
Box 3 - Only existing connections are not affected. But questions is saying new request will be sent to VM1
upvoted 1 times
...
...
jhxetc
4 years, 9 months ago
Box 2 is definitely no. For those that think you can get HTTP working over UDP/80 I challenge you to do so and report back your progress ;). Box 3 is YES and I have confirmed in a lab. The load balancer is looking for the file /probe1.html on both vm1 and vm2, or more specifically an HTTP/200 response when it checks for the probe file. If you delete it from VM2, then it will return a 404 and mark it as down which means all web requests will go to VM1.
upvoted 1 times
Kiwino
4 years, 9 months ago
I guess you are contradicting your own statement for Box2.
upvoted 1 times
...
...
Okea
4 years, 10 months ago
Box 3: No - Probe down behaviour - TCP connections New TCP connections will succeed to remaining healthy backend endpoint. If a backend endpoint's health probe fails, established TCP connections to this backend endpoint continue. https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview#probedown
upvoted 2 times
...
macco455
4 years, 10 months ago
Box 1: No No session persistence set up Box 2: Yes UDP isnt suported protocol for HTTP on a load balancer Box 3: Yes(but not positive) All I could find is a google cloud explanation, I would imagine its similiar if not the same for azure cloud--Specify the URL path to which Google Cloud sends health check probe requests. If omitted, Google Cloud sends probe requests to the root path, /. The request-path option doesn't support query parameters
upvoted 2 times
...
Hrajab
4 years, 10 months ago
this is regarding BOX 3 , i Have tried the scenario with AZ scale set , deleted the default.html and the traffic still going though and instead of the default page I have received the IIS page that implies that NO for Box 3 is correct 100%
upvoted 3 times
...
ChanderM
4 years, 11 months ago
The Health probe here is used by LB Rule1 which pings both VM1 and VM2 for health probe. However here we are deleting the whole health probe and rule2 will not find that health probe and will send 403 or some other response and will consider that both VMs are unhealthy. I think it will route traffic to VM1 if the health probe will be separate for both VMs and if one probe fails it will send traffic to another. It's a tricky but answer lies in carefully looking at setting. A Lab test will validate the correct assumption.
upvoted 1 times
ChanderM
4 years, 11 months ago
I meant Rule 1 (not rule2)
upvoted 1 times
...
...
Luiza
4 years, 11 months ago
No, No, Yes
upvoted 2 times
sourabh7257
4 years, 11 months ago
N, Y, N
upvoted 1 times
...
...
szikk
4 years, 12 months ago
NO NO YES
upvoted 2 times
...
Prash85
5 years ago
N Y Y - Is port 80 TCP or UDP? In any case, though, TCP and UDP ports are separate. You can run an HTTP server on TCP port 80, while running something else on UDP port 80. One reason why someone might choose to do so is that TCP and UDP port 80 are both officially assigned to HTTP, even though HTTP-over-UDP is almost never used.
upvoted 3 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 ...