0
0
Computer Networksknowledge~20 mins

DHCP for automatic IP assignment in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
DHCP Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How DHCP assigns IP addresses

What is the main process by which a DHCP server assigns an IP address to a device on a network?

AThe device manually sets its IP and informs the DHCP server.
BThe device requests an IP and the DHCP server offers one from its pool, then the device accepts it.
CThe DHCP server assigns the same IP address to every device that connects.
DThe device randomly picks an IP and the DHCP server confirms if it is free.
Attempts:
2 left
💡 Hint

Think about how the device and server communicate to avoid IP conflicts.

📋 Factual
intermediate
2:00remaining
DHCP lease time purpose

What is the purpose of the DHCP lease time?

AIt is the time a device waits before requesting an IP again after disconnecting.
BIt sets the time the DHCP server waits before assigning an IP.
CIt defines how long a device can keep an assigned IP before it must renew or release it.
DIt controls how long the DHCP server stores device information permanently.
Attempts:
2 left
💡 Hint

Consider why IP addresses might need to be reused over time.

🔍 Analysis
advanced
2:00remaining
Troubleshooting DHCP IP conflicts

A network has two devices with the same IP address causing connection issues. Which DHCP-related cause is most likely?

AThe DHCP server's IP pool overlaps with manually assigned static IPs.
BThe DHCP server assigned the same IP twice by mistake.
CThe devices are using different DHCP servers on the same network.
DThe DHCP lease time is set too long.
Attempts:
2 left
💡 Hint

Think about how static IPs and DHCP pools can conflict.

Comparison
advanced
2:00remaining
Dynamic vs Static IP assignment

Which statement correctly compares dynamic IP assignment via DHCP and static IP assignment?

ADynamic IPs are always faster than static IPs in network communication.
BDynamic IPs require manual configuration; static IPs are assigned automatically.
CStatic IPs are assigned by DHCP servers; dynamic IPs are chosen by devices themselves.
DDynamic IPs change over time and are assigned automatically; static IPs are fixed and set manually.
Attempts:
2 left
💡 Hint

Consider how IP addresses are managed and assigned in each method.

Reasoning
expert
2:00remaining
Effect of DHCP server failure on a network

What is the most likely effect on devices trying to join a network if the DHCP server fails completely?

ANew devices cannot get IP addresses automatically and may fail to connect to the network.
BAll devices keep their IPs and continue working without any issues.
CDevices will automatically switch to static IPs assigned by the router.
DThe network will assign IPs randomly to devices without the DHCP server.
Attempts:
2 left
💡 Hint

Think about what role the DHCP server plays when devices first connect.