mediumMultiple Choice
220-1102 Practice Question: A customer complains that their Windows 11 laptop…
A customer complains that their Windows 11 laptop cannot connect to the internet, but other devices on the same network work fine. You suspect the IP configuration is incorrect. Which command will release and renew the IP address from the DHCP server?
⚠ Common exam trap
The exam often tests the exact two-step sequence of `ipconfig /release` then `ipconfig /renew` as a required troubleshooting procedure, and the trap is that candidates may think a single command like `ipconfig /renew` alone is sufficient, or confuse it with other `ipconfig` subcommands like `/flushdns` or `/all`.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ipconfig /release then ipconfig /renew
The `ipconfig /release` command releases the current DHCP lease, setting the IP address to 0.0.0.0, and `ipconfig /renew` sends a DHCPDISCOVER broadcast to obtain a new IP configuration from the DHCP server. This is the correct sequence to resolve an incorrect IP configuration that prevents a Windows 11 client from connecting to the internet while other devices work fine.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ipconfig /flushdns
Why it's wrong here
This clears the DNS resolver cache, not the IP address lease.
- ✓
ipconfig /release then ipconfig /renew
Why this is correct
This sequence releases the current IP and obtains a new one from DHCP, directly addressing the connectivity issue.
- ✗
ipconfig /all
Why it's wrong here
This displays all IP configuration details but does not change anything.
- ✗
ping 127.0.0.1
Why it's wrong here
The loopback address tests the local TCP/IP stack and never contacts a DHCP server, so it cannot release or renew a lease; the adapter keeps its existing configuration. The correct commands are ipconfig /release followed by ipconfig /renew, which drop the current lease and request a new address — ping 127.0.0.1 is used to verify that the local stack is functioning.
Visual reference
Go deeper
Related to this question
Learn chapter
Network Topology Documentation
Key term
DHCP server
A DHCP server is a network device or service that automatically assigns IP addresses and other network configuration parameters to devices on a network, eliminating the need for manual configuration.
Key term
Windows 11
Windows 11 is Microsoft's latest desktop operating system, offering a redesigned interface, enhanced security features, and improved support for modern hardware.
About these practice questions
Courseiva writes every 220-1202 question from scratch — 687 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 220-1202 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1202 exam.