0
0
Azurecloud~20 mins

Metrics for resource performance in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Metrics Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
Understanding Azure Monitor Metrics Collection

Which of the following statements correctly describes how Azure Monitor collects metrics for a virtual machine?

AAzure Monitor only collects metrics when the VM is restarted.
BAzure Monitor collects metrics by installing an agent on the VM that sends data every 5 minutes by default.
CAzure Monitor collects metrics directly from the Azure fabric without any agent, providing near real-time data.
DAzure Monitor requires manual export of logs from the VM to collect metrics.
Attempts:
2 left
💡 Hint

Think about how Azure Monitor integrates with Azure resources without extra setup.

Architecture
intermediate
2:00remaining
Designing Metric Alerts for Azure Resources

You want to create an alert that triggers when CPU usage on an Azure App Service exceeds 80% for 10 minutes. Which metric and configuration should you use?

AUse the 'CPU Percentage' metric with a threshold of 80%, aggregation type 'Average', and evaluation period of 10 minutes.
BUse the 'CPU Percentage' metric with a threshold of 80%, aggregation type 'Maximum', and evaluation period of 1 minute.
CUse the 'CPU Time' metric with a threshold of 80%, aggregation type 'Total', and evaluation period of 5 minutes.
DUse the 'CPU Usage' metric with a threshold of 80%, aggregation type 'Minimum', and evaluation period of 10 minutes.
Attempts:
2 left
💡 Hint

Consider the metric name and aggregation that best reflects sustained high CPU usage.

security
advanced
2:00remaining
Securing Metric Data Access in Azure Monitor

Which Azure feature allows you to restrict access to metric data collected by Azure Monitor to only authorized users?

AAzure Role-Based Access Control (RBAC) with roles scoped to the resource or resource group.
BAzure Firewall rules applied to the Azure Monitor service.
CNetwork Security Groups (NSGs) blocking metric data endpoints.
DAzure Policy enforcing encryption of metric data.
Attempts:
2 left
💡 Hint

Think about how Azure controls user permissions for resource data.

Best Practice
advanced
2:00remaining
Optimizing Metric Retention and Cost in Azure Monitor

You want to retain detailed metrics for 30 days but reduce storage costs for older data. What is the best approach?

ASet metric retention to 7 days and export all metrics to a Log Analytics workspace indefinitely.
BConfigure Azure Monitor to retain detailed metrics for 30 days, then archive older metrics to a storage account.
CDisable metric collection after 30 days to save costs.
DUse Azure Monitor's default retention and do not export metrics.
Attempts:
2 left
💡 Hint

Consider balancing detailed monitoring needs with cost-effective long-term storage.

🧠 Conceptual
expert
2:00remaining
Interpreting Metric Aggregation Behavior in Azure Monitor

You observe that the 'Disk Read Bytes' metric for a VM shows a sudden spike when viewed with 'Total' aggregation over 1 minute, but a smooth curve with 'Average' aggregation. Why does this happen?

AAzure Monitor caches metrics and delays 'Average' aggregation, causing smoother curves.
BThe 'Average' aggregation only shows the highest value, hiding spikes; 'Total' shows the sum which is always lower.
CThe metric is incorrectly configured; spikes indicate data errors in 'Total' aggregation only.
DThe 'Total' aggregation sums all read bytes in the minute, causing spikes when bursts occur; 'Average' smooths these by averaging over the period.
Attempts:
2 left
💡 Hint

Think about how summing versus averaging data points affects the graph shape.