0% found this document useful (0 votes)
7 views

Lab answer key - Implementing and configuring network infrastructure services in Windows Server

The document outlines exercises for deploying and configuring DHCP and DNS services in a Windows Server environment. It includes detailed steps for installing roles, authorizing servers, creating scopes, configuring failover, and verifying functionality for DHCP, as well as creating DNS zones and records. An interactive lab simulation is also mentioned for hands-on practice with the concepts presented.

Uploaded by

azsgenie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Lab answer key - Implementing and configuring network infrastructure services in Windows Server

The document outlines exercises for deploying and configuring DHCP and DNS services in a Windows Server environment. It includes detailed steps for installing roles, authorizing servers, creating scopes, configuring failover, and verifying functionality for DHCP, as well as creating DNS zones and records. An interactive lab simulation is also mentioned for hands-on practice with the concepts presented.

Uploaded by

azsgenie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

Exercise 1:
Lab answer key: Implementing and configuring
Deploying and
configuring
DHCP
network infrastructure services in Windows
Exercise 2: Server
Deploying and
configuring DNS Note: An interactive lab simulation is available that allows you to click through this lab at your own pace. You
may find slight differences between the interactive simulation and the hosted lab, but the core concepts and
ideas being demonstrated are the same.

Exercise 1: Deploying and configuring DHCP

Task 1: Install the DHCP role

1. Connect to SEA-ADM1, and then, if needed, sign in as CONTOSO\Administrator with a password of


Pa55w.rd.

2. On SEA-ADM1, select Start, and then select Windows PowerShell (Admin).

❕ Note: Perform the next two steps in case you have not already installed Windows Admin Center on SEA-ADM1.

3. In the Windows PowerShell console, enter the following command, and then press Enter to download the
latest version of Windows Admin Center:

Code  Copy

Start-BitsTransfer -Source https://aka.ms/WACDownload -Destination


"$env:USERPROFILE\Downloads\WindowsAdminCenter.msi"

4. Enter the following command, and then press Enter to install Windows Admin Center:

Code  Copy

Start-Process msiexec.exe -Wait -ArgumentList "/i


$env:USERPROFILE\Downloads\WindowsAdminCenter.msi /qn /L*v log.txt
REGISTRY_REDIRECT_PORT_80=1 SME_PORT=443 SSL_CERTIFICATE_OPTION=generate"

❕ Note: Wait until the installation completes. This should take about 2 minutes.

5. On SEA-ADM1, start Microsoft Edge, and then browse to https://SEA-ADM1.contoso.com .

❕ Note: If the link does not work, on SEA-ADM1, open File Explorer, select Downloads folder, in the Downloads folder
select WindowsAdminCenter.msi file and install manually. After the install completes, refresh Microsoft Edge.

❕ Note: If you get NET::ERR_CERT_DATE_INVALID error, select Advanced on the Edge browser page, at the bottom
of page select Continue to sea-adm1-contoso.com (unsafe).

6. If prompted, in the Windows Security dialog box, enter the following credentials, and then select OK:

Username: CONTOSO\Administrator
Password: Pa55w.rd
7. In the All connections pane, select + Add.

https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 1/7


2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

8. In the Add or create resources pane, on the Servers tile, select Add.
9. In the Server name text box, enter sea-svr1.contoso.com.

10. Ensure that Use another account for this connection option is selected, enter the following credentials,
and then select Add with credentials:

Username: CONTOSO\Administrator
Password: Pa55w.rd

❕ Note: To perform single sign-on, you would need to set up a Kerberos constrained delegation.

11. On the sea-svr1.contoso.com page, in the Tools list, select Roles & features.
12. In the Roles and features pane, select the DHCP Server checkbox, and then select + Install.

13. In the Install Roles and Features pane, select Yes.

❕ Note: Wait until the notification indicating that the DHCP role is installed. If necessary, select the Notifications icon
to verify the current status.

14. Refresh the Microsoft Edge page back on the sea-svr1.contoso.com page, in the Tools list, select DHCP,
and then, in the details pane, select Install to install the DHCP PowerShell tools.

❕ Note: If the DHCP entry is not available in the Tools list for sea-svr1.contoso.com, refresh the Microsoft Edge
page and try again. Depending on your network performance, it may take upto 5 minutes for the DHCP server to
appear.

15. Wait for a notification that the DHCP PowerShell tools are installed. If necessary, select the Notifications
icon to verify the current status.

Task 2: Authorize the DHCP server

1. On SEA-ADM1, select Start, and then select Server Manager.


2. In Server Manager, select Notifications in the menu, and then select Complete DHCP configuration.
3. In the DHCP Post-Install configuration wizard window, on the Description screen, select Next.
4. On the Authorization screen, ensure that the CONTOSO\Administrator option is selected, and then
select Commit.
5. When you complete both tasks, select Close.

