Question

Difficulty: MediumConfigure Application Insights Web Tests and Availability Monitoring

You are configuring a Standard test in Azure Application Insights to monitor the public-facing endpoint of a secure retail portal (`https://portal.contoso.com`).

The requirements for the availability monitoring are:
- The test must verify that the HTTP status code returned is 200.
- The test must inspect the response body and fail if it does not contain the text `Welcome to Contoso`.
- The test must verify that the server's SSL certificate is valid and trigger a failure if the certificate is within 30 days of expiration.

Which two configuration settings must you specify in the availability test configuration? (Select two.)

  1. Select the Content match checkbox and enter Welcome to Contoso in the content match string field.Answer
  2. Select the SSL certificate validity checkbox, select Proactive lifetime check, and set the value to 30.Answer
  3. C
    Select the Enable SSL client certificate checkbox and upload the server's public certificate.
  4. D
    Add a custom header named Authorization with the value ManagedIdentity in the HTTP request settings.

Answer

To monitor the secure portal's availability and certificate status, you must enable Content match with the string 'Welcome to Contoso' and enable SSL certificate validity with a Proactive lifetime check threshold of 30 days.
To satisfy the requirements, the Standard test's success criteria must include Content match to validate that the payload contains the expected greeting, and SSL certificate validity with a Proactive lifetime check of 30 days to proactively warn before the server's certificate expires.

Step-by-Step Solution

1
Configure response content validation
Checking Content match and entering 'Welcome to Contoso' guarantees the test verifies the response body.
Standard tests use Content match to evaluate the return payload of the endpoint.
2
Configure server certificate verification
Enabling SSL certificate validity and entering 30 days under the Proactive lifetime check ensures the server's certificate is checked.
This setting generates an alert when the server's own SSL certificate approaches its expiration date.

Key Concept

Configuring success criteria in Application Insights Standard tests, specifically verifying response content and monitoring server SSL certificate expiration.
Rate this question