Q21 Functions Domain 3 · 20–25% of exam

A production function must retry failed executions up to 5 times with exponential backoff. How is this configured?

  1. A In the function code with try/catch
  2. B In host.json under retry policy (fixedDelay or exponentialBackoff) (correct answer)
  3. C In the trigger binding definition
  4. D Via Azure Monitor alerts

Shortcut: json (retryPolicy section) or via [FixedDelayRetry]/[ExponentialBackoffRetry] attributes, handling retries outside the function code.

Azure Functions built-in retry policies are configured in host.json (retryPolicy section) or via [FixedDelayRetry]/[ExponentialBackoffRetry] attributes, handling retries outside the function code.