nerdexam
Microsoft

AZ-801 · Question #80

Server3 contains a share named Share1. On Server1, DHCP has the following configurations: - Conflict detection attempts: 3 - An IPv4 scope named Scope1 that has the following settings: 1. Address…

The correct answer is A. Yes. When using Export-DhcpServer and Import-DhcpServer cmdlets, global server-level settings like conflict detection attempts are included in the export and will be imported to the new server.

Migrate servers and workloads

Question

Server3 contains a share named Share1. On Server1, DHCP has the following configurations: - Conflict detection attempts: 3 - An IPv4 scope named Scope1 that has the following settings: 1. Address Pool: 172.16.10.100 - 172.16.10.130 2. Access Leases: - 172.16.10.100 computer1.contoso.com - 172.16.10.101 computer2.contoso.com - Reservations: 172.16.10.101 computer2.contoso.com - Policies: Policy1 You perform the following actions: - On Server1, you run Export-DhcpServer -File \Server3\Share1\File1.xml. - On Server2, you run Import-DhcpServer -File \Server3\Share1\File1.xml -BackupPath \Server3\Share1. For each of the following statements, select Yes if the statement is true. Otherwise, select No. On Server2, Conflict detection attempts is set to 3.

Options

  • AYes
  • BNo

How the community answered

(30 responses)
  • A
    93% (28)
  • B
    7% (2)

Why each option

When using Export-DhcpServer and Import-DhcpServer cmdlets, global server-level settings like conflict detection attempts are included in the export and will be imported to the new server.

AYesCorrect

The Export-DhcpServer cmdlet exports the entire DHCP server configuration, which includes server-level settings like "Conflict detection attempts," along with scopes, reservations, and policies. When Import-DhcpServer is run on Server2, it imports all these configurations from the exported XML file. Therefore, Server2 will have its "Conflict detection attempts" set to 3, matching Server1's configuration.

BNo

This statement is incorrect because the Import-DhcpServer cmdlet imports all server-level settings, including conflict detection attempts, from the exported XML file.

Concept tested: DHCP server configuration export/import

Source: https://learn.microsoft.com/en-us/powershell/module/dhcpserver/export-dhcpserver

Topics

#DHCP#PowerShell#Server Migration#Configuration Management

Community Discussion

No community discussion yet for this question.

Full AZ-801 Practice