220-1102 exam dumps

220-1102 practice question 108 of 828

A+ Core 2. Associate level, CompTIA. Free question with the correct answer and a full explanation.

220-1102 Question 108

Single answernet use

A technician is remotely assisting a Windows 10 user who needs temporary access to a shared folder on a file server named FS1. The share name is PublicDocs. The user is logged in with a local account, not a domain account, so the technician must connect to the share using separate domain credentials without making the mapping persistent after a reboot. Which command should the technician use?

  1. A

    net use Z: \FS1\PublicDocs /user:CONTOSO\jlee P@ssw0rd /persistent:no

  2. B

    net use \FS1\PublicDocs /user:CONTOSO\jlee /savecred

  3. C

    net share Z=\FS1\PublicDocs /user:CONTOSO\jlee /persistent:no

  4. D

    net use Z: \FS1\PublicDocs /persistent:yes

Show answer and explanation

Correct answer: A

Explanation

The best answer is "net use Z: \FS1\PublicDocs /user:CONTOSO\jlee P@ssw0rd /persistent:no" because net use is the standard Windows command-line tool for connecting to shared resources. In this scenario, the technician must do three things: map the remote share to a drive letter, authenticate with alternate credentials, and prevent the mapping from being persistent. The /user switch provides alternate credentials, and /persistent:no prevents automatic reconnection at future logons. By contrast, net share manages shares hosted on the local machine and is not used to access a remote share. Microsoft documentation for net use describes mapping network drives, connecting with alternate credentials, and controlling persistent connections.

  • A. Correct.

    Correct. The net use command is used to connect to a network share and can map it to a drive letter. Specifying "Z:" maps the share to drive Z, "\FS1\PublicDocs" identifies the UNC path, "/user:CONTOSO\jlee" supplies alternate credentials, and "/persistent:no" ensures the connection is not restored automatically at next logon. This matches the requirement for temporary access using separate domain credentials.

  • B. Incorrect.

    Incorrect. This command connects to the share but does not map it to a drive letter, which is typically implied when a technician wants the user to access it easily through File Explorer as a temporary mapped drive. In addition, "/savecred" stores credentials for future use, which does not align with the requirement to avoid persistence. It also does not explicitly disable reconnect behavior.

  • C. Incorrect.

    Incorrect. net share is used to create or manage shares on the local computer, not to connect to a remote shared folder. This is a common confusion between sharing a resource and mapping or accessing an existing network share.

  • D. Incorrect.

    Incorrect. This command maps the drive but does not provide the separate domain credentials needed for a user logged in with a local account. Also, "/persistent:yes" makes the mapping reconnect at logon, which is the opposite of the requirement.

Timed practice exam

Take a 220-1102 practice test under exam conditions

90 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam