exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 50 discussion

Actual exam question from Microsoft's AZ-204
Question #: 50
Topic #: 5
[All AZ-204 Questions]

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?

  • A. $_.Type -eq "ping"
  • B. $_.WebTestKind -eq "ping"
  • C. $_.WebTestKind -eq "standard"
  • D. $_.Type -eq "standard"
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shantanunp
Highly Voted 6 months, 2 weeks ago
Selected Answer: B
I think it should be 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
upvoted 8 times
...
Vichu_1607
Most Recent 5 months, 1 week ago
Selected Answer: B
B. $_.WebTestKind -eq "ping"
upvoted 1 times
...
Mattt
6 months ago
Selected Answer: B
Get-AzApplicationInsightsWebTest | ` Where-Object { $_.WebTestKind -eq "ping" } | ` Format-Table -Property ResourceGroupName,Name,WebTestKind,Enabled;
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago