exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 15 discussion

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

You are developing applications for a company. You plan to host the applications on Azure App Services.
The company has the following requirements:
✑ Every five minutes verify that the websites are responsive.
✑ Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly.
✑ Generate alerts if a website is experiencing issues.
✑ If a website fails to load, the system must attempt to reload the site three more times.
You need to implement this process with the least amount of effort.
What should you do?

  • A. Create a Selenium web test and configure it to run from your workstation as a scheduled task.
  • B. Set up a URL ping test to query the home page.
  • C. Create an Azure function to query the home page.
  • D. Create a multi-step web test to query the home page.
  • E. Create a Custom Track Availability Test to query the home page.
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
kishe
Highly Voted 3 years, 11 months ago
IMO, B is correct, a URL ping test is enough.
upvoted 70 times
mattvasc
3 years, 1 month ago
And how a URL ping will meet the requirement: "✑ Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly." ? Definitly not B.
upvoted 9 times
ezelans
3 years, 1 month ago
please, read this article and you will check it. There is a setting called "Test timeout" https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
upvoted 12 times
...
uffuchsi
2 years, 2 months ago
URL ping test validate whether an endpoint is responding. It also measures the performance associated with that response. You can also set custom success criteria, coupled with more advanced features like parsing dependent requests and allowing for retries. https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
upvoted 4 times
...
...
KingChuang
2 years, 4 months ago
On my exam 2022-12-26. Chose:B
upvoted 3 times
AymanAkk
2 years, 4 months ago
Thanks for mentioning the date. were there a lot of questions from exam topics ?
upvoted 3 times
...
...
TonyMel
2 years, 1 month ago
correct, in 2023Mar24, score: 904/1000.
upvoted 6 times
...
...
jay158
Highly Voted 3 years, 10 months ago
The Given Answer D is correct. Ping URL, does not satisfies : Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly
upvoted 26 times
anirbanzeus
3 years, 10 months ago
Not really, all the objectives can be achieved through Ping-test. Multi-step test in a complex solution requiring more effort and dives into much deeper details that requested in the question. https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability#create-a-test : All the options listed here map1-1 with the question requirements.
upvoted 11 times
...
jay158
3 years, 10 months ago
Second thought Correct answer is B. ie URL Ping Test https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
upvoted 20 times
...
...
Vichu_1607
Most Recent 5 months, 1 week ago
Selected Answer: D
D: Create a multi-step web test to query the home page.
upvoted 1 times
DamuKeesh
2 months, 2 weeks ago
It's deprecated already right ? It's either URL ping test or Custom Track Availability
upvoted 1 times
...
...
TNH
8 months, 4 weeks ago
Multi-step web tests is retired: https://azure.microsoft.com/en-us/updates/retirement-notice-transition-to-custom-availability-tests-in-application-insights/
upvoted 2 times
...
130nk3r5
1 year, 4 months ago
Selected Answer: D
Because of "Dependent requests such as images and JavaScript files must load properly."
upvoted 1 times
...
Ciupaz
1 year, 5 months ago
Selected Answer: B
Every solution could be fine, but URL Ping Test requires the least amount of effort.
upvoted 1 times
...
katrang
1 year, 7 months ago
Selected Answer: B
From the documentation: The name URL ping test is a bit of a misnomer. These tests don't use the Internet Control Message Protocol (ICMP) to check your site's availability. Instead, they use more advanced HTTP request functionality to validate whether an endpoint is responding. They measure the performance associated with that response. They also add the ability to set custom success criteria, coupled with more advanced features like parsing dependent requests and allowing for retries.
upvoted 3 times
...
Paolo12
1 year, 8 months ago
Selected Answer: B
In URL-Ping test it's possible to set dependent requests, retries, etc...
upvoted 1 times
...
aragones
1 year, 11 months ago
Got this 2023-05-12. FYI: case: You need to configure authorization. case: You need to ensure the app does not time out and processes the blob data case study: VanArsdel Inc Canada
upvoted 4 times
...
motekim
2 years, 1 month ago
It looks like its B though: https://learn.microsoft.com/en-us/previous-versions/azure/azure-monitor/app/monitor-web-app-availability
upvoted 1 times
...
motekim
2 years, 1 month ago
if the answer is D. Create a multi-step web test to query the home page., then it's actually E. from Msoft site: We recommend using TrackAvailability to submit custom availability tests instead of multistep web tests. This option is the long-term supported solution for multi-request or authentication test scenarios. With TrackAvailability() and custom availability tests, you can run tests on any compute you want and use C# to easily author new tests. hmm
upvoted 1 times
...
NombreFalso
2 years, 2 months ago
Selected Answer: D
Ping test seems to be the least effort solution
upvoted 1 times
...
Sriniv
2 years, 2 months ago
Answer B as it satisfies all requirements.Below is the reason for URL ping test. The Azure App Service has built-in URL ping testing that can be configured to check whether a website is responsive every five minutes, and generate alerts if there are issues. The URL ping test can also check that the website responds within a specified time threshold and that dependent requests such as images and JavaScript files load properly. Additionally, the URL ping test will automatically retry up to three times if the website fails to load.
upvoted 2 times
...
adilkhan
2 years, 2 months ago
B is correct because: 1. The test requests images, scripts, style files, and other files that are part of the webpage under test. The recorded response time includes the time taken to get these files. The test fails if any of these resources can't be successfully downloaded within the timeout for the whole test. If the option isn't enabled, the test only requests the file at the URL that you specified. Enabling this option results in a stricter check. The test might fail for cases that aren't noticeable from manually browsing through the site. 2. When the test fails, it's retried after a short interval. A failure is reported only if three successive attempts fail. Subsequent tests are then performed at the usual test frequency. Retry is temporarily suspended until the next success. This rule is applied independently at each test location. We recommend this option. On average, about 80 percent of failures disappear on retry. https://learn.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
upvoted 1 times
...
OPT_001122
2 years, 5 months ago
Selected Answer: B
B. Set up a URL ping test to query the home page.
upvoted 2 times
...
Dhanishetty
2 years, 5 months ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability#:~:text=Setting,to%2016%20locations.
upvoted 1 times
...
OPT_001122
2 years, 5 months ago
Selected Answer: B
https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability Test timeout - Decrease this value to be alerted about slow responses. The test is counted as a failure if the responses from your site haven't been received within this period. If you selected Parse dependent requests, all the images, style files, scripts, and other dependent resources must have been received within this period.
upvoted 1 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