220-1102 exam dumps

220-1102 practice question 114 of 828

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

220-1102 Question 114

Single answerdiskpart

A technician is installing Windows on a new SSD in a desktop that previously had several drives attached for testing. During setup, the installer shows multiple disks and partitions, and the technician wants to make absolutely sure the correct target disk is wiped before continuing. Which command sequence in DiskPart is the BEST choice to identify the correct disk and then erase its partition information before installation?

  1. A

    list disk, select disk 1, clean

  2. B

    list volume, select volume C, format fs=ntfs quick

  3. C

    list disk, detail disk, clean all

  4. D

    rescan, assign letter=C, active

Show answer and explanation

Correct answer: A

Explanation

DiskPart is commonly used during Windows deployment and recovery to inspect and prepare storage. Best practice before using 'clean' is to verify the correct disk number with commands such as 'list disk' and, if needed, 'select disk ' followed by 'detail disk'. However, among the choices provided, 'list disk, select disk 1, clean' is the best complete sequence that both identifies the target from the disk list and removes its existing partition information. Microsoft documentation distinguishes 'clean' from 'clean all': 'clean' removes partition/volume metadata, while 'clean all' securely overwrites all sectors and takes significantly longer. For routine installation prep, technicians generally use 'clean' unless a full zero-fill is specifically required.

  • A. Correct.

    Correct. In a real deployment scenario, a technician would use DiskPart to enumerate available disks with 'list disk', choose the intended drive with 'select disk ', and then use 'clean' to remove partition and volume information so Windows Setup can initialize the disk as needed. This is the best answer because it uses the correct DiskPart workflow for identifying and preparing a target disk without unnecessarily performing a full overwrite.

  • B. Incorrect.

    Incorrect. 'list volume' displays volumes, not the underlying disk layout in a way that is best for choosing the correct physical disk during installation. 'select volume C' may not even be valid in Windows Setup if drive letters are different or not assigned yet. 'format fs=ntfs quick' formats a selected volume rather than wiping the disk's partition structure, so it does not meet the goal of clearing the target disk before installation.

  • C. Incorrect.

    Incorrect. This option mixes a useful identification command with an unnecessarily destructive erase method. 'detail disk' can help confirm the selected disk, but 'clean all' writes zeros to every sector on the disk and takes much longer than 'clean'. For a standard OS installation where the goal is to remove partition information before setup, 'clean' is typically the appropriate choice. A candidate might choose this because it sounds more thorough, but it is not the BEST answer for the stated need.

  • D. Incorrect.

    Incorrect. 'rescan' refreshes storage configuration information, but 'assign letter=C' is used for volumes or partitions, not for selecting and wiping a disk. 'active' marks a partition as active on MBR disks; it does not erase partition information and is not part of the best workflow for preparing a blank installation target in this scenario.

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