You added REST endpoints (secured by SSL) to an Azure Function app running in a Consumption plan. You need to alert when any endpoint is unavailable or slow. What should you implement to monitor availability and responsiveness?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a timer-triggered function that calls TrackAvailability() and sends results to Application Insights..
Why this is the answer
The correct approach is to create a timer-triggered function that calls TrackAvailability() and sends results to Application Insights. This method allows you to actively test your REST endpoints from within your Azure environment, simulating user requests and directly reporting availability and performance metrics to Application Insights. Application Insights can then be configured to alert based on these availability test results. A URL ping test (web test) is a good option for external monitoring, but it's not listed as the best choice here. GetMetric("Request Size") monitors request size, not availability or responsiveness. Enabling FunctionAppLogs and sending them to Log Analytics provides logs for debugging and analysis, but it doesn't actively test endpoint availability or responsiveness in the way TrackAvailability() does.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed