DHCP MCQ Quiz!

Reviewed by Samy Boulos
Samy Boulos, MSC, Computer Science |
Computer Expert
Review Board Member
With over 25 years of expertise, Samy is a seasoned Senior Technology Consultant. His extensive background spans diverse areas such as software development, data migration, Apple and Office 365 integration, computer helpdesk support, data engineering, and cloud computing. A dedicated professional, Samy combines technical proficiency with a strategic mindset, ensuring optimal solutions for complex technological challenges. His wealth of experience positions him as a reliable and knowledgeable consultant in navigating the ever-evolving landscape of IT and technology.
, MSC, Computer Science
Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Apalani
A
Apalani
Community Contributor
Quizzes Created: 17 | Total Attempts: 70,325
Questions: 25 | Attempts: 15,054

SettingsSettingsSettings
DHCP MCQ Quiz! - Quiz


How much do you know about DHCP? Did you know that DHCP stands for Dynamic Host Configuration Protocol? Take this DHCP MCQ quiz to check your knowledge. The DHCP is a system managing practice used on internet protocol of local area networks. It allows the server to distribute IP addressing and configuration information to clients. DHCP directs the provision of all the nodes or devices added or cut from the network. This quiz will explain to you what DHCP is and what it entails. Share the quiz with your friends and see how much they know about DHCP.


