# Free 220-1202 practice questions

> 10 free 220-1202 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/comptia-220-1202/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/comptia-220-1202/

### Question 1 of 10

A technician must copy a large folder tree to a file server and needs the copy to resume after network interruptions and preserve NTFS permissions. Which command-line tool is BEST suited?

- A. move with the /y overwrite switch
- B. robocopy with the /z and /copyall switches
- C. xcopy with the /s and /e switches
- D. copy with the /v verification switch

**Answer:** B

**Explanation:** robocopy supports restartable mode (/z) and can copy all file information including security ACLs (/copyall), making it ideal for large, resilient copies. xcopy copies directory trees but has no restartable mode and limited ACL handling. copy handles single files without tree recursion, and move relocates files rather than duplicating them and does not resume after interruptions.

### Question 2 of 10

A technician on an Ubuntu workstation needs to install the latest available updates for all installed packages. Which command sequence is correct?

- A. sudo apt autoremove
- B. sudo apt update followed by sudo apt upgrade
- C. sudo dnf check-update followed by sudo dnf upgrade
- D. sudo apt-get remove followed by sudo apt-get install

**Answer:** B

**Explanation:** On Debian-based distributions such as Ubuntu, apt update refreshes package lists and apt upgrade installs newer versions, both with root privileges via sudo. dnf is the package manager for Red Hat-based distributions such as Fedora. apt autoremove only removes packages that are no longer needed, and removing then installing packages is not an update procedure.

### Question 3 of 10

Which Microsoft Management Console snap-in should a technician use to add a local user account to the local Administrators group on a Windows 11 Pro computer?

- A. Local Users and Groups (lusrmgr.msc)
- B. Local Security Policy (secpol.msc)
- C. Computer Management's Shared Folders node
- D. Certificate Manager (certmgr.msc)

**Answer:** A

**Explanation:** Local Users and Groups lets administrators create local accounts and manage local group membership, including Administrators. Shared Folders manages shares and sessions. Certificate Manager manages user certificates, and Local Security Policy configures security settings such as password policy and user rights, not group membership.

### Question 4 of 10

A security team wants administrators to receive elevated rights only for a limited time when a change is approved, instead of holding permanent admin accounts. Which approach is this?

- A. Mandatory access control with security labels
- B. Just-in-time access through privileged access management
- C. Account lockout after repeated failed attempts
- D. Role-based access through a static security group

**Answer:** B

**Explanation:** Just-in-time access, usually delivered by a privileged access management solution, grants time-limited elevation on approval and removes it afterward. Static group membership grants standing privileges. Mandatory access control uses labels assigned by policy, not temporary elevation, and lockout policies stop guessing rather than limit privilege duration.

### Question 5 of 10

After a breach, an organization wants every user to have only the permissions needed to perform their job duties. Which security principle is being applied?

- A. Defense in depth
- B. Least privilege
- C. Separation of duties
- D. Zero trust

**Answer:** B

**Explanation:** The principle of least privilege grants only the minimum access needed for a role. Zero trust continuously verifies every request regardless of location, separation of duties splits critical tasks between people, and defense in depth layers multiple controls; none of these specifically define minimum permissions per job.

### Question 6 of 10

A folder named Projects has several subfolders. The administrator wants a new subfolder to have different permissions from its parent while starting from the current ones. What should the administrator do on the subfolder?

- A. Enable inheritance on the parent and apply to all children
- B. Disable inheritance and convert the inherited permissions
- C. Add a Deny entry for Everyone on the subfolder
- D. Move it to another volume so permissions reset

**Answer:** B

**Explanation:** Disabling inheritance and converting the inherited permissions into explicit permissions keeps the current entries while allowing them to be edited independently. Re-applying inheritance from the parent forces the same permissions. A Deny entry for Everyone blocks all users, including administrators who need access, and moving the folder to another volume makes it inherit the new parent's permissions.

### Question 7 of 10 (choose 2)

After a malware cleanup, a user cannot access any network shares, and the network icon shows no connectivity. ipconfig shows an IP address of 169.254.12.40. Which TWO actions should the technician take? (Choose two.)

- A. Check that the network adapter and DHCP client service are enabled
- B. Assign the adapter a public IP address manually
- C. Disable the Windows firewall permanently
- D. Delete the Hosts file and reboot
- E. Run ipconfig /release and ipconfig /renew after fixing the cause

**Answer:** A, E

**Explanation:** A 169.254.x.x APIPA address means the PC failed to get a DHCP lease, often because malware or cleanup disabled the adapter or DHCP client service; re-enabling them and renewing the lease restores addressing. Permanently disabling the firewall is unsafe. A manually assigned public IP is wrong for an internal LAN, and deleting the Hosts file does not fix DHCP.

### Question 8 of 10

During malware remediation, a technician finds that the antivirus engine cannot update its definitions while Windows is running normally, and the malware restarts each time it is terminated. What should the technician do NEXT?

- A. Use Safe Mode with Networking to update definitions and scan
- B. Delete the System32 folder that holds the malware files
- C. Disable the antivirus service until the malware stops
- D. Reinstall the antivirus and leave the PC on the network

**Answer:** A

**Explanation:** Safe Mode with Networking loads a minimal set of drivers and startup items, often preventing the malware from running while still allowing definition downloads. Reinstalling antivirus while the malware is active is often blocked and keeps the PC exposed. Deleting System32 destroys Windows, and disabling antivirus helps the malware.

### Question 9 of 10

A company wants to reduce its weekend backup window. It currently takes a full backup every Saturday that reads all data from the production servers. Which option creates a new full backup on the backup storage by merging the last full with later incrementals, without reading all data from the servers again?

- A. Synthetic full backup
- B. Differential backup
- C. Grandfather-father-son rotation
- D. Mirror backup

**Answer:** A

**Explanation:** A synthetic full is built on the backup system by combining the previous full with subsequent incrementals, so production servers are not read in full again. A differential still reads all changes since the last full each time and is not a full backup. A mirror copies the current state, and GFS is a retention rotation.

### Question 10 of 10

A help desk technician opens a ticket for a user whose laptop will not connect to Wi-Fi. Which information is MOST important to record so that another technician can continue the work later?

- A. Only the user's name and the time the call started
- B. The laptop's purchase price and its original vendor invoice
- C. A clear description of the issue and the steps already taken
- D. The technician's personal opinion of the user's overall skill level

**Answer:** C

**Explanation:** Clear notes describing the problem and troubleshooting performed let anyone pick up the ticket without repeating work. Personal opinions about users are unprofessional and irrelevant. A name and time alone lack the technical details, and purchase price belongs in asset records, not a support ticket.

Ready for a timed run? Take the free 15-question 220-1202 mini exam: https://devopscodelab.com/app/exams/comptia-220-1202/mini/

DevOpsCode Lab is not affiliated with CompTIA. 220-1202 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
