CompTIA 220-1202 (CompTIA A+ Certification Exam: Core 2) Practice Test 7

Question 60

An administrator needs to inspect a specific Windows Registry value used by a legacy application. Which utility opens the registry database?

  1. Services console
  2. Registry Editor
  3. Certificate Manager
  4. Task Scheduler

Explanation

Correct Answer

B:

Regedit allows direct registry inspection and changes; edits can affect system stability and need backup and care. It is not a user-group management console.

Incorrect Answers

A:

Services management allows authorized users to inspect status and start, stop, or configure service startup; this technique can help to start and inspect a failed Windows service, but it does not directly inspect a Windows configuration registry value.

C:

Certificate Manager allows viewing and managing certificates in the appropriate user or computer store; the task is to inspect a Windows configuration registry value, not simply to inspect a Windows certificate store.

D:

Task Scheduler can trigger authorized programs on schedules or events and run them using specified credentials; for inspecting a Windows configuration registry value, Registry Editor addresses the stated need; Task Scheduler instead targets running an automated maintenance action on a schedule.

Question 61

A Windows technician is in the wrong directory and needs to switch the command prompt to a project folder. Which command performs the navigation?

  1. dir
  2. md
  3. rmdir
  4. cd

Explanation

Correct Answer

D:

The cd command changes the current working directory in the command shell. It does not copy files or list network sessions.

Incorrect Answers

A:

The dir command enumerates directory contents and can show file sizes and timestamps; the reported need is to change the shell's current folder; dir is oriented toward listing the contents of a Windows directory.

B:

Md creates the specified directory path in the Windows shell; these are separate tasks: creating a destination directory is not the same as changing the shell's current folder.

C:

Rmdir removes directories, with flags required for recursively deleting nonempty trees; the evidence favors cd for changing the shell's current folder, rather than applying rmdir to remove a no-longer-needed directory.

Question 62

A workstation has an unknown DHCP lease and DNS server configuration. Which command should display its interface details?

  1. netstat -ano
  2. ipconfig /all
  3. format
  4. diskpart

Explanation

Correct Answer

B:

The extended ipconfig view reports IP addresses, gateways, DNS servers, and DHCP-related data. It observes configuration without itself proving application connectivity.

Incorrect Answers

A:

Netstat can list active connections and listening ports, including numeric addresses and process IDs; the reported need is to inspect Windows IP and DNS interface configuration; netstat -ano is oriented toward identifying listening ports and associated process IDs.

C:

Format initializes a filesystem on a selected volume and can destroy access to previous data; the reported need is to inspect Windows IP and DNS interface configuration; format is oriented toward creating a filesystem on the approved secondary volume.

D:

Diskpart manages disks, volumes, and partitions through commands; ipconfig /all fulfills the requirement to inspect Windows IP and DNS interface configuration; this selection pertains to managing disk partitions from a command shell.

Question 63

An IT technician needs to test whether a known IPv4 address answers basic ICMP echo requests. Which command should be tried?

  1. gpupdate /force
  2. nslookup
  3. ping
  4. pathping
  5. format

Explanation

Correct Answer

C:

Ping sends echo requests to check reachability where ICMP is permitted. A blocked ping does not by itself prove the target is down.

Incorrect Answers

A:

Gpupdate refreshes applicable Group Policy settings, with some changes requiring logoff or restart; these are separate tasks: refreshing applied Group Policy on a Windows client is not the same as testing ICMP reachability of a network host.

B:

Nslookup queries name servers for DNS information and helps distinguish name-resolution faults from basic IP reachability; that could address querying DNS rather than merely test an IP route, but it would leave the need to test ICMP reachability of a network host unresolved.

D:

Pathping combines path discovery with packet-loss measurements for responding hops; that is useful for estimating packet loss along a network route; the reported task instead calls for testing ICMP reachability of a network host.

E:

Format initializes a filesystem on a selected volume and can destroy access to previous data; ping fulfills the requirement to test ICMP reachability of a network host; this selection pertains to creating a filesystem on the approved secondary volume.

Question 64

A technician suspects an unexpected application is listening on a TCP port and wants to inspect current sockets. Which command is appropriate?

  1. ipconfig /all
  2. whoami
  3. pathping
  4. tracert
  5. netstat -ano
  6. dir

Explanation

Correct Answer

E:

Netstat can list active connections and listening ports, including numeric addresses and process IDs. It does not resolve a DNS record by itself.

Incorrect Answers

A:

The extended ipconfig view reports IP addresses, gateways, DNS servers, and DHCP-related data; the task is to identify listening ports and associated process IDs, not simply to inspect Windows IP and DNS interface configuration.

B:

Whoami identifies the current security principal and can show associated groups or privileges; whoami is used to identify the security context of a command session, whereas the case calls for identifying listening ports and associated process IDs.

C:

Pathping combines path discovery with packet-loss measurements for responding hops; the reported need is to identify listening ports and associated process IDs; pathping is oriented toward estimating packet loss along a network route.

D:

Tracert probes routes using increasing TTL values to show intervening hops when devices respond; these are separate tasks: tracing intermediate IP network hops is not the same as identifying listening ports and associated process IDs.

F:

The dir command enumerates directory contents and can show file sizes and timestamps; to identify listening ports and associated process IDs, the relevant control is netstat -ano; this option addresses listing the contents of a Windows directory.

Question 65

