Microsoft Azure (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Azure Monitor & Application Insights with KQL.
senior LevelCode ExampleazureAdvanced Internals
In Simple Words:
- Application Insights: APM SDK that auto-instruments .NET, Java, and Node.js apps to track request duration, failures, and dependency calls.
- Kusto Query Language (KQL): High-performance big data query language used across Azure Monitor and Sentinel to query terabytes of log records in seconds.
kusto
// KQL Query: Top 5 slowest API dependencies in the last 24 hours
dependencies
| where timestamp > ago(24h)
| summarize AvgDuration = avg(duration), Count = count() by target, name
| order by AvgDuration desc
| take 5