Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: DevOps Engineer Expert · Microsoft
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
For App, // Program.cs (.NET 6 / 7 / 8+) var builder = WebApplication.CreateBuilder(args); // Adds App Insights SDK; automatically routes data to your Log Analytics Workspace builder.Services.AddApplicationInsightsTelemetry(options => { options.ConnectionString = builder.Configuration["APPLICATIONINSIGHTS_CONNECTION_STRING"]; }); var app = builder.Build(); For database, Database -> diagnose setting -> telemetry In Log Analytic Workspace, use KQL to build alert
The correct is D. Azure Log Analytics provides central storage capabilities. You could configure both the Web App and SQL Database to send data directly to Log Analytics.
These tools are used together but since we need a broader monitoring solution, I go with Log Analytics. Azure Application Insights: This is your application's performance and health specialist, providing automatic insights into user behavior, response times, and code-level diagnostics. It's the quickest way to understand what is happening within your application. Azure Log Analytics: This is your comprehensive data investigator for your entire system, allowing you to collect, analyze, and query logs and metrics from any source. It's the power tool for understanding how and when things happen across your infrastructure and applications through flexible queries and custom alerts.