Skip to Content

PL-400: Which Method Should You Use to Create Timers in Durable Functions for Efficient Scheduling?

How to Implement Timers in Azure Durable Functions for Daily Notifications?

Table of Contents

Question

An organization uses Power Apps to track permits for new buildings.

The permitting process must be completed in a timely manner. You need to implement a timer in Azure Durable Functions to send a reminder every day for 10 days.

You must create a durable timer in the orchestrator function.

What should you call?

Select only one answer.

A. setTimeout() function
B. setInterval() function
C. Task.Delay() method
D. createTimer() method

Answer

D. createTimer() method

Explanation

This item tests the candidate’s knowledge of how to create a timer in Durable Functions to handle timeouts and/or delays.

createTimer() will return a task that resumes on a specified date and time. setTimeout() sets a timer that executes a code once the timer expires. setInterval() has a limitation for the maximum value of delay. Task.Delay() creates a task that will complete after a time delay.

Microsoft Power Platform Developer PL-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Power Platform Developer PL-400 exam and earn Microsoft Power Platform Developer PL-400 certification.