Microsoft Azure Developer Associate AZ-204 Practice Question
You need to add an availability test for an existing Azure App Service that hosts an HTTPS REST endpoint. The monitoring solution must meet the following requirements:
Execute from at least three Azure regions every five minutes.
Send a custom JSON payload by using the HTTP POST method.
Fail the test if the response body does not contain the text "ok" or if the endpoint's SSL certificate is invalid.
Require no code to be written or modified. Which type of Application Insights availability test should you configure to satisfy all the requirements?
A Standard (preview) availability test is configured entirely through the Azure portal, so no code needs to be written or modified. Unlike a simple URL ping test, the Standard test can use any HTTP verb, include custom headers and a JSON body payload, validate SSL/TLS certificates (including proactive lifetime checks), and check whether the response contains specific text. A custom TrackAvailability test could perform similar checks, but it requires you to write and maintain custom test code, which violates the requirement to avoid writing code. Multi-step web tests and URL ping tests lack the necessary POST payload capability.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Application Insights availability test?
Open an interactive chat with Bash
How does a Standard availability test differ from a URL ping test?
Open an interactive chat with Bash
Why doesn’t a Custom TrackAvailability test work in this scenario?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Monitor and troubleshoot Azure solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .