nerdexam
Microsoft

AZ-204 · Question #596

You manage an Azure subscription that contains 100 Azure App Service web apps. Each web app is associated with an individual Application Insights instance. You plan to remove Classic availability…

The correct answer is B. $_.WebTestKind -eq "ping". https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability?tabs=standard#migrate- classic-url-ping-tests-to-standard-tests

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

Question

You manage an Azure subscription that contains 100 Azure App Service web apps. Each web app is associated with an individual Application Insights instance. You plan to remove Classic availability tests from all Application Insights instances that have this functionality configured. You have the following PowerShell statement: Get-AzApplicationInsightsWebTest | Where-Object { $condition } You need to set the value of the $condition variable. Which value should you use?

Options

  • A$_.Type -eq "ping"
  • B$_.WebTestKind -eq "ping"
  • C$_.WebTestKind -eq "standard"
  • D$_.Type -eq "standard"

How the community answered

(43 responses)
  • A
    9% (4)
  • B
    81% (35)
  • C
    7% (3)
  • D
    2% (1)

Explanation

https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability?tabs=standard#migrate- classic-url-ping-tests-to-standard-tests

Topics

#Application Insights#availability tests#PowerShell#WebTestKind

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice