AZ-801 MCQs
AZ-801 TestPrep AZ-801 Study Guide
AZ-801 Practice Test AZ-801 Exam Questions
killexams.com
Configuring Windows Server Hybrid Advanced Services
https://killexams.com/pass4sure/exam-detail/AZ-801
You manage a Windows Server 2022 failover cluster with three nodes and a Storage Spaces Direct (S2D) volume of 2 TB . The cluster uses a witness disk hosted in Azure Blob Storage. You need to calculate the minimum Azure Blob Storage size required for the witness disk, given a write throughput of 5 MB/s during peak failover events lasting 10 minutes.
512 MB
3 GB
1 GB
256 MB
You are troubleshooting a Windows Server 2022 VM in Azure that fails to boot after a disk encryption update. You need to access the boot logs using Azure Serial Console. Which command should you enter after accessing the Special Administration Console (SAC)?
cmd
log dump
ch -si 1
bootcfg /scan
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/serial-console-windows
You have a server named Server1 running Windows Server 2022. You need to configure a custom Performance Monitor data collector set to log CPU usage and disk I/O every 10 seconds to a file named "perfdata.blg" for 24 hours. Which PowerShell command should you use?
New-PerfCounterDataCollectorSet -Name "PerfSet" -Counter "\Processor(_Total)\% Processor Time", "\PhysicalDisk(_Total)\Disk Bytes/sec" -SampleInterval 10 -LogFile "perfdata.blg" -Duration "24:00:00"
Add-PerformanceLog -Name "PerfSet" -Metrics "\Processor(_Total)\% Processor Time", "\PhysicalDisk(_Total)\Disk Bytes/sec" -Frequency 10 -File "perfdata.blg" -Hours 24
Set-PerfMonitor -Name "PerfSet" -Counters "CPU", "DiskIO" -Interval 10 -Output "perfdata.blg" -Time 24h
logman create counter "PerfSet" -c "\Processor(_Total)\% Processor Time" "\PhysicalDisk(_Total)\Disk Bytes/sec" -si 10 -f bin -o "perfdata.blg" -max 1440
Reference: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/logman
You need to configure a 5-node cluster with a floating IP of 10.0.0.200 for a SQL Server FCI. What is the minimum number of IP addresses required?
7
5
4
6
You are securing a hybrid AD environment. You need to prevent users from reusing the last 10 passwords. Which Group Policy setting should you configure?
Minimum Password Age = 10 days
Maximum Password Age = 10 days
Password Must Meet Complexity = Enabled
Enforce Password History = 10
You are securing an Azure VM running Windows Server 2022 with Microsoft Defender for Endpoint. You need to block a specific executable (malware.exe) using a custom indicator of compromise (IoC). Which PowerShell cmdlet should you use?
New-MpPreference -ExclusionPath "C:\malware.exe"
Set-MpPreference -AttackSurfaceReductionRules_Ids "BlockExe"
Set-MpPreference -DisableRealtimeMonitoring $false -IoC "malware.exe"
Add-MpPreference -IndicatorOfCompromise "malware.exe" -Action Block
Reference: https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/indicator-file
You have a Storage Spaces Direct (S2D) cluster named Cluster2 with six nodes running Windows Server 2022. You need to create a 12 TB three-way mirror volume using 4 TB disks with ReFS and calculate the minimum number of disks required. Which PowerShell command should you use, and how many disks are needed?
8 disks; New-StoragePool -FriendlyName "S2D" -ResiliencySettingName ThreeWayMirror -Size 12TB
10 disks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem CSVFS_ReFS -MirrorLevel 3 - Size 12TB
9 disks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem ReFS -ResiliencySettingName Mirror -NumberOfDataCopies 3 -Size 12TB
12 disks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem ReFS -PhysicalDiskRedundancy 3 -Size 12TB
9 disks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem CSVFS_ReFS - ResiliencySettingName Mirror -Size 12TB
Reference: https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/plan-volumes
You manage a hybrid environment with an on-premises Windows Server 2022 domain controller and Azure AD Connect. You need to synchronize a custom AD DS attribute "departmentCode" to Azure AD as "extensionAttribute2" with a transformation rule that prepends "D-". Which two PowerShell commands should
you use?
New-ADSyncRule -Name "TransformDept" -SourceADAttribute "departmentCode" -TargetAttribute "extensionAttribute2" -ValueRule ' "D-" + [departmentCode]'
Set-ADSyncAttributeFlow -Source "departmentCode" -Target "extensionAttribute2" -Transformation ' "D-"
+ $source'
New-ADSyncRule -Name "TransformDept" -SourceADAttribute "departmentCode" -TargetAttribute "extensionAttribute2" -FlowType Expression -Expression ' "D-" + [departmentCode]'
Update-ADSyncSchema -Attribute "departmentCode" -MapTo "extensionAttribute2" -Prefix "D-"
Set-ADSyncConnector -Name "ADConn" -Attribute "departmentCode" -CustomValue "D-[departmentCode]"
You manage a Windows Server 2022 server with a failover cluster. You need to configure a File Share Witness on an Azure file share. Which command sets this up?
Set-ClusterQuorum -FileShareWitness "\storage.file.core.windows.net\share" -Credential $cred
New-ClusterWitness -Type FileShare -Path "\storage.file.core.windows.net\share"
Set-ClusterResource -Name "Witness" -Share "\storage.file.core.windows.net\share"
Add-ClusterQuorum -FileShare "\storage.file.core.windows.net\share" -Auth $cred
You have a Windows Server failover cluster with a Hyper-V VM named VM11. You need to configure VM11 for live migration with a maximum of 2 simultaneous migrations and Kerberos authentication. Which PowerShell command should you use?
Set-VMHost -VirtualMachineMigrationAuthenticationType Kerberos -MaximumVirtualMachineMigrations 2
Enable-VMMigration -VMName "VM11" -AuthType Kerberos -MaxMigrations 2
Set-VMCluster -Name "Cluster1" -LiveMigrationLimit 2 -Authentication "Kerberos"
Configure-VMLiveMigration -VMName "VM11" -Kerberos -ConcurrentMigrations 2
You have an Azure virtual machine named VM1 running Windows Server 2022 with Azure Arc enabled. You need to configure a custom script extension to execute a PowerShell script that modifies registry settings every time the VM restarts. The script must run with administrative privileges and log output to a file named "scriptlog.txt" in the C:\Logs directory. Which command should you use to deploy this extension?
Set-AzVMCustomScriptExtension -ResourceGroupName "RG1" -VMName "VM1" -Name "RegScript" - FileUri "https://storage.blob.core.windows.net/scripts/regscript.ps1" -RunAsAdmin -OutputPath "C:\Logs\scriptlog.txt"
New-AzVMExtension -ResourceGroupName "RG1" -VMName "VM1" -Name "RegScript" -Publisher "Microsoft.Compute" -ExtensionType "CustomScriptExtension" -TypeHandlerVersion "1.10" -Settings
@{"fileUris" = "https://storage.blob.core.windows.net/scripts/regscript.ps1"; "commandToExecute" = "powershell.exe -File regscript.ps1"}
Set-AzVMCustomScriptExtension -ResourceGroupName "RG1" -VMName "VM1" -Name "RegScript" - FileUri "https://storage.blob.core.windows.net/scripts/regscript.ps1" -Run "powershell.exe -ExecutionPolicy Unrestricted -File regscript.ps1 > C:\Logs\scriptlog.txt"
Invoke-AzVMRunCommand -ResourceGroupName "RG1" -VMName "VM1" -CommandId "RunPowerShellScript" -ScriptPath "regscript.ps1" -Parameter @{"LogPath" = "C:\Logs\scriptlog.txt"}
Reference: https://docs.microsoft.com/en-us/powershell/module/az.compute/set-azvmcustomscriptextension
To migrate 500 GB of data from an on-premises Windows Server 2019 to Azure Blob Storage using AzCopy, which command ensures the fastest transfer with MD5 checksum validation?
azcopy copy "C:\data\*" "https://mystorage.blob.core.windows.net/container" --md5-checksum
azcopy sync "C:\data" "https://mystorage.blob.core.windows.net/container" --validate-md5
azcopy cp "C:\data" "https://mystorage.blob.core.windows.net/container" --recursive --check-md5
azcopy transfer "C:\data" "https://mystorage.blob.core.windows.net/container" --recursive --md5
optimizing speed with parallel transfers. Sync is for synchronization, not one-time upload.
Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy
You manage a hybrid environment with an on-premises Windows Server 2022 failover cluster named Cluster1 synchronized with Azure AD . You need to configure Cluster1 to use Azure AD authentication for cluster management over a remote PowerShell session. Which command should you run on each cluster node to enable this?
Enable-PSRemoting -Force
Install-WindowsFeature -Name RSAT-AD-PowerShell
Set-Item -Path WSMan:\localhost\Client\Auth\AzureAD -Value $true
Set-PSSessionConfiguration -Name Microsoft.PowerShell -Authentication AzureAD
To troubleshoot a Windows Server 2022 VM in Azure with high CPU usage, which Event ID in the System log indicates a process exceeding 90% CPU for over 5 minutes?
Event ID 1001
Event ID 2004
Event ID 2031
Event ID 1074
Reference: https://docs.microsoft.com/en-us/windows-server/administration/windows-event-log
Your hybrid network includes an on-premises Windows Server 2022 server named SRV4. You need to deploy Azure Arc and configure it to use a custom proxy server at http://proxy1:8080 with NTLM authentication.
Which command should you run?
azcmagent config set proxy.url "http://proxy1:8080" --authentication NTLM
Connect-AzArcServer -Proxy "http://proxy1:8080" -AuthType "NTLM" -ResourceGroup "RG1"
azcmagent connect --proxy "http://proxy1:8080" --auth NTLM --resource-group "RG1" --tenant-id "tenant1"
Install-AzArcAgent -ProxyServer "http://proxy1:8080" -Authentication "NTLM"
You manage a Windows Server 2022 Hyper-V cluster with two nodes, HV1 and HV2, hosting a VM named VM1. You need to configure Hyper-V Replica to an Azure VM with a replication frequency of 30 seconds. VM1 has a 100 GB VHDX and generates 10 MB/s of write IOPS. Which setting must you configure to ensure replication succeeds?
Enable-VMReplication -VMName "VM1" -Destination "AzureVM1" -Frequency 30 -CompressionEnabled
Set-VMReplication -VMName "VM1" -ReplicationFrequencySec 30 -RecoveryHistory 2
Set-VMReplication -VMName "VM1" -ReplicationFrequencySec 30 -VSSSnapshotFrequency 1
Enable-VMReplication -VMName "VM1" -ReplicaServerName "AzureVM1" -ReplicationFrequencySec 30
You are configuring a Windows Server 2022 VM to use Azure Disk Encryption with a custom key encryption key (KEK) stored in Azure Key Vault. Which command enables this?
Enable-AzDiskEncryption -VMName "VM1" -KEK "https://vault.vault.azure.net/keys/KEK1"
Set-AzVMDiskEncryptionExtension -ResourceGroupName "RG1" -VMName "VM1" -KeyVaultUrl "https://vault.vault.azure.net" -KeyEncryptionKey "KEK1"
New-AzDiskEncryptionPolicy -KeyVault "vault" -KEKName "KEK1"
Set-AzVMEncryption -ResourceGroupName "RG1" -VMName "VM1" -KeyEncryptionKeyUrl "https://vault.vault.azure.net/keys/KEK1"
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-encryption-powershell
KILLEXAMS.COM
Killexams.com is a leading online platform specializing in high-quality certification exam preparation. Offering a robust suite of tools, including MCQs, practice tests, and advanced test engines, Killexams.com empowers candidates to excel in their certification exams. Discover the key features that make Killexams.com the go-to choice for exam success.
Killexams.com provides exam questions that are experienced in test centers. These questions are updated regularly to ensure they are up-to-date and relevant to the latest exam syllabus. By studying these questions, candidates can familiarize themselves with the content and format of the real exam.
Killexams.com offers exam MCQs in PDF format. These questions contain a comprehensive
collection of questions and answers that cover the exam topics. By using these MCQs, candidate can enhance their knowledge and improve their chances of success in the certification exam.
Killexams.com provides practice test through their desktop test engine and online test engine. These practice tests simulate the real exam environment and help candidates assess their readiness for the actual exam. The practice test cover a wide range of questions and enable candidates to identify their strengths and weaknesses.
Killexams.com offers a success guarantee with the exam MCQs. Killexams claim that by using this materials, candidates will pass their exams on the first attempt or they will get refund for the purchase price. This guarantee provides assurance and confidence to individuals preparing for certification exam.
Killexams.com regularly updates its question bank of MCQs to ensure that they are current and reflect the latest changes in the exam syllabus. This helps candidates stay up-to-date with the exam content and increases their chances of success.