A website fails by hostname but works by IP, so the technician needs to query DNS records directly. Which utility fits?

  1. ping
  2. nslookup
  3. chkdsk
  4. robocopy

Explanation

Correct Answer

B:

Nslookup queries name servers for DNS information and helps distinguish name-resolution faults from basic IP reachability.

Incorrect Answers

A:

Ping sends echo requests to check reachability where ICMP is permitted; nslookup fulfills the requirement to query DNS rather than merely test an IP route; this selection pertains to testing ICMP reachability of a network host.

C:

Chkdsk inspects filesystem metadata and can fix supported errors with the appropriate switches; for querying DNS rather than merely test an IP route, nslookup addresses the stated need; chkdsk instead targets checking and repair logical filesystem errors.

D:

Robocopy is built for robust directory copying and mirroring, with restart and metadata options; the requirement is to query DNS rather than merely test an IP route; this alternative is primarily used to copy a large directory tree with controllable retry behavior.

Question 66

A user must connect to a known SMB share and assign it a drive letter using the command line. Which command supports that operation?

  1. format
  2. md
  3. rmdir
  4. net use

Explanation

Correct Answer

D:

Net use can establish or remove authenticated network-share connections and mapped drives. Credentials and share permissions still govern access.

Incorrect Answers

A:

Format initializes a filesystem on a selected volume and can destroy access to previous data; this technique can help to create a filesystem on the approved secondary volume, but it does not directly map a shared folder to a Windows drive letter.

B:

Md creates the specified directory path in the Windows shell; net use fulfills the requirement to map a shared folder to a Windows drive letter; this selection pertains to creating a destination directory.

C:

Rmdir removes directories, with flags required for recursively deleting nonempty trees; although suited to removing a no-longer-needed directory, it is not sufficient for maping a shared folder to a Windows drive letter.

Question 67

Packets to a remote service appear to follow an unexpected path. Which command lists intermediate routing hops?

  1. pathping
  2. gpupdate /force
  3. tracert
  4. chkdsk

Explanation

Correct Answer

C:

Tracert probes routes using increasing TTL values to show intervening hops when devices respond. Firewalls can hide some hops.

Incorrect Answers

A:

Pathping combines path discovery with packet-loss measurements for responding hops; the task is to trace intermediate IP network hops, not simply to estimate packet loss along a network route.

B:

Gpupdate refreshes applicable Group Policy settings, with some changes requiring logoff or restart; this option serves refreshing applied Group Policy on a Windows client rather than tracing intermediate IP network hops.

D:

Chkdsk inspects filesystem metadata and can fix supported errors with the appropriate switches; that could address checking and repair logical filesystem errors, but it would leave the need to trace intermediate IP network hops unresolved.

Question 68

A network path sometimes drops packets, and support wants hop-by-hop loss statistics over time. Which command is most suitable?

  1. tracert
  2. md
  3. pathping
  4. sfc /scannow

Explanation

Correct Answer

C:

Pathping combines path discovery with packet-loss measurements for responding hops. Its longer sampling period can aid intermittent network investigations.

Incorrect Answers

A:

Tracert probes routes using increasing TTL values to show intervening hops when devices respond; for estimating packet loss along a network route, pathping addresses the stated need; tracert instead targets tracing intermediate IP network hops.

B:

Md creates the specified directory path in the Windows shell; although suited to creating a destination directory, it is not sufficient for estimating packet loss along a network route.

D:

System File Checker checks protected Windows files and repairs applicable corruption using system sources; although suited to verifying and repair protected Windows system files, it is not sufficient for estimating packet loss along a network route.

Question 69

File-system errors appear on an NTFS volume following a power failure. Which command-line utility checks the volume's logical consistency?

  1. net use
  2. chkdsk
  3. robocopy
  4. dir

Explanation

Correct Answer

B:

Chkdsk inspects filesystem metadata and can fix supported errors with the appropriate switches. Schedule maintenance and back up when repair may require exclusive access.

Incorrect Answers

A:

Net use can establish or remove authenticated network-share connections and mapped drives; to check and repair logical filesystem errors, the relevant control is chkdsk; this option addresses maping a shared folder to a Windows drive letter.

C:

Robocopy is built for robust directory copying and mirroring, with restart and metadata options; robocopy is used to copy a large directory tree with controllable retry behavior, whereas the case calls for checking and repair logical filesystem errors.

D:

The dir command enumerates directory contents and can show file sizes and timestamps; using this would prioritize listing the contents of a Windows directory instead of checking and repair logical filesystem errors.

Question 70

A secondary non-system disk must be prepared with a new filesystem after its data has been copied elsewhere. Which command explicitly creates the filesystem?

  1. format
  2. md
  3. chkdsk
  4. sfc /scannow

Explanation

Correct Answer

A:

Format initializes a filesystem on a selected volume and can destroy access to previous data. Verify the exact target before execution.

Incorrect Answers

B:

Md creates the specified directory path in the Windows shell; using this would prioritize creating a destination directory instead of creating a filesystem on the approved secondary volume.

C:

Chkdsk inspects filesystem metadata and can fix supported errors with the appropriate switches; the evidence favors format for creating a filesystem on the approved secondary volume, rather than applying chkdsk to check and repair logical filesystem errors.

D:

System File Checker checks protected Windows files and repairs applicable corruption using system sources; using this would prioritize verifying and repair protected Windows system files instead of creating a filesystem on the approved secondary volume.

CompTIA A+ Certification Exam: Core 2 (220-1202) Practice Tests