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?
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.
Add an Application Insights connection string to the appsettings.json file of the running site by using App Service advanced editing features.
Open the App Service in the Azure portal and turn on Application Insights to install the codeless monitoring agent.
When an application is hosted in Azure App Service, you can enable codeless Application Insights monitoring directly from the App Service blade. This installs the Application Insights agent/site extension, sets the necessary environment variables, and begins sending server-side telemetry (requests, dependencies, exceptions, performance counters, etc.) to the chosen Application Insights resource without requiring any changes to-or redeployment of-the application binaries. Configuring Diagnostic Settings, modifying appsettings.json, or adding the Profiler extension will not automatically add the full Application Insights telemetry pipeline when the SDK is absent.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is codeless Application Insights monitoring?
Open an interactive chat with Bash
How does the Application Insights agent work?
Open an interactive chat with Bash
What kind of data does Application Insights collect?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Monitor and troubleshoot Azure solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .