nerdexam
Microsoft

AZ-204 · Question #642

You have a workspace-based Azure Application Insights resource named Insights1 and an on- premises website. Access to the website from the internet is blocked. You plan to implement availability…

The correct answer is C. custom TrackAvailability test. A custom TrackAvailability test can be used to test availability on an on-premises network without internet access. This is achieved by running custom code on a test server inside the private network that uses the TrackAvailability API to send results to Application Insights…

Submitted by anna_se· Mar 30, 2026Monitor, troubleshoot, and optimize Azure solutions

Question

You have a workspace-based Azure Application Insights resource named Insights1 and an on- premises website. Access to the website from the internet is blocked. You plan to implement availability testing of the website by using Insights1. The implementation must maximize security and minimize the maintenance efforts. You need to decide which Application Insights availability test should be used to deliver the required functionality. Which availability test should you use?

Options

  • Astandard test
  • Bmulti-step web test
  • Ccustom TrackAvailability test
  • DURL ping test

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    7% (2)
  • C
    86% (24)
  • D
    4% (1)

Explanation

A custom TrackAvailability test can be used to test availability on an on-premises network without internet access. This is achieved by running custom code on a test server inside the private network that uses the TrackAvailability API to send results to Application Insights. Run code on-premises: The test is performed by code that you write, which can be run as a background process or a scheduled job on a server located inside your private, on-premises Send telemetry to Azure: The custom test code, when executed, sends the results of its availability checks (e.g., to an internal web server or API) to Application Insights using the TrackAvailability API from the core SDK. View results in Application Insights: The results then appear in Application Insights alongside standard availability tests, and can be analyzed in the availability blade, Analytics, Search, and Types of availability tests There are four types of availability tests: * Standard test: A type of availability test that checks the availability of a website by sending a single request, similar to the deprecated URL ping test. In addition to validating whether an endpoint is responding and measuring the performance, Standard tests also include TLS/SSL certificate validity, proactive lifetime check, HTTP request verb (for example, GET,HEAD, and POST), custom headers, and custom data associated with your HTTP request. *-> Custom TrackAvailability test: If you decide to create a custom application to run availability tests, you can use the TrackAvailability() method to send the results to Application Insights. * (Deprecated) URL ping test: You can create this test through the Azure portal to validate whether an endpoint is responding and measure performance associated with that response. You can also set custom success criteria coupled with more advanced features, like parsing dependent requests and allowing for retries. * (Deprecated) Multi-step web test https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability

Topics

#Application Insights#availability test#TrackAvailability#on-premises

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice