AZ-200 Azure Monitoring & Diagnostics 2 — Questions and Answers
Question 1: Which Application Insights telemetry type captures unhandled exceptions and manually logged errors?
- Request telemetry
- Dependency telemetry
- Exception telemetry (Correct answer)
- Event telemetry
Correct answer: Exception telemetry
Exception telemetry in Application Insights captures unhandled exceptions and exceptions explicitly tracked with TrackException(), including stack traces.
Question 2: How do you create a custom metric in Application Insights from application code?
- Configure a metric in the Azure portal
- Use the TelemetryClient.TrackMetric() or GetMetric() API in the SDK (Correct answer)
- Add a Prometheus endpoint only
- Use Azure Monitor REST API directly
Correct answer: Use the TelemetryClient.TrackMetric() or GetMetric() API in the SDK
The TelemetryClient.TrackMetric() and GetMetric() APIs allow applications to emit custom numeric metrics to Application Insights from within the application code.
Question 3: What is the purpose of Azure Monitor Action Groups?
- Grouping Azure resources for policy assignment
- Defining a set of notification and remediation actions triggered by alert rules (Correct answer)
- Grouping users for RBAC assignment
- Managing diagnostic setting targets
Correct answer: Defining a set of notification and remediation actions triggered by alert rules
Action Groups define who to notify (email, SMS, webhook) and what to do (Logic App, Azure Function, runbook) when an Azure Monitor alert fires.
Question 4: What is an Application Insights Availability Test used for?
- Testing app performance under simulated load
- Pinging an external URL at regular intervals from multiple Azure regions to detect outages (Correct answer)
- Checking Azure service health status
- Validating app configuration at deploy time
Correct answer: Pinging an external URL at regular intervals from multiple Azure regions to detect outages
Availability tests periodically send HTTP requests to your application from multiple Azure regions and alert you if the endpoint is unreachable or too slow.
Question 5: Which KQL operator is used to filter rows in a Log Analytics query?
- select
- where (Correct answer)
- filter
- restrict
Correct answer: where
The `where` operator in KQL filters rows in a table based on a boolean condition, equivalent to SQL's WHERE clause.
Question 6: How do diagnostic settings in Azure help with monitoring?
- They configure Application Insights sampling rates
- They route Azure resource platform logs and metrics to Log Analytics, Storage, or Event Hubs (Correct answer)
- They enable auto-scaling based on logs
- They control the retention of application logs only
Correct answer: They route Azure resource platform logs and metrics to Log Analytics, Storage, or Event Hubs
Diagnostic settings on Azure resources configure where to send platform logs (activity, resource, audit) and metrics — to Log Analytics, Storage accounts, or Event Hubs.
Which Application Insights telemetry type captures unhandled exceptions and manually logged errors?