AZ-801 Dumps
AZ-801 Braindumps AZ-801 Real Questions AZ-801 Practice Test
AZ-801 Actual 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
troubleshooting a Windows Server 2022 VM in Azure that fails to boot after a disk encryption u ed to access the boot logs using Azure Serial Console. Which command should you enter after ac ecial Administration Console (SAC)?
ump
si 1
tcfg /scan
nce: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/serial-console-windo
Answe s = 30 You are pdate. You ne cessing the Sp cmd log d ch - boo launch other options Refere ws 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 ed to configure a 5-node cluster with a floating IP of 10.0.0.200 for a SQL Server FCI. What is t um number of IP addresses required? securing a hybrid AD environment. You need to prevent users from reusing the last 10 password Group Policy setting should you configure? imum Password Age = 10 days ximum Password Age = 10 days sword Must Meet Complexity = Enabled Questi You ne he minim 7 5 4 6 in an F You are s. Which Min Ma Pas 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 nce: https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/indicator-file ve a Storage Spaces Direct (S2D) cluster named Cluster2 with six nodes running Windows Server ed to create a 12 TB three-way mirror volume using 4 TB disks with ReFS and calculate the mini of disks required. Which PowerShell command should you use, and how many disks are needed? sks; New-StoragePool -FriendlyName "S2D" -ResiliencySettingName ThreeWayMirror -Size 12T isks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem CSVFS_ReFS -MirrorLev 2TB sks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem ReFS -ResiliencySettingNa -NumberOfDataCopies 3 -Size 12TB isks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem ReFS -PhysicalDiskRedun 12TB sks; New-Volume -StoragePoolFriendlyName "Cluster2" -FileSystem CSVFS_ReFS - ncySettingName Mirror -Size 12TB Expla crosoft Defend Refere You ha 2022. You ne mum number 8 di B 10 d el 3 - Size 1 9 di me Mirror 12 d dancy 3 -Size 9 di Resilie With 4 NumberOfDataCopies 3 and -FileSystem ReFS for S2D) Option A matches this requirement. 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]" anage a Windows Server 2022 server with a failover cluster. You need to configure a File Share W zure file share. Which command sets this up? ClusterQuorum -FileShareWitness "\storage.file.core.windows.net\share" -Credential $cred -ClusterWitness -Type FileShare -Path "\storage.file.core.windows.net\share" ClusterResource -Name "Witness" -Share "\storage.file.core.windows.net\share" d-ClusterQuorum -FileShare "\storage.file.core.windows.net\share" -Auth $cred Answer: C creates A lacks flow ty You m itness on an A Set- New Set- Ad file sha 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? AzVMCustomScriptExtension -ResourceGroupName "RG1" -VMName "VM1" -Name "RegScrip "https://storage.blob.core.windows.net/scripts/regscript.ps1" -RunAsAdmin -OutputPath gs\scriptlog.txt" -AzVMExtension -ResourceGroupName "RG1" -VMName "VM1" -Name "RegScript" -Publishe soft.Compute" -ExtensionType "CustomScriptExtension" -TypeHandlerVersion "1.10" -Settings eUris" = "https://storage.blob.core.windows.net/scripts/regscript.ps1"; "commandToExecute" = shell.exe -File regscript.ps1"} AzVMCustomScriptExtension -ResourceGroupName "RG1" -VMName "VM1" -Name "RegScrip "https://storage.blob.core.windows.net/scripts/regscript.ps1" -Run "powershell.exe -ExecutionPoli ricted -File regscript.ps1 > C:\Logs\scriptlog.txt" oke-AzVMRunCommand -ResourceGroupName "RG1" -VMName "VM1" -CommandId owerShellScript" -ScriptPath "regscript.ps1" -Parameter @{"LogPath" = "C:\Logs\scriptlog.txt"} M. The -Run parameter specifies the command to execute, and redirecting output with ">" ensur to "scriptlog.txt". The script runs with elevated privileges by default. Option C is invalid as - Admin and -OutputPath are not parameters of this cmdlet. Option D uses Invoke-AzVMRunCom is for one-time execution, not recurring on restart. nce: https://docs.microsoft.com/en-us/powershell/module/az.compute/set-azvmcustomscriptextensiExpla s * 600
Questi
Answe
Expla o
Question: 476
Answer: D
Explanation: The logman create counter command creates a data collector set, specifying counters, sample interval (seconds), binary file output, and maximum duration in minutes (1440 minutes = 24 hours). Option B uses correct syntax. Other options use invalid cmdlets or parameters.
on: 477
r: D
nation: 5 nodes = 5 IPs, 1 floating IP for SQL FCI = 6 total. The cluster IP is separate from the r CI setup.
on: 478
Answe
Expla ole IP
Questi
Answer: D
Explanation: Enforce Password History = 10 ensures users cannot reuse their last 10 passwords. Minimum/Maximum Password Age controls duration, not history, and complexity enforces character rules, not reuse prevention.
Question: 479
Answer: D
nation: Add-MpPreference with an IoC allows you to define and block specific executables in Mi er for Endpoint, ensuring precise control over malware mitigation.
on: 480
r: C
nation: A three-way mirror requires 3 copies, so 12 TB usable needs 36 TB raw capacity (12 TB x TB disks, 9 disks are required (36 TB / 4 TB). The correct command uses New-Volume with -
Questi
Answe
Expla 3).
Question: 481
nation: `New-ADSyncRule` with `-FlowType Expression` and `-Expression ' "D-" + [department a transformation rule to prepend "D-" to "departmentCode" and map it to "extensionAttribute2." pe, B/D/E use incorrect cmdlets or syntax.
on: 482
r: A
nation: Set-ClusterQuorum -FileShareWitness configures a file share witness with credentials for Azure res. Other commands are invalid or incorrect.
on: 483
Expla Code]'`
Questi
Answe Expla
Questi
Answer: A
Explanation: The Set-VMHost cmdlet configures live migration settings, including authentication type (Kerberos) and the maximum number of simultaneous migrations.
Question: 484
r: C
nation: The Set-AzVMCustomScriptExtension cmdlet is used to deploy a custom script extension
on: 485