Task 3: Create a scope

1. On SEA-ADM1, switch to Windows Admin Center in the Microsoft Edge window displaying the DHCP
settings on SEA-SVR1.

❕ Note: It might take a few minutes for the DHCP option to appear in the menu. If necessary, refresh the connection
to sea-svr1. If prompted to install the DHCP Powershell tools, select Install.

2. On the DHCP page, select + New scope.

3. In the Create a new scope pane, specify the following settings, and then select Create.

Protocol: IPv4
Name: ContosoClients
Starting IP address: 10.100.150.50
Ending IP address: 10.100.150.254
DHCP client subnet mask: 255.255.255.0
Router (default gateway): 10.100.150.1
Lease duration for DHCP clients: 4 days

https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 2/7


2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

4. On SEA-ADM1, switch to Server Manager, in Server Manager, select Tools, and then select DHCP.
5. In the DHCP window, in the Actions pane, select More Actions, and then select Manage Authorized
Servers.
6. In the Manage Authorized Servers window, select Refresh, ensure that sea-svr1.contoso.com appears in
the list of authorized DHCP servers, and then close the Manage Authorized Servers window.
7. In the DHCP window, in the Actions pane, select More Actions, and then select Add Server.
8. In the Add Server dialog box, select This authorized DHCP server, select sea-svr1.contoso.com, and
then select OK.
9. In the DHCP window, expand sea-svr1 **, expand **IPv4, expand Scope [10.100.150.0] ContosoClients,
and then select Scope Options.
10. In the Actions pane, select More Actions, and then select Configure Options.
11. In the Scope Options dialog box, select the 006 DNS Servers checkbox.
12. In the Server name text box, enter sea-dc1.contoso.com, select Resolve, verify that the name resolves to
172.16.10.10, select Add, and then select OK.

Task 4: Configure DHCP Failover

1. On SEA-ADM1, in the DHCP window, select IPv4, in the Actions pane, select More Actions, and then
select Configure Failover.
2. In the Configure Failover window, verify that the Select all checkbox is selected, and then select Next.
3. On the Specify the partner server to use for failover screen, select Add Server.
4. In the Add Server dialog box, select This authorized DHCP server, select sea-dc1.contoso.com, and then
select OK.
5. Back on the Specify the partner server to use for failover screen, ensure that sea-dc1 appears in the
Partner Server drop-down list, and then select Next.

6. On the Create a new failover relationship screen, enter the following information, and then select Next.

Relationship Name: SEA-SVR1 to SEA-DC1


Maximum Client Lead Time: 1 hour
Mode: Hot standby
Role of Partner Server: Standby
Addresses reserved for standby server: 5%
State Switchover Interval: Disabled
Enable Message Authentication: Enabled
Shared Secret: DHCP-Failover
7. Select Finish.
8. In the Configure Failover dialog box, select Close.
9. In the DHCP window, in the Actions pane, select More Actions, and then select Add Server.
10. In the Add Server dialog box, select This authorized DHCP server, select sea-dc1.contoso.com, and then
select OK.
11. On SEA-ADM1, in the DHCP window, expand the sea-dc1 node, select IPv4, and then verify that two
scopes are listed.
12. Select Scope [172.16.0.0] Contoso, in the Actions pane, select More Actions, and then select Configure
Failover.
13. In the Configure Failover window, select Next.
14. On the Specify the partner server to use for failover screen, in the Partner Server box, enter
172.16.10.12, select the Reuse existing failover relationships configured with this server (if any exist)
checkbox, and then select Next.
15. On the Select from failover relationships which are already configured on this server screen, select
Next, and then select Finish.
16. In the Configure Failover dialog box, select Close.
17. Under sea-svr1 **, select **IPv4, and then verify that both scopes are listed. If necessary, press the F5 key
to refresh.

Task 5: Verify DHCP functionality

1. On SEA-ADM1, select Start, and then select Settings.


2. In the Settings window, select Network & Internet, and then select Network and Sharing Center.
3. In Network and Sharing Center, select Ethernet, and then select Properties.
https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 3/7
2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

