You need to recommend a solution to generate a monthly report of all the new Azure Resource Manager (ARM) resource deployments in your Azure subscription.What should you include in the recommendation?
Answer(s): A
Correct:* Azure Activity Log* Azure Log AnalyticsIncorrect:* Application Insights* Azure Advisor* Azure Analysis Services* Azure Arc* Azure Monitor action groups* Azure Monitor metricsNote:* Azure Activity LogActivity logs are kept for 90 days. You can query for any range of dates, as long as the starting date isn’t more than 90 days in the past.Through activity logs, you can determine:-what operations were taken on the resources in your subscription who started the operation when the operation occurred the status of the operation the values of other properties that might help you research the operation* Azure Log AnalyticsThe Activity log is a platform log in Azure that provides insight into subscription-level events. Activity log includes such information as when a resource is modified or when a virtual machine is started.Activity log events are retained in Azure for 90 days and then deleted.For more functionality, you should create a diagnostic setting to send the Activity log to one or more of these locations for the following reasons:to Azure Monitor Logs for more complex querying and alerting, and longer retention (up to two years) to Azure Event Hubs to forward outside of Azure to Azure Storage for cheaper, long-term archivingNote: Azure Monitor builds on top of Log Analytics, the platform service that gathers log and metrics data from all your resources. The easiest way to think about it is that Azure Monitor is the marketing name, whereas Log Analytics is the technology that powers it.
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/view-activity-logs
HOTSPOT (Drag and Drop is not supported)You have an Azure subscription. The subscription contains a Log Analytics workspace named WS1 that is accessible via a public endpoint. The subscription contains the virtual machines shown in the following table.You need to collect logs from the virtual machines and forward the logs to WS1 by using the Azure Monitor Agent. The solution must meet the following requirements:● Collect Windows logs and IIS logs from the virtual machines in the East US Azure region.● Collect Windows logs from the virtual machines in the Central US Azure region.● Collect IIS logs from the virtual machines in the West US Azure region.The solution must minimize the volume of data collected.What is the minimum number of data collection rules (DCRs) and data collection endpoints (DCEs) required? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: 2Minimum number of data collection rules (DCRs)One DCR to collect Windows logs.One DCR to collect IIS logs.Note: Data collection rules (DCRs) are part of an Extract, transform, and load (ETL)-like data collection process that improves on legacy data collection methods for Azure Monitor. This process uses a common data ingestion pipeline for all data sources and a standard method of configuration that's more manageable and scalable than previous collection methods.Specific advantages of DCR-based data collection include:* Consistent method for configuration of different data sources.* Etc.Box 2: 3Minimum number of data collection endpoints (DCEs).One DCE for each region.Note:A data collection endpoint (DCE) is an Azure resource that defines a unique set of endpoints related to data collection, configuration, and ingestion in Azure Monitor.Create a data collection endpoint in each region where you have Azure Monitor Agent deployed to send configuration files to the agents in that region.
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-endpoint-overview?
HOTSPOT (Drag and Drop is not supported)You have an Azure subscription that contains 300 virtual machines that run Windows Server.You need to centrally monitor all warning events in the System logs of the virtual machines.What should you include in the solution? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: A Log Analytics workspaceSend resource logs to a Log Analytics workspace to enable the features of Azure Monitor Logs.You must create a diagnostic setting for each Azure resource to send its resource logs to a Log Analytics workspace to use with Azure Monitor Logs.Box 2: Install the Azure Monitor agentUse the Azure Monitor agent if you need to:Collect guest logs and metrics from any machine in Azure, in other clouds, or on-premises.Manage data collection configuration centrally
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/resource-logs https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview#azure-monitor-agent
HOTSPOT (Drag and Drop is not supported)You have an Azure subscription that contains the resources shown in the following table.You create an Azure SQL database named DB1 that is hosted in the East US Azure region.To DB1, you add a diagnostic setting named Settings1. Settings1 archive SQLInsights to storage1 and sends SQLInsights to Workspace1.For each of the following statements, select Yes if the statement is true. Otherwise, select No.Hot Area:
Box 1: YesA single diagnostic setting can define no more than one of each of the destinations. If you want to send data to more than one of a particular destination type (for example, two different Log Analytics workspaces), then create multiple settings.Each resource can have up to 5 diagnostic settings.Note: This diagnostic telemetry can be streamed to one of the following Azure resources for analysis. * Log Analytics workspace* Azure Event Hubs* Azure StorageBox 2: YesBox 3: Yes
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-exp ort-configure?tabs=azure-portal
You have the following Azure subscriptions:● Multiple subscriptions that host workloads● A dedicated management subscription for the workloadsYour company runs platform and application resources across several subscriptions and has on-premises Azure Arc-enabled virtual machines.Development teams have permission to deploy monitoring components to their own subscriptions.Operations teams find it difficult to correlate platform with workload telemetry across Azure and hybrid resources.You need to recommend a monitoring solution that provides centralized querying for log and trace data. The solution must meet the following requirements:● Support the hybrid resources.● Prevent the teams from storing monitoring data in disparate locations.What should you include in the recommendation?
Answer(s): D
A Log Analytics workspace in the management subscription centralizes logs and application traces for querying and correlation across workload subscriptions. Azure Arc-enabled servers can send logs through Azure Monitor Agent and data collection rules, while workspace-based Application Insights can store application telemetry in the same workspace. To enforce centralization, supplement this design with Azure Policy and appropriate permissions that require the approved workspace and restrict unauthorized monitoring destinations.
https://github.com/MicrosoftDocs/azure-monitor-docs/blob/main/articles/azure-monitor/fundamental s/enterprise-monitoring-architecture.md https://learn.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource?trk=article-ssr-frontend-pulse_little-text-block&tabs=portal
Post your Comments and Discuss Microsoft AZ-305 exam prep with other Community members: