Microsoft Azure Developer Associate AZ-204 Practice Question

An ASP.NET Core 6 web API is running on Azure App Service (Windows). You have no access to the source code repository, but you must start collecting request, dependency, and exception telemetry in Azure Application Insights today. What should you do to meet the requirement with the least effort and without redeploying the application?

  • Turn on Application Insights for the App Service from the Azure portal, which installs the Application Insights extension and restarts the app.

  • Add the Microsoft.ApplicationInsights.AspNetCore NuGet package and instrumentation code, then redeploy the web API.

  • Insert the JavaScript Application Insights snippet into the _Layout.cshtml page to track browser calls.

  • Install only the Profiler and Snapshot Debugger site extensions for the App Service.

Microsoft Azure Developer Associate AZ-204
Monitor and troubleshoot Azure solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot