ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 47 - AZ-204 discussion

Report
Export

You need to resolve a notification latency issue.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
Set Always On to true.
Answers
A.
Set Always On to true.
B.
Ensure that the Azure Function is using an App Service plan.
Answers
B.
Ensure that the Azure Function is using an App Service plan.
C.
Set Always On to false.
Answers
C.
Set Always On to false.
D.
Ensure that the Azure Function is set to use a consumption plan.
Answers
D.
Ensure that the Azure Function is set to use a consumption plan.
Suggested answer: A, B

Explanation:

Azure Functions can run on either a Consumption Plan or a dedicated App Service Plan. If you run in a dedicated mode, you need to turn on the Always On setting for your Function App to run properly. The Function runtime will go idle after a few minutes of inactivity, so only HTTP triggers will actually "wake up" your functions. This is similar to how WebJobs must have Always On enabled.

Scenario: Notification latency: Users report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected.

Anomaly detection service: You have an anomaly detection service that analyzes log information for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service.

If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook.

Reference:

https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan

asked 02/10/2024
chanon witchajutakul
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first