- A
ping \\ServerName
Why wrong: ping tests basic IP connectivity but does not check for shared resources.
- B
net view \\ServerName
This command lists all shared resources on the server, confirming both connectivity and share availability.
- C
net use Z: \\ServerName\Share
Why wrong: This maps a drive to a specific share, but if the share is unavailable, it will fail without providing diagnostic details.
- D
tracert \\ServerName
Why wrong: tracert traces the network route to a host but does not show shared folders.
Quick Answer
The answer is net view \\ServerName, because this command tests both network connectivity to the server and the availability of shared resources in a single step. When you run net view followed by the server’s name, it queries the server for a list of all active shares; if the command returns a list of shared folders, you have confirmed the network path is correct and the share is accessible. On the CompTIA A+ Core 2 220-1202 exam, this question tests your ability to differentiate between basic connectivity tools like ping and share-specific diagnostics—a common trap is choosing net use, which maps a drive but does not verify share existence before attempting the connection. Remember that net view is like asking the server “What do you have to offer?” rather than trying to walk through a door that might not be there. A useful memory tip: “View the shares before you use the shares.”
220-1202 Windows Command-Line Tools Practice Question
This 220-1202 practice question tests your understanding of windows command-line tools. 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 reports that they cannot access a shared folder on a file server. You suspect the network path is incorrect or the share is unavailable. Which command can you use to test connectivity to the server and the share simultaneously?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"which command"Why it matters: Tests specific CLI syntax. Recall the exact command and its required context — near-synonyms and partial matches are common distractors.
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
net view \\ServerName
The net view command lists available shared resources on a specified server, allowing you to verify both network connectivity and share availability. It is a quick diagnostic tool for shared folder issues. Other commands either test basic connectivity or map drives but do not list shares.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ping \\ServerName
Why it's wrong here
ping tests basic IP connectivity but does not check for shared resources.
- ✓
net view \\ServerName
Why this is correct
This command lists all shared resources on the server, confirming both connectivity and share availability.
Clue confirmation
The clue word "which command" in the question point toward this answer.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
net use Z: \\ServerName\Share
Why it's wrong here
This maps a drive to a specific share, but if the share is unavailable, it will fail without providing diagnostic details.
- ✗
tracert \\ServerName
Why it's wrong here
tracert traces the network route to a host but does not show shared folders.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Trap categories for this question
Command / output trap
tracert traces the network route to a host but does not show shared folders.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related 220-1202 NAT questions on configuration and troubleshooting.
- →
Windows Command-Line Tools — study guide chapter
Learn the concepts, then practise the questions
- →
Windows Command-Line Tools practice questions
Targeted practice on this topic area only
- →
All 220-1202 questions
750 questions across all exam domains
- →
CompTIA A+ Core 2 220-1202 study guide
Full concept coverage aligned to exam objectives
- →
220-1202 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 220-1202 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Windows OS Features and Tools practice questions
Practise 220-1202 questions linked to Windows OS Features and Tools.
Windows Settings and Control Panel practice questions
Practise 220-1202 questions linked to Windows Settings and Control Panel.
Windows Command-Line Tools practice questions
Practise 220-1202 questions linked to Windows Command-Line Tools.
Windows Administrative Tools practice questions
Practise 220-1202 questions linked to Windows Administrative Tools.
macOS Features and Tools practice questions
Practise 220-1202 questions linked to macOS Features and Tools.
Linux Commands and File Permissions practice questions
Practise 220-1202 questions linked to Linux Commands and File Permissions.
Mobile OS Features and Tools practice questions
Practise 220-1202 questions linked to Mobile OS Features and Tools.
Virtualization and Cloud Technologies practice questions
Practise 220-1202 questions linked to Virtualization and Cloud Technologies.
Physical Security Controls practice questions
Practise 220-1202 questions linked to Physical Security Controls.
Logical Security Concepts practice questions
Practise 220-1202 questions linked to Logical Security Concepts.
Wireless Security Protocols practice questions
Practise 220-1202 questions linked to Wireless Security Protocols.
Malware Types and Removal practice questions
Practise 220-1202 questions linked to Malware Types and Removal.
Practice this exam
Start a free 220-1202 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-1202 question test?
Windows Command-Line Tools — This question tests Windows Command-Line Tools — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: net view \\ServerName — The net view command lists available shared resources on a specified server, allowing you to verify both network connectivity and share availability. It is a quick diagnostic tool for shared folder issues. Other commands either test basic connectivity or map drives but do not list shares.
What should I do if I get this 220-1202 question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related 220-1202 NAT questions on configuration and troubleshooting.
Are there clue words in this question I should notice?
Yes — watch for: "which command". Tests specific CLI syntax. Recall the exact command and its required context — near-synonyms and partial matches are common distractors.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
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 →
Last reviewed: Jun 19, 2026
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.
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.