Unlock hundreds more features
Save your Quiz to the Dashboard
View and Export Results
Use AI to Create Quizzes and Analyse Results

Sign inSign in with Facebook
Sign inSign in with Google

Test Your CompTIA A+ Core 2 220-1002 Knowledge Now

Think you know the list of command prompt commands for CompTIA A+ Core 2? Dive in and ace the quiz!

Difficulty: Moderate
2-5mins
Learning OutcomesCheat Sheet
Paper art illustration of computer window with command prompt icons CompTIA A PLUS Core 2 quiz text on sky blue background

Use this free CompTIA A+ Core 2 220-1002 quiz to practice Windows tools, command prompt commands, OS basics, security, operational tasks, and real troubleshooting before the exam. You'll spot weak areas fast; when you want more, try the full practice exam.

Which command displays the current IP configuration for all network adapters?
route
nslookup
ipconfig
netstat
The ipconfig command shows the IP address, subnet mask, gateway, and DNS servers for all network adapters. This utility is the primary command-line tool for IP configuration on Windows systems. Other commands like netstat or nslookup serve different functions.
Which ipconfig switch is used to release the DHCP lease?
/release
/renew
/flushdns
/all
The /release switch instructs the DHCP client to drop its current lease and IP address. After releasing, you can use /renew to request a new lease from the DHCP server. The /all and /flushdns switches provide different types of information and caching functions.
Which command tests network connectivity by sending ICMP echo requests?
tracert
nbtstat
arp
ping
Ping sends ICMP echo request packets to a remote host and listens for echo replies, verifying basic connectivity. It's often the first tool used for network troubleshooting. Tracert performs a route trace, while nbtstat and arp serve different name resolution and address resolution tasks.
Which command traces the path packets take to a network host?
netstat
pathping
route print
tracert
Tracert sends successive packets with increasing TTL values to map each hop between source and destination. It displays each router's IP address along the path. Pathping also shows hop information but adds packet loss statistics; route print and netstat have different uses.
Which command lists all active TCP and UDP network connections?
netsh
netstat
net use
nbtstat
Netstat shows a list of active network connections and listening ports on a system. It provides protocol, local/foreign addresses, and connection states. Netsh is for configuration, net use manages shared resources, and nbtstat displays NetBIOS info.
Which command displays the computer's hostname?
hostname /all
hostname
net config
computername
The hostname command returns the system's network name. It's the simplest method to verify the computer's configured name. Other options like hostname /all are not valid switches, and 'computername' is not a valid command.
Which command can be used to shut down or restart a Windows system?
shutdown
halt
poweroff
restart
The shutdown command allows shutting down, restarting, or logging off a Windows system with various switches. It's built into Windows and supports remote shutdowns. Commands like poweroff or halt are typical in Linux, and restart is not a standalone Windows CLI.
Which utility scans and repairs protected system files from a command prompt?
dism /cleanup-image
sfc /scannow
chkdsk /F
systeminfo
The System File Checker tool (sfc) with the /scannow switch checks and repairs corrupted Windows system files. Chkdsk handles disk errors, and DISM repairs the component store, not directly protected files. Systeminfo only displays configuration information.
In DiskPart, which command creates a primary partition using the maximum available space?
extend partition
create partition primary
delete partition
assign letter
The DiskPart command 'create partition primary' allocates a new primary partition using all unallocated space by default. Extend and assign modify existing partitions or volumes, while delete removes them. This is how new partitions are created via CLI.
Which CHKDSK switch will automatically fix file system errors?
/F
/I
/X
/R
The /F switch instructs CHKDSK to fix discovered file system errors. The /R switch locates bad sectors and recovers readable information, implying /F functionality as well. /X forces dismounting, and /I reduces index checks on NTFS volumes.
Which command-line utility opens the Windows Registry Editor?
regsvr32
regedit32
regedit
reg.exe
Regedit launches the graphical Registry Editor where you can view and edit registry keys. Regsvr32 registers DLLs, reg.exe provides registry commands but not the GUI editor, and regedit32 is deprecated.
Which utility configures startup programs and services in Windows?
eventvwr
msconfig
taskmgr
services.msc
MSConfig (System Configuration) allows you to enable or disable startup applications and Windows services. Services.msc lists all services but doesn't affect startup programs, Task Manager manages running processes, and Event Viewer shows logs.
Which command forces a Group Policy update immediately?
gpresult /r
gpupdate /force
gpedit.msc
gpmc.msc
The gpupdate utility applies and refreshes Group Policy settings on a computer, and /force reapplies all settings. Gpresult reports applied policies, while gpmc.msc and gpedit.msc are GUI consoles for policy management.
Which tool launches the Windows Disk Management console?
diskmgmt.msc
compmgmt.msc
diskpart
devmgmt.msc
Diskmgmt.msc opens the Disk Management MMC snap-in for GUI partitioning and volume management. DiskPart is the command-line counterpart, while devmgmt.msc manages devices, and compmgmt.msc opens Computer Management.
In DiskPart, which command extends the selected volume into adjacent free space?
grow
extend
add
resize
The extend command increases the size of the selected volume using contiguous unallocated space. DiskPart does not support commands like resize or grow. The add command is unrelated.
Which DISM command repairs the Windows component store online?
dism /online /cleanup-image /restorehealth
dism /cleanup-image /analyzecomponentstore
dism /image:C:\Offline /cleanup-image
dism /online /get-drivers
The DISM /restorehealth option scans the online Windows image for corruption and repairs it automatically. Other commands provide analysis or offline servicing. This is the recommended step for fixing component store issues before running SFC.
Which command encrypts a volume with BitLocker from the command line?
cipher /e
manage-bde -status
manage-bde -on
bitlocker /activate
The manage-bde -on command enables BitLocker encryption on the specified volume. The status switch only reports encryption state, while cipher encrypts files, not full volumes. There is no bitlocker CLI.
Which command forces Windows Update to check for updates immediately?
usoclient startscan
wuauclt /detectnow
net start wuauserv
wuauclt /updatenow
The wuauclt /detectnow switch instructs the Windows Update Agent to initiate a detection cycle. USOClient is a newer internal tool not documented for general use. Starting the service does not trigger detection, and /updatenow is not a valid switch.
Which User State Migration Tool command captures user data to a store?
loadstate
dism /capture-state
scanstate
usmtutil
Scanstate is the USMT command that collects user profiles and settings into a migration store. Loadstate restores that data on the destination system. Usmtutil is for store management, and DISM does not handle USMT.
Which DISM command captures an image of a Windows volume to a WIM file?
wimgapi /create
imagex /capture
dism /capture-image
export-windowsimage
DISM's /capture-image option creates a .wim file from a specified Windows image or volume. ImageX is deprecated, and the others are not valid DISM syntax. This is used for customizing deployment images.
Which Powercfg command lists existing power schemes and their GUIDs?
powercfg /list
powercfg /export
powercfg /alias
powercfg /query
The /list switch displays all configured power schemes with their GUIDs. Query shows settings for a specific scheme, alias lists friendly names, and export saves a scheme to a file. Listing is essential to identify the correct scheme for advanced modifications.
Which command resets the TCP/IP stack to default settings?
ipconfig /reset
ipconfig /flushdns
netsh winsock reset
netsh int ip reset
The 'netsh int ip reset' command rewrites the registry keys used by TCP/IP to their defaults, repairing stack issues. 'netsh winsock reset' addresses Winsock catalog issues, while ipconfig switches handle address renewal or DNS cache. There is no ipconfig /reset.
Which BCDEdit command ensures the system boots into Safe Mode on next reboot?
bcdedit /dbgsettings safeboot
bcdedit /default safeboot
bcdedit /set {current} safeboot minimal
bcdedit /bootsequence safeboot
The safeboot minimal option under the {current} identifier configures the OS loader to enter Safe Mode. Other switches or identifiers are invalid for safeboot configuration. This is the standard method to force a safe boot from CLI.
Which command displays all shared folders on a local system?
shares.exe
net view
net share
net use
Running 'net share' without parameters lists all shares on the local computer. Net view lists shared resources on remote computers, and net use maps network drives. There is no shares.exe standard utility.
Which command lists all local user accounts on a Windows system?
net localgroup Users
net account
wmic useraccount
net user
The 'net user' command displays all user accounts configured on the local machine. Net localgroup Users lists members of the Users group only, and wmic useraccount requires additional filters. Net account shows password and account policies.
Which command prepares a Windows image for duplication by removing unique system information?
usmt /generalize
dism /generalize
sysprep /generalize
imagex /generalize
Sysprep with the /generalize switch removes system-specific data such as SID and hardware drivers to prepare an image for cloning. DISM and ImageX do not perform generalization, and USMT handles user state, not system generalization.
Which BCDEdit command enables kernel debugging for the boot entry?
bcdedit /set debugtype local
bcdedit /debug on
bcdedit /dbgsettings default
bcdedit /bootdebug on
The 'bcdedit /debug on' command sets the global debug setting to enabled for the default boot entry. Other switches like dbgsettings configure ports but not the global debug flag. This is essential for kernel-level debugging sessions.
Which PowerShell cmdlet mounts a VHD file so it appears as a drive letter?
Attach-VHD
Mount-VHD
Mount-DiskImage
Add-PartitionAccessPath
The Mount-VHD cmdlet in PowerShell attaches a virtual hard disk file (.vhd or .vhdx) as a volume in Windows. Mount-DiskImage binds the file but doesn't guarantee a drive letter. Add-PartitionAccessPath and Attach-VHD are not valid cmdlets.
0
{"name":"Which command displays the current IP configuration for all network adapters?", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which command displays the current IP configuration for all network adapters?, Which ipconfig switch is used to release the DHCP lease?, Which command tests network connectivity by sending ICMP echo requests?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}

