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.
Turning on Application Insights from the Azure portal installs the built-in Application Insights extension on a Windows-based App Service and restarts the app. The extension provides codeless auto-instrumentation that captures server-side requests, dependencies, and exceptions for ASP.NET Core without any code changes. All other options require code access, redeployment, or lack full server-side telemetry.
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 Azure Application Insights and how does it work?
Open an interactive chat with Bash
What is codeless auto-instrumentation in Application Insights?
Open an interactive chat with Bash
How does enabling Application Insights in the Azure portal restart the app?
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 .