AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
You have an Azure Logic App that processes orders. Occasionally, the Logic App fails due to a transient error from a downstream API. You want to automatically retry the failed action after 10 seconds, up to 3 times, with exponential backoff. Which configuration should you set on the action?
⚠ Common exam trap
It's easy for candidates to assume 'default' means no configuration is needed, but the default policy actually uses exponential backoff and requires explicit interval and count settings to control the retry behavior.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set retry policy to default with interval of 10 seconds and count of 3
The default retry policy in Azure Logic Apps uses exponential backoff, which automatically increases the delay between retries. Setting the interval to 10 seconds and count to 3 configures the initial delay and maximum retry attempts, while the exponential backoff behavior is inherent to the default policy. This matches the requirement to retry after 10 seconds initially, up to 3 times, with exponential backoff.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set retry policy to default with interval of 10 seconds and count of 3
Why this is correct
The default retry policy in Azure Logic Apps automatically implements an exponential backoff strategy, which is ideal for transient errors as it progressively increases the delay between retries. When configured with an interval of 10 seconds and a count of 3, the initial delay will be 10 seconds, and subsequent retries will have longer delays, preventing immediate re-bombardment of a potentially overloaded service. This approach significantly improves the chances of success by allowing the target system time to recover.
- ✗
Set retry policy to fixed interval with 10-second delay and 3 retries
Why it's wrong here
A fixed interval retry policy, even with a 10-second delay and 3 retries, is generally not optimal for handling transient errors. This approach repeatedly attempts the operation after the exact same delay, which can exacerbate issues if the target service is experiencing sustained overload or a temporary outage. Without an increasing backoff, it risks overwhelming the service further rather than allowing it to recover, making it less robust for unpredictable transient failures.
- ✗
Set retry policy to none and implement custom retry logic
Why it's wrong here
Setting the retry policy to "none" completely disables automatic retries for the action, meaning any transient error will immediately cause the action to fail without another attempt. While custom retry logic can be implemented using control flow actions like 'Do until' loops, this approach adds significant complexity and overhead to the Logic App design. It requires manual management of delays, conditions, and error handling, which is less efficient and more error-prone than leveraging built-in policies.
- ✗
Set retry policy to custom with exponential interval and 3 retries
Why it's wrong here
While a custom retry policy allows for fine-grained control over retry behavior, explicitly configuring it for an "exponential interval" when the default policy already provides this functionality is unnecessary. The "custom" option typically requires defining the specific interval and count, but for exponential backoff, the default policy is pre-configured to handle the increasing delays automatically. Opting for "custom" in this scenario would likely involve redundant configuration or a misunderstanding of the default's capabilities.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.