Microsoft Azure Developer Associate AZ-204 Practice Question

A .NET 6 Web API is already running in an Azure App Service for Windows. The operations team wants to start collecting request, dependency, and exception telemetry with Azure Application Insights, but the development team cannot modify or redeploy the application code. Which action will enable server-side telemetry collection with the least effort?

  • Add the Microsoft.ApplicationInsights.AspNetCore package to the project and redeploy the application.

  • Enable a diagnostic setting on the App Service that sends platform logs to an Azure Log Analytics workspace.

  • In the App Service configuration blade, switch Application Insights to On and link an existing Application Insights resource.

  • Insert the Application Insights instrumentation key into appsettings.json and restart the application.

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