Which command should you use?

You are implementing a new network. The network contains a DHCP server named DHCP1 that runs Windows Server 2016. DHCP1 contains a scope named Scope1 for the 192.168.0/24 subnet.
Your company has the following policy for allocating IP addresses:
All server addresses must be excluded from DHCP scopes. All client computer must receive IP addresses from Scope1. All Windows servers must have IP addresses in the range of 192.168.0.200 to 192.168.0.240.
All other network devices must have IP addresses in the range of 192.168.0.180 to 192.168.0.199.
You deploy a print device named Print1.
You need to ensure that Print1 adheres to the policy for allocating IP addresses. Which command should you use?
A. Add-DhcpServerv4Lease
B. Add-DhcpServerv4ExclusionRange
C. Add-DhcpServerv4Filter
D. Add-DhcpServerv4Reservation

microsoft-exams

2 thoughts on “Which command should you use?

  1. B is WRONG
    The Add-DhcpServerv4ExclusionRange cmdlet adds a range of excluded IP addresses for an IPv4 scope. The excluded IP addresses are not leased out by the Dynamic Host Configuration Protocol (DHCP) server service to any DHCP client. The only exception to this is reservation. If an IP address is reserved, then the same IP address will be leased to the designated client even if it falls within the exclusion range.
    D is WRONG
    Only because the question says “You need to ensure that Print1 adheres to the policy for allocating IP addresses.” and making a reservation is manual and NOT AN AUTOMATIC POLICY

    IT IS C – Filter
    “The Add-DhcpServerv4Filter cmdlet adds the specified MAC address filter to the Dynamic Host Configuration Protocol (DHCP) server service. The MAC address can be added to the allow list or the deny list.”

    https://docs.microsoft.com/en-us/powershell/module/dhcpserver/add-dhcpserverv4filter?view=winserver2012r2-ps

    Either you have the MAC address for the servers and put them in that server subnet that way and everything else goes to the other subnet. OR find out the MAC addresses for popular printers and put them in a Printer Subnet that way.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.