4. In the Ethernet Properties dialog box, select Internet Protocol Version 4 (TCP/IPv4), and then select
Properties.
5. In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, select Obtain an IP address
automatically, select Obtain DNS server address automatically, and then select OK.
6. Select Close, and then, in the Ethernet Status window, select Details.
7. In the Network Connection Details dialog box, verify that DHCP is enabled, an IP address was obtained,
and that the **sea-svr1 ** DHCP server issued the lease.
8. Select Close to return to the Ethernet Status window.
9. On SEA-ADM1, in the DHCP window, expand the 172.16.10.12 node, expand the IPv4 node, expand the
Scope [172.16.0.0] Contoso node, and then select Address Leases.
10. Verify that there is an entry representing the SEA-ADM1.contoso.com lease.
11. On SEA-ADM1, in the DHCP window, expand the sea-dc1 node, expand the IPv4 node, expand the Scope
[172.16.0.0] Contoso node, and then select Address Leases.
12. Verify that here as well there is an entry representing the SEA-ADM1.contoso.com lease.
13. Select sea-svr1 **, in the Actions pane, select **More Actions, select All tasks, and then select Stop.
14. On SEA-ADM1, switch back to the Ethernet Status window, and then select Disable.
15. Back in the Network and Sharing Center window, select Change adapter settings, select Ethernet, and
then select Enable this network device.
16. Double-click the enabled Ethernet connection to display its status window.
17. In the Ethernet Status window, select Details.
18. In the Network Connection Details dialog box, verify that DHCP is enabled, an IP address was obtained,
and that the SEA-DC1 (172.16.10.10) DHCP server issued the lease.
19. Select Close to return to the Ethernet Status window.
20. In the Ethernet Status window, select Properties.
21. In the Ethernet Properties dialog box, select Internet Protocol Version 4 (TCP/IPv4), and then select
Properties.

22. In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, select Use the following IP
address and specify the following settings:

IP address: 172.16.10.11
Subnet mask: 255.255.0.0
Default gateway: 172.16.10.1

23. In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, select Use the following DNS
server addresses, set the Preferred DNS server to 172.16.10.10, and then select OK.

❕ Note: Leave the Ethernet Status window open. You will need it later in this lab.

Exercise 2: Deploying and configuring DNS

Task 1: Install the DNS role

1. On SEA-ADM1, switch back to the Microsoft Edge window displaying the connection to sea-
svr1.contoso.com in Windows Admin Center.
2. In the Tools list, select Roles & features.
3. In the Roles and features pane, select the DNS Server checkbox, and then select + Install.

4. In the Install Roles and Features pane, select Yes.

❕ Note: Wait until the notification indicating that the DNS role is installed. If necessary, select the Notifications icon
to verify the current status.

5. Refresh the Microsoft Edge page, back on the sea-svr1.contoso.com page, in the Tools list, select DNS,
and then on the details pane, select Install to install the DNS PowerShell tools.

https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 4/7


2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

❕ Note: If the DNS entry is not available in the Tools list for sea-svr1.contoso.com, refresh the Microsoft Edge page
and try again.

6. Wait until a notification appears indicating that the DNS PowerShell tools are installed. If necessary, select
the Notifications icon to verify the current status.

Task 2: Create a DNS zone

1. On SEA-ADM1, in Windows Admin Center, in the DNS pane, select Actions and, on the Actions menu,
select + Create a new DNS zone.

2. In the Create a new DNS zone dialog box, specify the following settings, and then select Create:

Zone type: Primary


Zone name: TreyResearch.net
Zone file: Create a new file
Zone file name: TreyResearch.net.dns
Dynamic update: Do not allow dynamic update
3. Back in the DNS pane, select TreyResearch.net, and then select + Create a new DNS record.

4. In the Create a new DNS record pane, specify the following settings, and then select Create:

DNS record type: Host (A)


Record name: TestApp
IP address: 172.30.99.234
Time to live: 600
5. On SEA-ADM1, select Start, and then select Windows PowerShell.

6. In the Windows PowerShell console, enter the following command, and then press Enter to validate that
the new DNS record provides the name resolution:

Code  Copy

Resolve-DnsName -Server sea-svr1.contoso.com -Name testapp.treyresearch.net

Task 3: Configure forwarding

1. On SEA-ADM1, switch to Server Manager.


2. In Server Manager, select Tools, and then select DNS.
3. In DNS Manager, select DNS, display its context-sensitive menu, and then, in the menu, select Connect to
DNS Server.
4. In the Connect to DNS Server dialog box, select The following computer, enter SEA-
SVR1.contoso.com, and then select OK.
5. In DNS Manager, select SEA-SVR1.contoso.com, display its context-sensitive menu, and then select
Properties.
6. In the SEA-SVR1.contoso.com Properties dialog box, select the Forwarders tab, and then select Edit.
7. In the Edit Forwarders dialog box, in the IP addresses for forwarding servers box, enter 131.107.0.100,
and then select OK.
8. In the SEA-SVR1.contoso.com Properties dialog box, select OK.

Task 4: Configure conditional forwarding

1. On SEA-ADM1, in DNS Manager, expand SEA-SVR1.contoso.com, and then select Conditional


