- A
The DHCP server is not assigning a default gateway.
Why wrong: If the default gateway were missing, internet access would fail, but the user can access the internet.
- B
The subnet mask is incorrect.
Why wrong: An incorrect subnet mask would likely cause both local and internet connectivity issues, not just name resolution.
- C
The DNS server is not resolving local hostnames.
Since IP pings work but hostname pings fail, the DNS server is not providing the correct A record for the file server, causing the resolution failure.
- D
The file server has a firewall blocking ICMP.
Why wrong: If the firewall blocked ICMP, pinging by IP would also fail, but the technician succeeded with an IP ping.
Why Can I Ping by IP but Not Hostname?
This 220-1201 practice question tests your understanding of network configuration concepts. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A user complains that their desktop computer cannot connect to any network shares, but they can access the internet. The technician pings the file server by IP address successfully, but pinging by hostname fails. Which network configuration issue is most likely causing this problem?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"most likely"Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Quick Answer
The answer is a DNS server not resolving local hostnames. This is correct because when you can ping a file server by its IP address but not by its hostname, the network connectivity is intact, but the name-to-IP translation mechanism is broken. DNS is the service responsible for that translation, so a failure to resolve local hostnames points directly to a DNS configuration or record issue. On the CompTIA A+ Core 1 220-1201 exam, this scenario tests your understanding of the OSI model’s application layer and the difference between IP-based and name-based connectivity. A common trap is to suspect a firewall or gateway problem, but since internet access works and IP pings succeed, the issue is isolated to name resolution. Remember the memory tip: “If IP works but names don’t, DNS is what you won’t.”
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
The DNS server is not resolving local hostnames.
The user can access the internet (which relies on external DNS resolution) and can ping the file server by IP address, but cannot ping by hostname. This indicates that the local DNS server is failing to resolve the file server's hostname to its IP address. Since the user can reach the internet, the default gateway and subnet mask are likely correct, and the file server's firewall is not blocking ICMP because the IP-based ping succeeds.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The DHCP server is not assigning a default gateway.
Why it's wrong here
If the default gateway were missing, internet access would fail, but the user can access the internet.
- ✗
The subnet mask is incorrect.
Why it's wrong here
An incorrect subnet mask would likely cause both local and internet connectivity issues, not just name resolution.
- ✓
The DNS server is not resolving local hostnames.
Why this is correct
Since IP pings work but hostname pings fail, the DNS server is not providing the correct A record for the file server, causing the resolution failure.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
The file server has a firewall blocking ICMP.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may assume a firewall is blocking ICMP (Option D) because they see a ping failure, but the successful ping by IP proves the firewall is not the issue, and the real problem is DNS resolution for local hostnames.
Detailed technical explanation
How to think about this question
DNS resolution for local hostnames often relies on a local DNS server or a hosts file; if the DNS server is misconfigured or does not have the appropriate A or PTR records for internal hosts, name resolution fails while external DNS queries (e.g., for internet access) may still work if forwarded to external resolvers. The `nslookup` or `dig` command can be used to isolate whether the failure is at the DNS server level versus a client-side caching issue. In enterprise environments, split-DNS configurations are common, where internal hostnames are resolved by an internal DNS server that may be separate from the internet-facing resolver.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A network engineer segments a warehouse floor into three subnets: 20 scanners, 5 printers, and 2 management hosts. Picking the wrong mask wastes addresses or leaves too few usable hosts. Exam questions test whether you can apply CIDR notation, calculate block size, and identify the correct usable-host range for a given prefix.
Visual reference
Quick reference
IPv4 Address Class Summary
| Class | First Octet Range | Default Mask | Networks | Hosts per Network |
|---|---|---|---|---|
| A | 1–126 | /8 (255.0.0.0) | 126 | 16,777,214 |
| B | 128–191 | /16 (255.255.0.0) | 16,384 | 65,534 |
| C | 192–223 | /24 (255.255.255.0) | 2,097,152 | 254 |
| D | 224–239 | N/A | Multicast groups | — |
| E | 240–255 | N/A | Reserved / experimental | — |
127.x.x.x is reserved for loopback. Modern networks use CIDR (classless) rather than classful addressing.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Network Configuration Concepts — study guide chapter
Learn the concepts, then practise the questions
- →
Network Configuration Concepts practice questions
Targeted practice on this topic area only
- →
All 220-1201 questions
1,020 questions across all exam domains
- →
CompTIA A+ Core 1 220-1201 study guide
Full concept coverage aligned to exam objectives
- →
220-1201 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 220-1201 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Mobile Device Hardware Servicing practice questions
Practise 220-1201 questions linked to Mobile Device Hardware Servicing.
Mobile Device Connection Methods practice questions
Practise 220-1201 questions linked to Mobile Device Connection Methods.
Mobile Device Accessories practice questions
Practise 220-1201 questions linked to Mobile Device Accessories.
Mobile Device Network Connectivity practice questions
Practise 220-1201 questions linked to Mobile Device Network Connectivity.
Mobile Device Application Support practice questions
Practise 220-1201 questions linked to Mobile Device Application Support.
Network Protocols practice questions
Practise 220-1201 questions linked to Network Protocols.
TCP & UDP Ports practice questions
Practise 220-1201 questions linked to TCP & UDP Ports.
Wireless Networking Technologies practice questions
Practise 220-1201 questions linked to Wireless Networking Technologies.
Network Services practice questions
Practise 220-1201 questions linked to Network Services.
Network Configuration Concepts practice questions
Practise 220-1201 questions linked to Network Configuration Concepts.
Common Networking Hardware practice questions
Practise 220-1201 questions linked to Common Networking Hardware.
IP Addressing practice questions
Practise 220-1201 questions linked to IP Addressing.
Practice this exam
Start a free 220-1201 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 220-1201 question test?
Network Configuration Concepts — This question tests Network Configuration Concepts — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The DNS server is not resolving local hostnames. — The user can access the internet (which relies on external DNS resolution) and can ping the file server by IP address, but cannot ping by hostname. This indicates that the local DNS server is failing to resolve the file server's hostname to its IP address. Since the user can reach the internet, the default gateway and subnet mask are likely correct, and the file server's firewall is not blocking ICMP because the IP-based ping succeeds.
What should I do if I get this 220-1201 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More 220-1201 practice questions
- During a network cable installation, a technician needs to verify that a newly run Cat6 cable is properly terminated and…
- A user connects a 4K monitor to their laptop using a USB-C port. The monitor is detected, but the resolution is stuck at…
- A technician is troubleshooting a laptop that will not charge. The battery is removable, and the power adapter works on…
- A customer brings in a smartphone with a broken charging port. They want the port replaced. During disassembly, the tech…
- A user reports that their laptop's keyboard types random characters when certain keys are pressed. The laptop has not be…
- A technician is troubleshooting a laptop that shuts down randomly after a few minutes of use. The fan is spinning, and t…
Last reviewed: Jul 4, 2026
This 220-1201 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-1201 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.