Correct Answer: Implement a custom TelemetryInitializer to append properties to the ITelemetry object before it is sent.
Telemetry Initializers are used to enrich all telemetry types with additional properties (using the Context.GlobalProperties collection) before they are sent to the Application Ins...
Correct Answer
Implement a custom TelemetryInitializer to append properties to the ITelemetry object before it is sent.
Why This Answer Is Correct
Telemetry Initializers are used to enrich all telemetry types with additional properties (using the Context.GlobalProperties collection) before they are sent to the Application Insights portal. Telemetry Processors, on the other hand, are used to filter, modify, or discard telemetry altogether.
This question evaluates your knowledge of Application Insights โ a core concept tested in Microsoft Certified: Azure Developer Associate (AZ-204). Understanding Application Insights is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.
Your Azure Function app is throwing exceptions in production. You need to capture the full exception details, correlated request traces, and custom business events (like 'OrderPlaced') in one place so you can diagnose issues efficiently. Which solution should you implement?
You are analyzing Application Insights telemetry for your web API. You need to find all requests that took longer than 2 seconds in the last 24 hours and count them by operation name. Which tool in Application Insights should you use?
Your production Azure App Service application is experiencing intermittent slow response times that are hard to reproduce. You want to capture the exact call stack, dependencies (database queries, external API calls), and execution time automatically for every slow request without modifying source code. Which Application Insights feature should you enable?