A production function must retry failed executions up to 5 times with exponential backoff. How is this configured?
- A In the function code with try/catch
- B In host.json under retry policy (fixedDelay or exponentialBackoff) (correct answer)
- C In the trigger binding definition
- 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.