AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
You have an Azure Function app that uses Durable Functions. You notice that some orchestrations are taking longer than expected. You need to monitor the history of orchestration instances. What should you use?
⚠ Common exam trap
Watch out — candidates often assume Application Insights is the default monitoring tool for all Azure Functions scenarios, but for Durable Functions instance-level history, the built-in HTTP management APIs are the direct and correct answer without requiring additional setup.
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
✓
Durable Functions HTTP management APIs
D is correct because the Durable Functions HTTP management APIs provide direct access to the orchestration instance history, including status queries, raise events, and terminate operations. These APIs return the full execution history of an orchestration instance, allowing you to inspect each step and identify delays. This is the most targeted way to monitor the history of specific orchestration instances without additional configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Application Insights
Why it's wrong here
Application Insights primarily collects telemetry like logs, traces, and performance counters from individual function executions. While it can show when an orchestration started or an activity completed, it does not provide a consolidated, navigable view of the entire state machine history for a specific Durable Function orchestration instance, making it difficult to trace the complete workflow path or current status of a long-running process.
- ✗
Azure Monitor Metrics
Why it's wrong here
Azure Monitor Metrics are numerical time-series data points aggregated over time, useful for observing overall system health, resource utilization, and trends. These metrics provide high-level insights such as total function executions or average duration, but they lack the granularity to display the detailed, step-by-step execution history or the current state of an individual Durable Function orchestration instance.
- ✗
Azure Storage Explorer
Why it's wrong here
Durable Functions persist their state in Azure Storage tables, queues, and blobs. While Azure Storage Explorer allows direct inspection of these raw storage artifacts, manually piecing together the complex orchestration history from fragmented table entries and queue messages for a specific instance is impractical and not designed for real-time monitoring. It serves as a low-level debugging tool rather than a comprehensive monitoring interface for orchestration workflows.
- ✓
Durable Functions HTTP management APIs
Why this is correct
The Durable Functions HTTP management APIs are specifically designed to query and manage the lifecycle of individual orchestration instances. These APIs provide comprehensive details, including the current runtime status (e.g., Running, Completed, Failed), input, output, and the complete execution history of activities and sub-orchestrations for a given instance ID. This direct access to the orchestration state machine makes them the authoritative source for detailed instance history and management.
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.