StudyByteLearn
← AZ-305: Azure Infrastructure Solutions
AZ-305 · Compute design

Practice question 265 of 400 · medium

A Durable Functions orchestrator makes a direct nondeterministic external API call during replay. Which change is most appropriate?

Choose the single best answer.

  1. A.Disable retries and assume history no longer replays
  2. B.Move the external call into an activity and keep orchestration deterministic
  3. C.Move every workflow record into process memory
  4. D.Replace the call with a different random API inside the orchestrator
Show the answer and explanation

✓ Correct answer

  • Move the external call into an activity and keep orchestration deterministic

Activities are the appropriate place for external and nondeterministic work while deterministic orchestration replays recorded history. Process memory loses durability, disabling retries does not erase replay requirements, and changing to another random API preserves the same nondeterminism. Source guide: PDF page(s) 47.

Read the source reference

This item is flagged for content review.

Read and review here, or open the app to practise and save your results on this device.

Unofficial study aid; not affiliated with or endorsed by Microsoft. Original practice questions are not real examination questions and do not guarantee an exam result.