Questions and Answers
  • 1. 

    Which protocol will allow auto configuration across the network of IP addresses?

    • A.

      HDLC

    • B.

      PPP

    • C.

      SLIP

    • D.

      ARP

    Correct Answer
    B. PPP
    Explanation
    PPP (Point-to-Point Protocol) is a protocol that allows for the automatic configuration of IP addresses across a network. It is commonly used for establishing a direct connection between two devices, such as a computer and a modem. PPP supports various authentication methods and provides error detection and correction mechanisms, making it a reliable choice for network communication. HDLC (High-Level Data Link Control), SLIP (Serial Line Internet Protocol), and ARP (Address Resolution Protocol) are not specifically designed for auto configuration of IP addresses, making PPP the correct answer.

    Rate this question:

  • 2. 

    Allows gateways to send error and control messages to other gateways. This describes what protocol?

    • A.

      ICMP

    • B.

      IPv6

    • C.

      DHCP

    • D.

      IPv4

    Correct Answer
    A. ICMP
    Explanation
    ICMP (Internet Control Message Protocol) allows gateways to send error and control messages to other gateways. ICMP is responsible for reporting errors and providing diagnostic information related to IP packet processing. It is commonly used by network devices to communicate error messages, such as "destination unreachable" or "time exceeded," back to the source IP address. ICMP is an integral part of the Internet Protocol suite and plays a crucial role in network troubleshooting and management.

    Rate this question:

  • 3. 

    DHCP is used when a client sends a release message to terminate a lease early describes; what aspect of DHCP?

    • A.

      Lease expiration

    • B.

      Reboot

    • C.

      Address Release

    • D.

      DHCP Discover

    Correct Answer
    C. Address Release
    Explanation
    The given correct answer, "Address Release," describes the aspect of DHCP where a client sends a release message to terminate a lease early. This means that the client is relinquishing the assigned IP address before the lease duration expires. By releasing the address, it becomes available for reassignment to other clients in the DHCP pool.

    Rate this question:

  • 4. 

    How would a DHCP server respond to a client concerning errors?

    • A.

      DHCPOFFER

    • B.

      DHCPDECLINE

    • C.

      Destination unreachable

    • D.

      DHCPNAK

    Correct Answer
    D. DHCPNAK
    Explanation
    A DHCP server would respond to a client concerning errors by sending a DHCPNAK message. This message is used to inform the client that the requested IP address is no longer available or that there was an error in the DHCP request. The DHCPNAK message prompts the client to restart the DHCP negotiation process and request a new IP address.

    Rate this question:

  • 5. 

    How many times does a client attempt to renew its lease during the lease?

    • A.

      5

    • B.

      1

    • C.

      3

    • D.

      7

    Correct Answer
    C. 3
    Explanation
    A client typically attempts to renew its lease multiple times during the lease period to ensure they can continue occupying the property. This is because lease agreements usually have a fixed term, and the client needs to negotiate and renew the lease before it expires. Renewing the lease allows the client to extend their stay in the property and avoid the hassle of finding a new location. Therefore, the correct answer is 3, indicating that the client attempts to renew the lease three times during the lease period.

    Rate this question:

  • 6. 

    Which OSI layer provides services to the transport layer?

    • A.

      Network

    • B.

      Session

    • C.

      IP

    • D.

      TCP

    Correct Answer
    A. Network
    Explanation
    The network layer provides services to the transport layer in the OSI model. This layer is responsible for routing and forwarding data packets between different networks. It determines the most efficient path for data transmission and handles addressing, packet fragmentation, and error handling. By providing these services, the network layer ensures that data is properly delivered to the transport layer for further processing and transmission.

    Rate this question:

  • 7. 

    Which TCP/IP model layer does DHCP work at?

    • A.

      Internet

    • B.

      Session

    • C.

      Application

    • D.

      Transport

    Correct Answer
    C. Application
    Explanation
    DHCP (Dynamic Host Configuration Protocol) works at the Application layer of the TCP/IP model. This protocol is responsible for automatically assigning IP addresses, subnet masks, and other network configuration settings to devices on a network. The Application layer is the topmost layer of the TCP/IP model and is responsible for providing network services to applications. DHCP operates at this layer as it provides a service that allows devices to obtain the necessary network configuration information to communicate on the network.

    Rate this question:

  • 8. 

    What is at the top of the hierarchy tree of Domains?

    • A.

      .com

    • B.

      Root

    • C.

      .mil

    • D.

      .us

    Correct Answer
    B. Root
    Explanation
    The correct answer is "root." In the hierarchy tree of Domains, the root is at the top. The root is the highest level in the Domain Name System (DNS) hierarchy and represents the root zone. It is the starting point for navigating the DNS hierarchy and contains the top-level domains (TLDs) such as .com, .org, .net, etc. The root zone is managed by the Internet Assigned Numbers Authority (IANA) in collaboration with the Internet Corporation for Assigned Names and Numbers (ICANN).

    Rate this question:

  • 9. 

    What is the IP address pool available for lease to DHCP clients?

    • A.

      NAT

    • B.

      Scope

    • C.

      Lease options

    • D.

      IP address pool

    Correct Answer
    B. Scope
    Explanation
    The correct answer is "Scope". In the context of DHCP (Dynamic Host Configuration Protocol), a scope refers to a range of IP addresses that are available for lease to DHCP clients. When a client requests an IP address from the DHCP server, the server assigns an address from the scope to the client. The scope defines the pool of IP addresses that can be assigned to clients, ensuring that there are enough addresses available to meet the demand of the network.

    Rate this question:

  • 10. 

    What aspect of DHCP allows servers to manage multiple physical networks?

    • A.

      Renewal

    • B.

      Rebinding

    • C.

      Scopes

    • D.

      Relay agents

    Correct Answer
    D. Relay agents
    Explanation
    Relay agents in DHCP allow servers to manage multiple physical networks. Relay agents are devices or software that forward DHCP messages between clients and servers when they are not on the same network segment. They receive DHCP requests from clients on one network and then relay those requests to DHCP servers on another network. This enables DHCP servers to manage IP address allocation and configuration for clients across different physical networks, extending the reach and functionality of DHCP.

    Rate this question:

  • 11. 

    What is the second request called to extend the client lease?

    • A.

      Rebinding

    • B.

      DHCPDISCOVER

    • C.

      Renewing

    • D.

      Lease extension request

    Correct Answer
    A. Rebinding
    Explanation
    Rebinding is the term used to describe the second request made by a client to extend its lease with the DHCP server. After the initial lease expires, the client sends a DHCPREQUEST message to the server to request an extension. If the server does not respond, the client will then send a second request called a rebinding request to any available DHCP server in the network. This allows the client to obtain a renewed lease and continue using the IP address assigned to it.

    Rate this question:

  • 12. 

    How often do secondary servers do zone transfers?

    • A.

      Every 8 hours

    • B.

      Once a day

    • C.

      Upon bootup

    • D.

      Every 3 hours

    Correct Answer
    D. Every 3 hours
    Explanation
    Secondary servers perform zone transfers every 3 hours. Zone transfers are the process of copying the entire DNS database from the primary server to the secondary servers. By performing zone transfers every 3 hours, the secondary servers ensure that they have the most up-to-date information from the primary server. This frequency allows for timely updates and synchronization between the primary and secondary servers, ensuring efficient and reliable DNS resolution.

    Rate this question:

  • 13. 

    What service is DHCP an extension of?

    • A.

      TFTP

    • B.

      BOOTP

    • C.

      RARP

    • D.

      DNS

    Correct Answer
    B. BOOTP
    Explanation
    DHCP (Dynamic Host Configuration Protocol) is an extension of BOOTP (Bootstrap Protocol). BOOTP was the predecessor of DHCP and provided a way for a computer to obtain its IP address, subnet mask, and other network configuration information from a central server. DHCP builds upon this functionality by adding more features, such as dynamic allocation of IP addresses and automatic configuration of additional network parameters like DNS servers and default gateways. Therefore, DHCP is an extension of BOOTP.

    Rate this question:

  • 14. 

    What is the function of ARP?

    • A.

      Find the hardware address of destination.

    • B.

      Find the IP address of destination.

    • C.

      Find the hardware address of source.

    • D.

      Find the IP address of source.

    Correct Answer
    A. Find the hardware address of destination.
    Explanation
    ARP (Address Resolution Protocol) is a network protocol used to find the hardware address (MAC address) of a destination device on a local network. It is used when a device wants to send data to another device but only knows the IP address of the destination. By sending an ARP request, the device can obtain the MAC address of the destination, allowing it to properly address and send the data packet. Therefore, the function of ARP is to find the hardware address of the destination device.

    Rate this question:

  • 15. 

    Which layer determines the path of data based on the destination address?

    • A.

      Transport

    • B.

      Physical

    • C.

      Network

    • D.

      Application

    Correct Answer
    C. Network
    Explanation
    The network layer determines the path of data based on the destination address. This layer is responsible for routing and forwarding data packets from the source to the destination. It uses the destination address to make decisions about the best path for the data to travel through the network. The network layer also handles addressing, logical network topology, and network congestion control.

    Rate this question:

  • 16. 

    What happens to the IP address if the client has not received an extension?

    • A.

      DHCPOFFER is sent

    • B.

      DHCPNAK is sent from the server

    • C.

      The client drops the IP

    • D.

      DHCPDISCOVER is sent from the server

    Correct Answer
    C. The client drops the IP
    Explanation
    If the client has not received an extension, it means that the client's lease for the IP address has expired. In this case, the client will drop the IP address and will no longer use it. This means that the IP address will become available for allocation to another client.

    Rate this question:

  • 17. 

    What programs can be used to stop unauthorized use of DHCP Servers?

    • A.

      Active Directory

    • B.

      PPP

    • C.

      PGP

    • D.

      Cannot be done

    Correct Answer
    A. Active Directory
    Explanation
    Active Directory can be used to stop unauthorized use of DHCP Servers by implementing security measures such as DHCP server authorization. This feature allows only authorized DHCP servers to provide IP addresses on the network, preventing unauthorized servers from interfering with the DHCP service. By integrating DHCP with Active Directory, administrators can control and manage DHCP server access, ensuring that only trusted servers are allowed to operate on the network. This helps to enhance network security and prevent unauthorized use of DHCP servers.

    Rate this question:

  • 18. 

    A difference between DHCPv6 and DHCPv4 is?

    • A.

      When the client boots, a link-local address is used to communicate with the sever.

    • B.

      There is no requirement for BOOTP compatibility.

    • C.

      Default router can be obtained by clients.

    • D.

      All the above.

    Correct Answer
    D. All the above.
    Explanation
    The correct answer is "All the above." This is because all three statements mentioned in the question are true. In DHCPv6, when a client boots, a link-local address is used to communicate with the server. Additionally, there is no requirement for BOOTP compatibility in DHCPv6. Finally, clients can obtain the default router through DHCPv6. Therefore, all of the above statements are differences between DHCPv6 and DHCPv4.

    Rate this question:

  • 19. 

    Which DHCP request option fills in the client IP during the initial request? 

    • A.

      Yiaddr

    • B.

      Ciaddr

    • C.

      Giaddr

    • D.

      Xid

    Correct Answer
    A. Yiaddr
    Explanation
    The DHCP request option that fills in the client IP during the initial request is yiaddr. This option is used by the client to request and obtain an IP address from the DHCP server. The yiaddr field in the DHCP message is where the server assigns and fills in the client's IP address.

    Rate this question:

  • 20. 

    What can be used to protect one network from another untrusted?

    • A.

      Switch

    • B.

      PPP

    • C.

      DHCP

    • D.

      Firewall

    Correct Answer
    D. Firewall
    Explanation
    A firewall can be used to protect one network from another untrusted network by acting as a barrier between the two. It monitors and controls incoming and outgoing network traffic based on predetermined security rules. It can block unauthorized access attempts, filter out malicious traffic, and prevent data breaches. By implementing a firewall, organizations can establish a secure boundary between their trusted internal network and the untrusted external network, ensuring the safety and integrity of their data and systems.

    Rate this question:

  • 21. 

    Which DHCP request option fills in the relay agent's IP address?

    • A.

      Yiaddr

    • B.

      Ciaddr

    • C.

      Giaddr

    • D.

      Xid

    Correct Answer
    C. Giaddr
    Explanation
    The giaddr (gateway IP address) option in a DHCP request packet is used to fill in the relay agent's IP address. The relay agent is responsible for forwarding DHCP messages between clients and servers in different networks. The giaddr field is used by the relay agent to indicate its own IP address, allowing the DHCP server to determine the appropriate subnet and address pool for the client.

    Rate this question:

  • 22. 

    What is used for the first 24 bits of a hardware address?

    • A.

      IP address

    • B.

      Vendor Code

    • C.

      Serial number

    • D.

      Network portion

    Correct Answer
    B. Vendor Code
    Explanation
    The first 24 bits of a hardware address are used for the Vendor Code. This code identifies the manufacturer or vendor of the network device. It is a unique identifier assigned to each vendor and is used to differentiate between different hardware manufacturers in a network.

    Rate this question:

  • 23. 

    Who controls/configures DHCP servers?

    • A.

      Router software

    • B.

      Network administrators

    • C.

      Clients through DHCP options

    • D.

      Microsoft personnel

    Correct Answer
    B. Network administrators
    Explanation
    Network administrators are responsible for controlling and configuring DHCP servers. DHCP (Dynamic Host Configuration Protocol) is a network protocol that allows devices to automatically obtain IP addresses and other network configuration information. As DHCP servers play a crucial role in assigning and managing these IP addresses, it falls under the purview of network administrators to control and configure them. They are responsible for setting up DHCP scopes, managing IP address allocation, and ensuring smooth network operations.

    Rate this question:

  • 24. 

    What class of IP address is 131.0.255.15 255.255.255.0?

    • A.

      A

    • B.

      B

    • C.

      C

    • D.

      Private

    Correct Answer
    B. B
    Explanation
    The class of an IP address is determined by the range of the first octet. In the case of the IP address 131.0.255.15 with a subnet mask of 255.255.255.0, the first octet value is 131.

    The range for IP classes is as follows:
    - Class A: 1.0.0.0 to 126.0.0.0 (with a subnet mask of 255.0.0.0)
    - Class B: 128.0.0.0 to 191.255.0.0 (with a subnet mask of 255.255.0.0)
    - Class C: 192.0.0.0 to 223.255.255.0 (with a subnet mask of 255.255.255.0)

    So, the IP address 131.0.255.15 falls within Class B, based on the range of the first octet.

    Rate this question:

  • 25. 

    What is DHCP?

    • A.

      Creates IP pools to conserve address

    • B.

      Used to configure PCs over the network

    • C.

      Assigns configuration info dynamically

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    DHCP, which stands for Dynamic Host Configuration Protocol, is a network protocol that is used to assign IP addresses and other configuration information dynamically to devices on a network. It creates IP pools to conserve address space and efficiently manage the allocation of IP addresses. Additionally, DHCP is used to configure PCs over the network, allowing for centralized management and configuration of devices. Therefore, the correct answer is "All of the above" as all the statements mentioned are true for DHCP.

    Rate this question:

Samy Boulos |MSC, Computer Science |
Computer Expert
With over 25 years of expertise, Samy is a seasoned Senior Technology Consultant. His extensive background spans diverse areas such as software development, data migration, Apple and Office 365 integration, computer helpdesk support, data engineering, and cloud computing. A dedicated professional, Samy combines technical proficiency with a strategic mindset, ensuring optimal solutions for complex technological challenges. His wealth of experience positions him as a reliable and knowledgeable consultant in navigating the ever-evolving landscape of IT and technology.

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Feb 07, 2024
    Quiz Edited by
    ProProfs Editorial Team

    Expert Reviewed by
    Samy Boulos
  • Mar 08, 2011
    Quiz Created by
    Apalani
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.