AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
Your Azure Logic Apps workflow fails intermittently with timeout errors. What should you do to improve reliability?
⚠ Common exam trap
Candidates often confuse increasing the timeout as a reliability fix, when in fact it only postpones the failure, whereas retry policies actively handle transient errors by reattempting the operation.
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
✓
Configure retry policies for failed actions
Intermittent timeout errors in Azure Logic Apps indicate that some actions are taking longer than the default timeout to complete. Configuring retry policies for failed actions allows the workflow to automatically reattempt the operation, which can resolve transient failures due to network congestion or temporary service unavailability. This directly improves reliability by handling intermittent timeouts without manual intervention.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure retry policies for failed actions
Why this is correct
Configuring retry policies directly addresses intermittent timeouts by instructing the Logic App to automatically re-attempt failed actions after a specified delay. This mechanism is crucial for handling transient faults, such as temporary network issues or service unavailability, without requiring manual intervention. Logic Apps offer built-in retry policies like default, exponential interval, and fixed interval, allowing developers to tailor the retry behavior to the specific characteristics of the external service or API being called, significantly enhancing workflow reliability.
- ✗
Increase the action timeout to maximum
Why it's wrong here
Increasing the action timeout merely extends the waiting period before an action is declared failed, rather than resolving the underlying cause of intermittent timeouts. While it might prevent some failures by allowing more time for a slow operation to complete, it can mask performance bottlenecks, consume workflow resources for longer durations, and potentially lead to higher costs without improving the actual reliability or responsiveness of the integrated service.
- ✗
Reduce the number of parallel branches
Why it's wrong here
Reducing the number of parallel branches in a Logic App workflow primarily impacts throughput and resource consumption within the Logic App itself, not necessarily the intermittent timeout of a specific action. An action timing out typically indicates an issue with the external service it's calling, network latency, or the service's own processing capacity, which is generally independent of how many other branches are executing concurrently within the Logic App.
- ✗
Use Azure API Management in front of Logic Apps
Why it's wrong here
Azure API Management serves as a robust gateway for managing, securing, and publishing APIs, offering features like request throttling, caching, and policy enforcement. However, placing APIM in front of a Logic App's trigger endpoint does not address intermittent timeouts occurring within the Logic App's *downstream actions* as it executes. APIM manages the inbound request to the Logic App, not the outbound calls made by the Logic App to other services.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 881 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.