Question

Difficulty: MediumConfigure Application Insights Web Tests and Availability Monitoring

You are configuring a Standard availability test in Azure Application Insights to monitor a secure API endpoint that requires client certificate authentication (mutual TLS). The API is hosted on an external system that does not support Microsoft Entra ID authentication.

You need to ensure that the availability test can authenticate with the API and successfully monitor its availability.

Which configuration should you perform in the Application Insights availability test settings?

  1. Enable SSL client certificates, and upload the client certificate as a password-protected PFX file.Answer
  2. B
    Enable a system-assigned managed identity for the Application Insights resource and assign it the required permissions on the target API.
  3. C
    Add the client certificate to an Azure Key Vault and configure a Key Vault reference in the custom headers of the availability test.
  4. D
    Store the certificate in Azure Key Vault and configure a Key Vault Access Policy to grant the target API's service principal permission to retrieve it.

Answer

Enable SSL client certificates, and upload the client certificate as a password-protected PFX file.
To monitor an endpoint requiring client certificate authentication using an Application Insights Standard availability test, you must enable the SSL client certificates option and upload the client certificate in PFX format along with its password. This allows the Application Insights service to authenticate with the target API during the availability checks.

Step-by-Step Solution

1
Select the Standard test type under Application Insights Availability test creation.
Access to advanced properties such as custom HTTP verbs, headers, and SSL options is enabled.
Standard tests allow advanced monitoring features compared to classic URL ping tests.
2
Locate the SSL client certificates section, check 'Enable SSL client certificates', and upload the PFX certificate file.
The certificate and its corresponding password are encrypted and stored in the test configuration.
This allows the test runner to load the client certificate and perform a mutual TLS handshake when calling the target API endpoint.

Key Concept

Configuring client certificate authentication for Application Insights Standard availability tests
Rate this question