nerdexam
MicrosoftMicrosoft

AZ-204 · Question #104

AZ-204 Question #104: Real Exam Question with Answer & Explanation

The correct answer is A: Verify that Always On is enabled.. To ensure reliable triggering of an Azure Function with a Timer trigger on an App Service Plan, enable Always On and configure retry policies.

Submitted by helene.fr· Mar 30, 2026

Question

You are developing an Azure Function App that runs in an App Service Plan. The Azure Function is triggered by a Timer object. You observe that the Azure Function does not reliably trigger when scheduled. Which two actions should you perform?

Options

  • AVerify that Always On is enabled.
  • BModify the trigger to use a SignaIR trigger.
  • CEnsure that the function has a retry configured.
  • DModify the trigger to use Consumption mode instead of the App Service plan.

Explanation

To ensure reliable triggering of an Azure Function with a Timer trigger on an App Service Plan, enable Always On and configure retry policies.

Common mistakes.

  • B. Modifying the trigger to use a SignalR trigger is incorrect because SignalR is designed for real-time communication, not for scheduled, time-based function execution.
  • D. Modifying the trigger to use Consumption mode instead of the App Service plan changes the hosting model entirely, rather than addressing reliability within the current App Service plan configuration.

Concept tested. Azure Function reliability with Timer triggers on App Service Plans

Reference. https://learn.microsoft.com/en-us/azure/app-service/configure-common?tabs=portal#always-on

Community Discussion

No community discussion yet for this question.

Full AZ-204 PracticeBrowse All AZ-204 Questions