PrepAway - Latest Free Exam Questions & Answers

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 1 92.168.0.240All other network devices must have IP addresses in the range of 192.168.0.180 to 1 92.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?

PrepAway - Latest Free Exam Questions & Answers

A.
Add-DhcpServerv4Lease

B.
Add-DhcpServerv4ExclusionRange

C.
Add-DhcpServerv4Filter

D.
Add-DhcpServerv4Reservation

Explanation:

References: https://technet.microsoft.com/en-us/library/jj590721(v=wps.630).aspx

12 Comments on “Which command should you use?

  1. Pekah74 says:

    Provided answers are totally wrong…
    Add-DhcpServerv4Lease – no as no need to use in this case. Even more: “This cmdlet is for testing purposes only.” after: https://docs.microsoft.com/en-us/powershell/module/dhcpserver/add-dhcpserverv4lease?view=win10-ps
    Add-DhcpServerv4ExclusionRange – no as we are not asked to enforce whole company policy but only: “need to ensure that Print1 adheres to the policy”. Then the correct one is:
    D – Add-DhcpServerv4Reservation . As print device, not being a server will use DHCP and reservation done guards that its IP is always from allowed range.




    14



    0
  2. kutilek11 says:

    correction

    B is OK.
    exclude 192.168.0.180 to 1 92.168.0.199. from lease address
    Add-DhcpServerv4ExclusionRange
    this stop client from lease address from 192.168.0.180 to 1 92.168.0.199.

    next step
    on printer set static address from 192.168.0.180 to 1 92.168.0.199

    or Add-DhcpServerv4Reservation




    2



    0
  3. pablo says:

    Answer is D. Simply adding an exclusion ensures that no device gets an IP that is intended for the servers, but you are instructed to ensure that ‘other network devices’ (which aren’t clients) receive an IP in the range 192.168.0.180 to 1 92.168.0.199. The exclusion alone won’t do this. You need to create a reservation for these devices.




    2



    2
  4. nullbyte says:

    1. Create a DHCP scope with a range from 192.168.0.180 to 192.168.0.240
    2. Exclude 192.168.0.200 to 192.168.0.240 and statically assign IP addresses for servers from this range
    3. Any device connected to the network will then get an IP address from 192.168.0.180 – 192.168.0.199.

    Why the need for a reservation? Are you going to reserve IPs in DHCP for all devices that you plan to connect to the network? What’s the point of DHCP then if you have to manually create reservations prior to connecting them to the network? Wouldn’t it be easier to simply configure static IP addresses instead rather than checking the MACs and add reservations?

    I will go for B.




    0



    2

Leave a Reply