Microsoft Certified: Azure Developer Associate (AZ-204)Connect to and consume Azure services and third-party servicesEasy

A company uses Azure Logic Apps to automate workflows. One Logic App needs to periodically check an external API for updates every 15 minutes. If the API call fails due to transient network issues, the Logic App should automatically retry the call a few times before failing. Which Logic App feature should be configured to handle these transient failures?

  1. AScope Actions
  2. BParallel Branches
  3. CRetry Policy
  4. DUntil Loop
Show answer & explanation

Correct answer: C. Retry Policy

Logic Apps allow you to configure retry policies for actions that might fail due to transient issues. This ensures that the action is automatically retried a specified number of times with a defined interval, improving the robustness of the workflow without requiring manual intervention.

Why the other options are wrong

  • A. Scope Actions group other actions together for better organization and error handling, but don't define retry behavior themselves.
  • B. Parallel Branches run actions concurrently and are not related to handling transient failures.
  • D. An Until Loop repeats actions until a condition is met, but a specific retry policy is more appropriate for transient errors within a single action.

Azure Logic Apps Retry Policy

A configuration for actions in Azure Logic Apps that specifies how to automatically re-attempt failed operations.

  • Handles transient errors (e.g., network issues, temporary service unavailability).
  • Configurable with different types (e.g., exponential, fixed interval).
  • Improves workflow reliability.

Memory trick: Retry Policy: If at first you don't succeed, try, try, try again!

More Connect to and consume Azure services and third-party services questions