Community Q&A
AZ-801 — frequently asked questions
Community-vetted answers to 20 common questions about this exam, each traced back to a specific practice question.
General exam questions
10 answers
What is the primary method to forward security events from on-premises virtual machines to Azure Sentinel?
The primary method is to install the Log Analytics agent (also known as the Microsoft Monitoring Agent or MMA) on the on-premises virtual machines. This agent is configured to connect to a Log Analytics workspace that is linked to your Azure Sentinel instance. Once connected, the agent collects security event logs (such as Windows Event Logs or Syslog) and forwards them to the workspace, where Azure Sentinel can ingest, analyze, and generate alerts based on the data.
In a Windows Server Failover Cluster, what is the effect of selecting the 'Prevent failback' option for a clustered role?
Selecting the 'Prevent failback' option means that if a clustered role (application or service) fails over from a preferred owner node to another node, it will not automatically move back to the preferred node when it comes back online. The role will remain on the current node until a manual failover is initiated or another failure occurs. This is useful for preventing service disruption during the restart of a preferred node after maintenance.
What is the first prerequisite to implement Just-in-Time (JIT) VM access for a virtual machine in Azure?
The first prerequisite is to ensure that a Network Security Group (NSG) is associated with the network interface or subnet of the virtual machine. Just-in-Time access works by dynamically creating and removing NSG rules to allow traffic on specific ports for a limited time. Without an NSG in place, the JIT feature cannot control inbound access to the VM.
Can the Azure Arc agent and the Azure Monitor Agent (AMA) extension be used together to collect Windows Firewall logs for Microsoft Sentinel?
Yes, they can be used together. The Azure Arc agent is used to connect the on-premises or multi-cloud server to Azure, making it a manageable Azure resource. Once the server is Arc-enabled, you can deploy the Azure Monitor Agent (AMA) extension to it. The AMA is then configured with a Data Collection Rule (DCR) to collect specific logs, such as Windows Firewall logs, and send them to a Log Analytics workspace connected to Microsoft Sentinel.
To add a new Windows Server 2022 domain controller to an existing domain with the least privilege, which group should a user account be a member of?
The user account should be a member of the Account Operators built-in group. Members of this group have the necessary permissions to create, delete, and manage domain user and computer accounts, which includes promoting a server to a domain controller. This provides the necessary permissions without granting the full, unrestricted control that comes with membership in the Domain Admins or Enterprise Admins groups.
Where in the Azure portal can you enable Microsoft Defender for Servers for your Azure resources?
You can enable Microsoft Defender for Servers within the Microsoft Defender for Cloud service in the Azure portal. Specifically, you navigate to 'Environment settings', select the relevant subscription or management group, and then go to the 'Defender plans' blade. From there, you can toggle the plan for 'Servers' on to enable the enhanced security features for all current and future servers in that scope.
Which servers are capable of sending Windows Firewall logs to Microsoft Sentinel?
Any server that can run the Log Analytics agent (MMA) or the Azure Monitor Agent (AMA) and connect to a Log Analytics workspace can send Windows Firewall logs to Microsoft Sentinel. This includes Azure virtual machines, on-premises servers, and virtual machines hosted in other clouds (like AWS or GCP), provided they have network connectivity to the Log Analytics workspace service endpoints.
What is the process to onboard an on-premises Windows Server to Microsoft Defender for Cloud?
The process involves installing the Log Analytics agent (MMA) on the on-premises Windows Server and configuring it to report to a Log Analytics workspace that is being monitored by Microsoft Defender for Cloud. Once the agent is connected and reporting, Defender for Cloud will automatically detect the server, assess its security posture, and apply the relevant policies and recommendations, effectively onboarding it into the Defender for Cloud dashboard.
What is the recommended method to view the available storage capacity in a Storage Spaces Direct pool?
The recommended method is to use Windows Admin Center. After connecting to the hyper-converged cluster, you can navigate to the 'Storage Spaces Direct' section. The dashboard provides a clear, graphical overview of the storage pools, including total capacity, available capacity, and health status. Alternatively, you can use the Get-StoragePool PowerShell cmdlet on any node in the cluster to retrieve this information.
How can an administrator access a Windows VM in Azure if its network stack has failed and RDP is not working?
The administrator should use the Serial Console feature in the Azure portal. The Serial Console provides direct text-based access to the VM's command-line interface, independent of the guest OS's network configuration. This allows an administrator to troubleshoot and fix network stack issues, such as misconfigured IP addresses or firewall rules, even when all network connectivity to the VM is lost.
Questions from real practice questions
Each Q&A comes from a specific question — follow the link for the full analysisEnabling Least Privilege Firewall Rules for Remote Computer Management
Why is Option B (Remote Event Log Management) incorrect?
While Event Log Management allows viewing logs, Computer Management also manages Services, Disks, and Users. Enabling only the Event Log group is insufficient for full management and opens more ports than necessary, violating least privilege.
What is the difference between COM+ Network Access and WMI-In?
COM+ Network Access (DCOM-In) handles the RPC transport layer, allowing the client to connect to the server. WMI-In handles the actual query traffic over that connection to retrieve system information.
Enabling Microsoft Defender SmartScreen Logging in Event Viewer
Where are SmartScreen events stored by default?
They are stored in the Microsoft-Windows-SmartScreen/Debug log channel within Event Viewer, but this channel is disabled by default.
Can I enable SmartScreen logging via Group Policy?
Group Policy can configure SmartScreen behavior (e.g., enforce warnings), but it cannot enable the underlying Debug event log channel itself; that must be done in Event Viewer.
Blocking Specific App Outbound Traffic with Windows Defender Firewall
Why not use an outbound port rule?
An outbound port rule blocks traffic on specific ports for all applications on the server. This violates the requirement to minimize impact on other apps, as they would also lose access to those ports.
What is the difference between a program rule and a custom rule?
A program rule is automatically scoped to a specific executable file. A custom rule allows you to define various conditions like protocol, port, IP address, etc., but requires more manual configuration to achieve the same level of application-specific targeting.
Hyper-V Replica 1:1 Constraint and Authorization Settings
Can Hyper-V Replica fan out to multiple targets?
No. Native Hyper-V Replica strictly supports a 1:1 relationship. A source VM can only replicate to one target replica server at a time.
What happens if the target server is not in the authorization list?
Replication will fail. The target server must explicitly list the source server in its Authorization settings to accept incoming replication requests.
Migrating On-Premises File Shares to Azure with Azure Migrate
Can I use Storage Replica to migrate a file share to Azure?
No. Storage Replica is designed for continuous, block-level replication between servers for disaster recovery purposes, not for one-time migration to Azure.
What is the difference between Azure Migrate and Storage Migration Service?
Azure Migrate is used for migrating entire server workloads (OS, apps, data) to Azure. Storage Migration Service (in Windows Admin Center) is primarily for migrating file shares from older file servers to newer ones, often on-premises.
← Back to Microsoft AZ-801 Exam Questions & Knowledge Points Guide