In Azure Log Analytics workspace, what happens when you set the data retention period to 30 days?
Think about how retention policies manage storage costs and data lifecycle.
Setting the data retention period to 30 days means any data older than 30 days is deleted automatically to save storage and cost. It does not archive or move data elsewhere.
You want to collect virtual machine logs into a Log Analytics workspace. Which configuration must you enable?
Think about how data collection agents work in Azure Monitor.
The Azure Monitor agent collects telemetry and sends logs to the Log Analytics workspace. Backup and storage account are unrelated to log collection. Virtual network peering is not required for this.
You need to design a Log Analytics solution that collects logs from virtual machines in two Azure regions with minimal latency and high availability. Which architecture is best?
Consider latency and availability when choosing workspace locations.
Creating a workspace in each region reduces latency by sending logs locally and improves availability by avoiding a single point of failure. Sending all logs to one region increases latency and risk.
Which Azure feature allows you to restrict who can read and query data in a Log Analytics workspace?
Think about how Azure controls user permissions on resources.
Azure RBAC controls user permissions to read and query workspace data. NSGs and Firewall control network traffic but not user permissions. Azure Policy enforces compliance but not direct access control.
You notice slow query performance and high costs in your Log Analytics workspace. Which practice will best improve both?
Think about how query scope affects cost and speed.
Scoped queries that filter by time and reduce scanned data improve query speed and lower costs. Increasing retention or running queries more often increases cost. Disabling data collection may reduce data but can lose important info.