ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 104 - AZ-720 discussion

Report
Export

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 comdlet 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.


Question 104
Correct answer: Question 104

Explanation:

Box1 = Invoke-WebRequest.

The correct value for PowerShell cmdlet is B. Invoke-WebRequest. This cmdlet sends an HTTP or

HTTPS request to a web app endpoint and returns the status code of the response1. You can use thiscmdlet to verify whether the endpoint is responding to the Traffic Manager health probe with a validstatus code. The valid status code depends on the expected status code ranges setting of your Traffic Manager profile. This setting allows you to specify multiple success code ranges in the format 200-299, 301- 3012. If these status codes are received as response from an endpoint when a health check is done, Traffic Manager marks those endpoints as healthy. By default, the value 200 is defined as the success status code2. Box 2 = 200

The correct value for response code is B. 200. This is the default success status code for Traffic Manager health probes. If the endpoint returns this code, it means that it is healthy and available to serve traffic. However, you can also specify other status code ranges as valid responses in your Traffic Manager profile settings.

asked 02/10/2024
mr yosh
37 questions
User
0 comments
Sorted by

Leave a comment first