Microsoft Azure Developer Associate AZ-204 Practice Question

An ASP.NET Core 6 web API is already deployed to Azure App Service. The project was published without adding the Microsoft.ApplicationInsights.AspNetCore SDK, and you cannot modify or redeploy the code. You must begin collecting request, dependency, and exception telemetry in Azure Application Insights as quickly as possible and with no code changes. What should you do?

  • Add an Application Insights connection string to the appsettings.json file of the running site by using App Service advanced editing features.

  • Enable the App Service Profiler site extension and configure it to forward profiling data to Application Insights.

  • Create an Azure Monitor Diagnostic Settings rule to stream App Service logs to the same Application Insights resource.

  • Open the App Service in the Azure portal and turn on Application Insights to install the codeless monitoring agent.

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