Study Outcomes

  1. Identify Essential Commands -

    After completing the CompTIA A+ Core 2 quiz, you will recognize and describe key entries from the list of command prompt commands for CompTIA A+ Core 2 and their primary functions in Windows environments.

  2. Apply Troubleshooting Techniques -

    Use command-line tools to diagnose and resolve common system issues, reinforcing your practical skills for the 220-1002 exam.

  3. Analyze Sample Questions -

    Break down CompTIA A+ 220-1002 sample questions to understand testing patterns and identify areas requiring further review.

  4. Evaluate Knowledge Gaps -

    Review your quiz results to pinpoint strengths and weaknesses, helping you focus study efforts on topics needing improvement.

  5. Enhance Exam Readiness -

    Create a targeted study plan based on performance in this free CompTIA A+ Core 2 quiz, boosting confidence before the real exam.

  6. Reinforce Core Concepts -

    Solidify your grasp of networking, security, and operating system fundamentals through an interactive CompTIA A+ Core 2 practice test format.

Cheat Sheet

  1. Network Configuration with ipconfig -

    Use ipconfig /all to display detailed TCP/IP settings including DNS servers, MAC addresses, and DHCP status - an essential skill tested in a CompTIA A+ Core 2 quiz. Remember the mnemonic "IP Info Clearly" to recall that ipconfig reveals IP details at a glance. Official Microsoft Docs emphasize mastering this command for basic network troubleshooting (docs.microsoft.com).

  2. Ping for Connectivity Checks -

    ping verifies host availability and measures round-trip time to help isolate network issues - perfect for CompTIA A+ 220-1002 sample questions on connectivity. Try ping 8.8.8.8 to test internet reachability, and use -t for continuous monitoring. University research (Stanford Networking Lab) highlights ping's role in diagnosing latency and packet loss.

  3. Route Tracing with tracert -

    tracert (Windows) or traceroute (Linux) maps the path packets take to a destination, revealing hops and TTL expirations - key for network path analysis in the Core 2 practice test. Running tracert example.com helps you visualize each router in the chain. Cisco's CCNA materials validate traceroute as a core troubleshooting tool.

  4. Port and Process Insights via netstat -

    netstat -ano lists active connections with associated PIDs, enabling you to identify and terminate suspicious processes with taskkill /PID. This duo is vital for the list of command prompt commands for CompTIA A+ Core 2 security scenarios. CompTIA's official exam objectives recommend mastering netstat for port analysis.

  5. System File Integrity: sfc & chkdsk -

    Run sfc /scannow to repair corrupted Windows files and chkdsk /f /r to fix disk errors - frequent tasks in CompTIA A+ Core 2 practice tests on maintenance. Remember "SFC Saves Files" and "CHKDSK Checks Disks" to keep your system healthy. Microsoft Technet documentation outlines these utilities as exam staples.

Powered by: Quiz Maker