Question 203
AZ-204 voucher + Udemy course (lifetime access) = ₹3,500 for Indian ID card holders.
Details →You are developing an ASP.NET Core web application, using the latest .NET runtime, hosted in Azure App Service. You must collect traces, metrics, logs, and exceptions to monitor application performance and diagnose issues. You have the following requirements: • All data must be sent to a new Application Insights instance. • The connection to the Application Insights resource must be secure. • The resource connection value must allow updating by code deployment pipelines. • You must enable the selection and filtering of metrics and performance counters to examine in near real-time. • You must inspect stack traces from sample failed requests and exceptions. You start by creating a new Application Insights instance in the Azure Portal and installing the latest Azure.Monitor.OpenTelemetry.AspNetCore NuGet package in your application. You need to enable and configure OpenTelemetry-based data collection. Which configuration should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
