Practice Exam

Question 32 of 75

Fix Non-Deterministic Durable Function Workflow

You work as a Serverless Workflow Developer for MDFT Pro, a well-known training agency that delivers certification courses to students worldwide. Claire, the Backend Architecture Lead, has tasked you with developing a complex student enrollment workflow using Azure Durable Functions. The workflow orchestrates multiple steps including validating student credentials, checking course prerequisites, processing payments, sending confirmation emails, and provisioning access to course materials. During testing with different load patterns, you observe that the workflow produces inconsistent results—sometimes students receive duplicate emails, access provisioning fails intermittently, and payment confirmations show different timestamps. The inconsistencies only occur when multiple instances of the Azure Function are running simultaneously under load, but work correctly with a single instance. The workflow must produce reliable, consistent results regardless of how many function instances are processing enrollments concurrently.

What should you do to resolve this issue?

Choose the correct answer from the options below.

Explanations for each answer:

Learn more about Orchestrator Code Constraints:
Durable Functions Constraints
Next Question
Discuss this question on social media: