You have an Azure subscription that contains a custom application named Application1. Application1 was developed by an external company named Fabrikam, Ltd. Developers at Fabrikam were assigned role-based permissions to the Application1 components. All users are licensed for the Microsoft 365 E5 plan.You need to recommend a solution to verify whether the Fabrikam developers still require permissions to Application1. The solution must meet the following requirements:-To the manager of the developers, send a monthly email message that lists the access permissions to Application1.-If the manager does not verify an access permission, automatically revoke that permission.-Minimize development effort.What should you recommend?
Answer(s): A
https://docs.microsoft.com/en-us/azure/active-directory/governance/manage-user-access-with-access-reviews
DRAG DROP (Drag and Drop is not supported)You have an Azure subscription that contains the virtual machines shown in the following table.You need to recommend a logging solution for the virtual machines. The solution must meet the following requirements:● Operating system logs from VM1 must be collected and stored in a Log Analytics workspace.● Syslog data logs from VM2 must be archived to a storage account.What solution should you include in the recommendation for each virtual machine? To answer, drag the appropriate solutions to the correct virtual machines. Each solution may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.Note: Each correct selection is worth one point.Select and Place:
Box 1: Azure Monitor AgentVM1Operating system logs from VM1 must be collected and stored in a Log Analytics workspace.In this scenario, to collect Windows 11 operating system logs from an Azure VM jump box and store them in a Log Analytics workspace, you should use the Azure Monitor Agent (AMA) combined with Data Collection Rules (DCRs).Key Components to Use:*-> Azure Monitor Agent (AMA): This is the recommended, modern agent for collecting guest OS logs (Windows Event Logs, security logs) and performance data from Azure virtual machines.Data Collection Rules (DCR): These define what data (e.g., Security, System, Application events) is collected and where it is sent (the Log Analytics workspace).Log Analytics Workspace: The central repository where the logs are stored, analyzed, and queried using Kusto Query Language (KQL).Implementation Steps:Install AMA: Enable the Azure Monitor Agent extension on the Windows 11 virtual machine.Configure DCR: Create a Data Collection Rule in the Azure Portal, select the Windows 11 VM as the resource, and define the Windows Event Log channels (e.g., Security, Application) to collect.Set Destination: Set the Log Analytics workspace as the destination for the data collected by the DCR.Box 2: Azure Monitor AgentVM2Syslog data logs from VM2 must be archived to a storage account.To archive Syslog data from an Ubuntu virtual machine to an Azure Storage account, you should use Azure Monitor Agent (AMA) in conjunction with a Log Analytics workspace and its Data Export feature.While the Azure Monitor Agent (AMA) collects the Syslog data from the Ubuntu VM and delivers it to a Log Analytics workspace, the workspace itself acts as the bridge for long-term archiving to storage.Key Components to Use*-> Azure Monitor Agent (AMA): Installed on the Ubuntu VM to collect and forward Syslog events.Data Collection Rule (DCR): Used to define which Syslog facilities and levels to collect and specify the Log Analytics workspace as the destination.Log Analytics Workspace: Serves as the primary repository where Syslog data is initially ingested.Log Analytics Workspace Data Export: This feature continuously exports data from specific tables (like the Syslog table) to your designated Azure Storage account.
https://learn.microsoft.com/en-us/azure/azure-monitor/vm/data-collection https://docs.azure.cn/en-us/azure-monitor/vm/data-collection-syslog
HOTSPOT (Drag and Drop is not supported)You have an Azure subscription that contains 50 Azure SQL databases.You create an Azure Resource Manager (ARM) template named Template1 that enables Transparent Data Encryption (TDE).You need to create an Azure Policy definition named Policy1 that will use Template1 to enable TDE for any noncompliant Azure SQL databases.How should you configure Policy1? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: DeployIfNotExistsDeployIfNotExistsSimilar to AuditIfNotExists, a DeployIfNotExists policy definition executes a template deployment when the condition is met.DeployIfNotExists evaluationDeployIfNotExists runs after a configurable delay when a Resource Provider handles a create or update subscription or resource request and has returned a success status code. A template deployment occurs if there are no related resources or if the resources defined by ExistenceCondition don't evaluate to true. The duration of the deployment depends on the complexity of resources included in the template.During an evaluation cycle, policy definitions with a DeployIfNotExists effect that match resources are marked as non-compliant, but no action is taken on that resource.Incorrect:* EnforceRegoPolicyNo such thing in this context.* ModifyModify is used to add, update, or remove properties or tags on a subscription or resource during creation or update. A common example is updating tags on resources such as costCenter.Modify evaluationModify evaluates before the request gets processed by a Resource Provider during the creation or updating of a resource. The Modify operations are applied to the request content when the if condition of the policy rule is met. Each Modify operation can specify a condition that determines when it's applied. Operations with false condition evaluations are skipped.Box 2: The identity required to perform the remediation taskPolicy assignments with effect set as DeployIfNotExists require a managed identity to do remediation.Note: Each policy definition in Azure Policy has a single effect. That effect determines what happens when the policy rule is evaluated to match. The effects behave differently if they are for a new resource, an updated resource, or an existing resource.These effects are currently supported in a policy definition:AppendAuditAuditIfNotExistsDenyDenyAction (preview)DeployIfNotExistsDisabledManualModify
https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects
HOTSPOT (Drag and Drop is not supported)You have a production line that is monitored by using IoT devices.You are building a project that will process data streams from the IoT devices.You need to recommend a pipeline solution that will perform the following activities:● Ingest the data streams from the IoT devices.● Analyze the data and identify manufacturing defects among items on the production line.● When a manufacturing defect is identified, flag the item for removal from the production line.What should you include in the recommendation for each activity? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: Azure Event HubIngest the data streams from the IoT devices.In a real-world scenario, you could have hundreds of these sensors generating events as a stream. Ideally, a gateway device would run code to push these events to Azure Event Hubs or Azure IoT Hubs. Your Stream Analytics job would ingest these events from Event Hubs or IoT Hubs and run real-time analytics queries against the streams.Box 2: Azure Stream AnalyticsAnalyze the data and identify manufacturing defects among items on the production line.Box 3: Azure IoT CentralWhen a manufacturing defect is identified, flag the item for removal from the production line.IoT Central is an IoT application platform as a service (aPaaS) that reduces the burden and cost of developing, managing, and maintaining IoT solutions.The web UI lets you quickly connect devices, monitor device conditions, create rules, and manage devices and their data throughout their life cycle. Furthermore, it enables you to act on device insights by extending IoT intelligence into line-of-business applications. After you've used IoT Central to evaluate your IoT scenario, you can then build your enterprise-ready Azure IoT solution.
https://learn.microsoft.com/en-us/azure/stream-analytics/stream-analytics-get-started-with-azure-stream-analyt ics-to-process-data-from-iot-devices https://learn.microsoft.com/en-us/azure/iot-central/core/overview-iot-central
DRAG DROP (Drag and Drop is not supported)You have an Azure subscription.You are planning the development of two Azure applications as shown in the following table.You need to configure diagnostic settings and ensure logs are routed to the correct destination for each application.What destination should you use for each application? To answer, drag the appropriate destinations to the correct applications. Each solution may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.Note: Each correct selection is worth one point.Select and Place:
Box 1: Stream to an event hubApp1Logs must be routed to an external security information and event management (SIEM) solution.Logs must be in the JSON format.To route Azure Activity Logs (and other Azure monitoring data) to an external SIEM, you use Diagnostic Settings to stream them to an Azure Event Hub, which acts as a scalable ingestion point for third-party tools like Splunk, ArcSight, etc..Here's a breakdown of the process:Create a Destination: Set up an Event Hubs Namespace and a specific Event Hub within it in your Azure subscription.Configure Diagnostic Settings: Go to the Azure resource (e.g., Activity Log, Microsoft Entra ID, Defender for Cloud) and create a Diagnostic Setting.Select Destination: In the setting, choose "Stream to an event hub" and select the Event Hub you created.Specify Logs: Choose the log categories (like Administrative, Security) you want to send.SIEM Integration: Your external SIEM solution then connects to the Event Hub to consume the JSON-formatted log data for analysis.This setup allows for real-time security monitoring and analysis outside of Azure, fulfilling SIEM requirements.Box 2: Archive to a storage accountApp2Logs must stored for five years.Logs must be in the JSON format.How to archive activity logs to a storage accountTo store Azure logs in an Azure Storage account for five years in JSON format, you need to use Azure Monitor diagnostic settings to route the logs to a storage account and then implement an Azure Storage lifecycle management policy for the required retention.
https://learn.microsoft.com/en-us/entra/identity/monitoring-health/howto-stream-logs-to-event-hub https://learn.microsoft.com/en-us/entra/identity/monitoring-health/howto-archive-logs-to-storage-account
Post your Comments and Discuss Microsoft AZ-305 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AZ-305 content, but please register or login to continue.