exam questions

Exam AZ-720 All Questions

View all questions & answers for the AZ-720 exam

Exam AZ-720 topic 5 question 18 discussion

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

HOTSPOT -

You create an Azure Traffic Manager profile with five endpoints. Each endpoint is a web app running in an Azure virtual machine (VM).

You observe that one of the endpoints has a degraded status. You plan to verify whether the endpoint is responding to the Traffic Manager health probe with a valid status code.

You need to identify the PowerShell cmdlet to use and the status code that the cmdlet should return.

Which value should you use for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
terawatt
1 year, 11 months ago
Invoke-WebRequest for the PowerShell cmdlet and 200 for the status code. This is because: The Invoke-WebRequest cmdlet can be used to send a request to a Traffic Manager endpoint (or any other URL), allowing you to manually check the HTTP response. A 200 HTTP status code generally indicates a successful HTTP request. If an endpoint is healthy and functioning correctly, it should respond with a 200 status code. Please note that this method does not directly check the status of the Azure Traffic Manager's health probe. To directly verify the status of a Traffic Manager endpoint, you would typically use the Get-AzTrafficManagerEndpoint cmdlet. However, as this cmdlet is not among the provided options, Invoke-WebRequest is the closest available option for this scenario.
upvoted 1 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 ...