AZ-204 Quiz

Application Insights

Question:

Which method should be used here instead of XXXXXXXXXX to track response time:

var startTime = DateTime.UtcNow;
var timer = System.Diagnostics.Stopwatch.StartNew();

try {
  await sendRequest();
}
finally {
  timer.Stop();
  telemetry.XXXXXXXXXX("type", "name", "myTracedRequest", startTime, timer.Elapsed, success);
}


Report a problem
Exam revision: April 11, 2025