220-1102 exam dumps

220-1102 practice question 790 of 828

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

220-1102 Question 790

Single answerBasic automation

A small business wants every Windows 10 and Windows 11 PC in its accounting department to map the same shared drive each time a user signs in. The task must run automatically without requiring users to remember a command, and the solution should be simple enough for a support technician to maintain. Which of the following is the BEST way to meet this requirement?

  1. A

    Create a logon script that runs the NET USE command to map the shared drive

  2. B

    Create a shutdown script that runs IPCONFIG /RENEW before the user signs out

  3. C

    Create a scheduled task that runs CHKDSK every time the user logs on

  4. D

    Create a batch file on the user's desktop and instruct users to double-click it after signing in

Show answer and explanation

Correct answer: A

Explanation

For A+ Core 2, basic automation often includes using scripts and simple command-line tools to perform repetitive administrative tasks. In this scenario, the requirement is to automate a drive mapping at user sign-in with minimal support burden. A logon script is the most appropriate solution because it is specifically intended to run commands automatically when a user authenticates. In Windows environments, the NET USE command is a standard way to connect to shared resources and map network drives. This aligns with common Microsoft administrative practices for user logon automation. By contrast, shutdown scripts, maintenance tasks like CHKDSK, or manual batch-file execution do not meet the business requirement of automatic, reliable drive mapping at sign-in.

  • A. Correct.

    Correct. A logon script is a basic automation method commonly used in Windows environments to perform repetitive tasks automatically when a user signs in. Using the NET USE command in the script can map a network drive consistently for each user session. This is the best fit because it automates the task at logon and minimizes user involvement, which matches the requirement.

  • B. Incorrect.

    Incorrect. A shutdown script runs when the user is signing out or the computer is shutting down, not when the user signs in. In addition, IPCONFIG /RENEW is used to renew DHCP-assigned IP configuration, not to map network drives. Someone might choose this option because it sounds automated, but it does not address the actual need.

  • C. Incorrect.

    Incorrect. A scheduled task can automate commands, but running CHKDSK at logon does not map a shared drive and would add unnecessary overhead. CHKDSK is used to scan and repair file system issues, so this option confuses system maintenance automation with user logon automation.

  • D. Incorrect.

    Incorrect. A batch file can contain the proper NET USE command, but placing it on the desktop and relying on users to launch it manually does not satisfy the requirement for automatic execution. This is a common misconception because the command itself may be correct, but the implementation fails the automation 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