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 false.
B.
Set Always On to true.
C.
Ensure that the Azure Function is set to use a consumption plan.
D.
Ensure that the Azure Function is using an App Service plan.
Suggested Answer:BD🗳️
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. References: https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan
Function app with consumption plan can be activated without Always On.
Should not A C be the answer?
"On a Consumption plan the platform activates function apps automatically and on a Premium plan the platform keeps your desired number of pre-warmed instances always on automatically."
https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan
App Service Plan = Dedicated Plan, that's the only plan that have the "Always On" option.
upvoted 6 times
...
...
This section is not available anymore. Please use the main Exam Page.AZ-203 Exam Questions
Log in to ExamTopics
Sign in:
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.
pingpongset
2 years, 8 months agoather_13
4 years, 10 months agolau13
4 years, 11 months agoather_13
4 years, 10 months agoRaedKazan
5 years, 1 month agodollarpo7
5 years agoebadali
5 years, 1 month agoriley5
5 years agolau13
4 years, 11 months ago