Skip to Content

Microsoft AZ-204: What are the Best Test Types for Monitoring Azure App Service Availability and Responsiveness?

Learn about the two test types – URL ping and multi-step web tests – that you can use to effectively monitor the availability and responsiveness of your ASP.NET web app deployed to Azure App Service from various global locations at regular intervals. Set up alerts to notify support staff if the app becomes unresponsive.

Table of Contents

Question

You develop and deploy an ASP.NET web app to Azure App Service. You use Application Insights telemetry to monitor the app.

You must test the app to ensure that the app is available and responsive from various points around the world and at regular intervals. If the app is not responding, you must send an alert to support staff.

You need to configure a test for the web app.

Which two test types can you use? Each correct answer presents a complete solution.

A. integration
B. multi-step web
C. URL ping
D. unit
E. load

Answer

The two test types that can be used to comprehensively test the ASP.NET web app deployed to Azure App Service and monitored with Application Insights telemetry are:

B. Multi-step web test
C. URL ping test

Explanation

There are three types of availability tests:

  • URL ping test: a simple test that you can create in the Azure portal.
  • Multi-step web test: A recording of a sequence of web requests, which can be played back to test more complex scenarios. Multi-step web tests are created in Visual Studio Enterprise and uploaded to the portal for execution.
  • Custom Track Availability Tests: If you decide to create a custom application to run availability tests, the TrackAvailability() method can be used to send the results to Application Insights.

A multi-step web test allows you to simulate a user transaction by recording a sequence of HTTP requests to your app. It can test more complex interactions beyond just checking if a single page responds. You can run multi-step web tests from various locations worldwide at configurable intervals.

A URL ping test is a simple test that sends an HTTP GET request to the specified URL at regular intervals from points around the world. It verifies that your app responds and measures performance metrics like response time.

Both test types can be configured to send alerts to your support staff if your app stops responding or performance degrades below defined thresholds. This enables proactive monitoring of availability and responsiveness.

The other options are not suitable for this scenario:

  • Integration and unit tests are used during development to test code and component integration, not for production monitoring.
  • Load tests simulate high user load but don’t directly test global availability.

Therefore, the two valid solutions for monitoring the global availability and responsiveness of the Azure App Service web app at regular intervals are multi-step web tests and URL ping tests configured with Application Insights.

Microsoft AZ-204 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft AZ-204 exam and earn Microsoft AZ-204 certification.