PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

Your network contains an Active Directory domain named contoso.com. The domain contains two
member servers named Server1 and Server2.
You install the DHCP Server server role on Server1 and Server2. You install the IP Address
Management (IPAM) Server feature on Server1.
You notice that you cannot discover Server1 or Server2 in IPAM.
You need to ensure that you can use IPAM to discover the DHCP infrastructure.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose
two.)

PrepAway - Latest Free Exam Questions & Answers

A.
On Server2, create an IPv4 scope.

B.
On Server1, run the Add-IpamServerInventory cmdlet.

C.
On Server2, run the Add-DhcpServerInDc cmdlet

D.
On both Server1 and Server2, run the Add-DhcpServerv4Policy cmdlet.

E.
On Server1, uninstall the DHCP Server server role.

Explanation:
B)
The Add-IpamServerInventory cmdlet adds a new infrastructure server to the IP Address
Management (IPAM) server inventory. Use the fully qualified domain name (FQDN) of the server to
add to the server inventory.
C)

The Add-DhcpServerInDC cmdlet adds the computer running the DHCP server service to the list of
authorized Dynamic Host Configuration Protocol (DHCP) server services in the Active Directory (AD).
A DHCP server service running on a domain joined computer needs to be authorized in AD so that it
can start leasing IP addresses on the network.

Add-IpamServerInventory; Add-DhcpServerInDC

17 Comments on “Which two actions should you perform?

  1. Gary Trembath says:

    The IPAM server is intended as a single purpose server and should not be installed with other network infrastructure roles such as DNS or DHCP.
    You cannot install IPAM on a domain controller.

    If IPAM Server is running on a computer that is also running the DHCP Server role, discovery of DHCP servers on the network will be disabled.

    https://technet.microsoft.com/en-us/library/jj878315%28v=ws.11%29.aspx?f=255&MSPPError=-2147217396

    IPAM with DC = Not allowed
    IPAM with DNS = Not recommended, but allowed
    IPAM with DHCP = Not recommended, but allowed

    Answer, to enable DHCP discovery on your network run..

    Add-IpamServerInventory
    Add-DhcpServerInDc




    0



    0
    1. MancaMulas says:

      Don’t always trust the provided answers.

      As you stated in your post and it’s confirmed by Microsoft:
      “IPAM must be installed on a domain member computer. You cannot install IPAM on a domain controller. If IPAM is installed on the same server with DHCP, then DHCP server discovery will be disabled.”

      https://technet.microsoft.com/en-us/library/jj878312.aspx

      So in order to enable DHCP discovery you first have to uninstall the DHCP Server server role on server 1. Which makes E as the first correct answer.

      Then question doesn’t mention anything about configuring DHCP, we’re only told that it was installed. So, you need to configure DHCP in AD and authorize it, and to do that you need to run the Add-DhcpServerInDc cmdlet on server 2, making C the other correct answer.

      I’m not saying we don’t need B, but we’re only asked for 2 actions. B would be the next action, in my opinion.




      0



      0
        1. MancaMulas says:

          Hi Gary!

          I still think answers are C and E.

          Question says:”You need to ensure that you can use IPAM to discover the DHCP infrastructure.”

          “You need to ensure that you can use IPAM to discover the DHCP infrastructure.”

          From Microsoft:

          “If the DHCP server role is installed on the same server with IPAM, DHCP servers will not be discovered on the network.”

          and

          “IPAM discovers DHCP servers that are authorized in the Active Directory domains you specify and that respond to a DHCPInform message.”

          Taken from here: https://technet.microsoft.com/en-us/library/jj878313.aspx

          You need to uninstall DHCP role from the server otherwise i don’t think you’ll be able to discover DHCP infrastructure like we’re asked.




          0



          0
          1. Gary Trembath says:

            I feel you pain, i do! lets not go to deep on this as we only need 700 to pass.

            so.

            We know from the question that DHCP is installed on Server 1 and Server 2
            if you need to uninstall DHCP from Server1 before it works, would you also need to uninstall DHCP from server 2 aswel?

            the question asks, which two action do you need to preform and not, which action should you preform first?

            Then again, do you need to run the Add-DhcpServerInDc command on server 1 and server 2 so they are both authorized.

            I know:

            On server 1 (Ipam Server) run Add-IpamServerInventory -ServerType DHCP to tell IPAM a DHCP server is present

            On Server 2 (DHCP Server) run Add-DhcpServerInDc to authorize the server in AD,

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

            OK – so you said
            “IPAM discovers DHCP servers that are authorized in the Active Directory domains you specify and that respond to a DHCPInform message.”

            If you uninstall DHCP, reboot and Re-Install DHCP, is it authorized in DHCP?

            for IPAM to discover DHCP it need to be authorised, not uninstalled and reinstalled, if you did that you still need to authorise

            Have i convinced you?




            0



            1
  2. Mohammed Al-shatri says:

    It is A and E

    Problem: A DHCP server is not discovered.

    Solution: Verify that the DHCP server role is not installed on the IPAM server. Verify that at least one IPv4 scope is configured on a DHCP server, and that the IPAM server has a TCP/IP connection to the DHCP server. Also verify that DHCP INFORM request messages sent by IPAM server are not filtered on the network.

    https://technet.microsoft.com/en-us/library/jj878309.aspx#discovery




    0



    0
  3. Franc says:

    Answer C excludes answer B. If you need to authorize server 2 you also need to authorize server 1. So can’t be B and C;

    Answer B is wrong as we need to DISCOVER, not ADD the DHCP infrastructure;

    Answer D is wrong as it add a policy to a DHCP Scope or server. Not what we want;

    Answer E is correct because when DHCP is installed on IPAM server, we don’t have discovery;

    Answer A is correct as DHCP is installed, nothing said about configured.

    Hope this helps.




    0



    0
    1. kyo says:

      Great link provided by Mohmamed. The answer is most definitely A and E.

      1) The DHCP role must NOT be installed on the IPAM server or else it will not discover it
      2) The DHCP server must have AT LEAST 1 scope configured




      1



      0
  4. alex says:

    B&C are correct and i tested it:
    1.the add-ipamserverinventory is the cmdlet which adds a new server – server2 as a new DHCP server in ipam,can also be done in the UI by adding a server from tasks.
    2.Add-dhcpserverindc authorizes the DHCP server – server 2,can also be done by right clicking the servers name in the DHCP console and click “authorize”
    3.Server 1 cannot be both a DHCP AND IPAM server,but you don’t have to unisntall DHCP from it-you will need to reinstall IPAM afterwards anyway,and since you will be left with only server 2 to manage anyway you might as well leave it,iv’e tried to add server 1 same way as server 2 but it remained blocked as a DHCP server,server 2 on the other hand wasnt,which leads me to the conclusion that B&C are the right answers-
    you will only have 1 DHCP server you will need to discover,so no need to uninstall DHCP from server 1,you just have to register server 2 in DC1 and add it to the ipam inventory,so the answers B&C are correct,uninstalling DHCP from server 1 is pointless and only further complicates efforts,B&C!




    0



    0

Leave a Reply