Your web application uses Application Insights for monitoring. You want to enrich all collected telemetry (requests, exceptions, dependencies) with custom metadata, such as the current deployment slot name and the user's subscription tier, so that you can filter performance metrics in Log Analytics. Which Application Insights extensibility point should you implement?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

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...

๐Ÿ“‹Part of Microsoft Certified: Azure Developer Associate (AZ-204) ยท Azure Certification Practice
Real Exam ScenarioApplication Insights

Your web application uses Application Insights for monitoring. You want to enrich all collected telemetry (requests, exceptions, dependencies) with custom metadata, such as the current deployment slot name and the user's subscription tier, so that you can filter performance metrics in Log Analytics. Which Application Insights extensibility point should you implement?

โœ“ Correct Answer & ExplanationApplication Insights

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.

๐Ÿ“š What This Question Tests

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.