Forwarders.
2. Select Conditional Forwarders, display its context-sensitive menu, and then, in the menu, select New
Conditional Forwarder.
3. In the New Conditional Forwarder dialog box, in the DNS Domain box, enter Contoso.com.

4. In the IP addresses of the master servers box, enter 172.16.10.10, and then select Enter.

https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 5/7


2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

❕ Note: Disregard the message An unknown error occurred in the validation column within the New Conditional
Forwarder dialog box.

5. Select OK.
6. On SEA-ADM1, switch to the Windows PowerShell console.

7. In the Windows PowerShell console, enter the following command, and then press Enter to validate
conditional forwarding:

Code  Copy

Resolve-DnsName -Server sea-svr1.contoso.com -Name sea-dc1.contoso.com

Task 5: Configure DNS policies

1. On SEA-ADM1, switch back to the Microsoft Edge window displaying the connection to sea-
svr1.contoso.com in Windows Admin Center.
2. In the Tools list, select PowerShell, and when prompted, sign in as the CONTOSO\Administrator user
with Pa55w.rd as its password.

3. In the Windows PowerShell console, enter the following command, and then press Enter to create a head
office subnet:

Code  Copy

Add-DnsServerClientSubnet -Name "HeadOfficeSubnet" -IPv4Subnet '172.16.10.0/24'

4. Enter the following command, and then press Enter to create a zone scope for head office:

Code  Copy

Add-DnsServerZoneScope -ZoneName 'TreyResearch.net' -Name 'HeadOfficeScope'

5. Enter the following command, and then press Enter to add a new resource record for the head office scope:

Code  Copy

Add-DnsServerResourceRecord -ZoneName 'TreyResearch.net' -A -Name 'testapp' -IPv4Address


'172.30.99.100' -ZoneScope 'HeadOfficeScope'

6. Enter the following command, and then press Enter to create a new policy that links the head office subnet
and the zone scope:

Code  Copy

Add-DnsServerQueryResolutionPolicy -Name 'HeadOfficePolicy' -Action ALLOW -ClientSubnet


'eq,HeadOfficeSubnet' -ZoneScope 'HeadOfficeScope,1' -ZoneName 'TreyResearch.net'

Task 6: Verify DNS policy functionality

1. On SEA-ADM1, switch to the Windows PowerShell console.

2. In the Windows PowerShell console, enter ipconfig , and then press Enter to display its current IP
configuration.

❕ Note: Note that the Ethernet adapter has an IP address that is part of the HeadOfficeSubnet configured in the
policy.

https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 6/7


2/12/25, 11:43 AM AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

3. In the Windows PowerShell console, enter the following command, and then press Enter to test the
resolution of the testapp.treyresearch.net DNS record:

Code  Copy

Resolve-DnsName -Server sea-svr1.contoso.com -Name testapp.treyresearch.net

❕ Note: Verify that the name resolves to the IP address 172.30.99.100 that was configured in the HeadOfficePolicy.

4. On SEA-ADM1, switch back to the Ethernet Status window.


5. In the Ethernet Status window, select Properties.
6. In the Ethernet Properties dialog box, select Internet Protocol Version 4 (TCP/IPv4), and then select
Properties.
7. In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, change the currently assigned IP
address (172.16.10.11) to an IP address 172.16.11.11 that is not within the IP address range of the
HeadOfficeSubnet, and then select OK.
8. On SEA-ADM1, switch to the Windows PowerShell console.

9. In the Windows PowerShell console, enter the following command, and then press Enter to test the
resolution of the testapp.treyresearch.net DNS record:

Code  Copy

Resolve-DnsName -Server sea-svr1.contoso.com -Name testapp.treyresearch.net

❕ Note: Verify that the name resolves to 172.30.99.234. This is expected, because the IP address of SEA-ADM1 is no
longer within the HeadOfficeSubnet. DNS queries originating from the HeadOfficeSubnet of (172.16.10.0/24)
targeting testapp.treyresearch.net resolve to 172.30.99.100. DNS queries from outside of this subnet

targeting testapp.treyresearch.net resolve to 172.30.99.234.

❕ Note: Now change the IP address of SEA-ADM1 back to its original value.

10. Switch back to the Ethernet Status window and select Properties.
11. In the Ethernet Properties dialog box, select Internet Protocol Version 4 (TCP/IPv4), and then select
Properties.
12. In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, change the currently assigned IP
address (172.16.11.11) to its original value (172.16.10.11) and select OK.
13. Select Close twice.
14. Close all open windows.

https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/Instructions/Labs/LAB_AK_07_Implementing_and_configuring_network_infrastructure_services_in_Windows Serv… 7/7

You might also like