Developing Solutions for Microsoft Azure — Question 71
You have an on-premises, public-facing website named www.contoso.com.
You plan to test availability of www.contoso.com by using Application Insights availability tests.
You need to configure a test that will generate HTTP POST requests that include custom headers. Your solution must minimize development effort.
Which type of test should you configure?
Answer options
- A. Multi-step web test
- B. Standard test
- C. URL ping test
- D. Custom TrackAvailability test
Correct answer: B
Explanation
The Standard test is the correct choice as it allows for the configuration of HTTP POST requests with custom headers with minimal development effort. In contrast, the Multi-step web test is more complex and intended for scenarios requiring multiple steps, while the URL ping test is limited to simple GET requests and does not support custom headers. The Custom TrackAvailability test requires more development work and is not necessary for this straightforward requirement.