Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Monitor performance metrics of models deployed to production

A worked example

Yes or no

Fabrikam runs a regression model on an Azure Machine Learning managed online endpoint. Client applications report that some scoring calls take much longer than usual. The endpoint's diagnostic settings send the AmlOnlineEndpointTrafficLog table to a Log Analytics workspace. The team wants to find out whether bandwidth throttling causes the delays and wants to analyze request timing and status codes in the traffic log.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
Checking scoring responses for the ms-azureml-bandwidth-response-delay-ms response trailer is one way to determine whether the endpoint is throttling bandwidth.

For managed online endpoints, the documented way to detect bandwidth throttling includes checking the response trailers ms-azureml-bandwidth-request-delay-ms and ms-azureml-bandwidth-response-delay-ms. Their values are the throttling delays in milliseconds.

Correct
In AmlOnlineEndpointTrafficLog, ResponseDurationMs measures elapsed time from request initiation through completion of sending the response to the client.

The source defines ResponseDurationMs as elapsed time from request initiation until the endpoint reads the model's first response byte. TotalDurationMs instead ends when the endpoint sends the final response byte, or when the client disconnects.

Correct
In AmlOnlineEndpointTrafficLog, ModelStatusCode records the final response code that is returned to the client.

ModelStatusCode is the response status code from the model. The final response code returned to the client is recorded in ResponseCode.

Correct
Why

Managed online endpoints throttle bandwidth when quota limits are exceeded. Throttling can be detected through the Network bytes metric or the bandwidth delay response trailers. In the traffic log, ResponseDurationMs ends when the endpoint reads the model's first response byte, whereas TotalDurationMs ends when the endpoint sends the final response byte or the client disconnects. ModelStatusCode reflects the model's own status, and ResponseCode is what the client finally receives.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free