Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        CompTIA A+ Core 2 practice test (220-1202)

        60 questions in 1 h. Target: 45 correct, a rough guide since CompTIA scores are scaled.

        A circuit board, a diagnostic computer and a screwdriver for A+ hardware practice.
        Questions
        60
        Time
        1 h
        To pass
        45 (75%)
        Mode
        Timed or untimed
        Access
        Exam pass

        The practice test needs JavaScript. These are its questions:

        Help desk ticket 4471

        A user on the third floor reports that her Windows 11 laptop has not reached the intranet or any website since she arrived this morning. The technician runs ipconfig /all and records these values for the Wi-Fi adapter: DHCP Enabled: Yes. Autoconfiguration Enabled: Yes. IPv4 Address: 169.254.83.12 (Preferred). Subnet Mask: 255.255.0.0. Default Gateway: (blank). DNS Servers: (blank). Two colleagues on the same floor, joined to the same wireless network, have addresses in 10.20.4.0/24 and are working normally.

        Bench ticket: home desktop with browser problems

        A customer brings her Windows 11 Home desktop to a repair shop. For two days her web browser has opened a shopping site she never chose, and typing her bank's address sometimes lands on a look-alike login page, although other sites load normally. A full-screen message that claims to come from 'Windows Defender' tells her to call a toll-free number to have viruses removed. On the bench, the technician sees the same symptoms. The PC is plugged into the shop network by Ethernet, System Restore is on with restore points from the past week, and the shop follows CompTIA's ten-step malware removal procedure.

        1. An administrator wants a cleanup script to run automatically every time one particular user signs in to a shared Windows workstation. Which built-in tool can create a task with that kind of trigger?

          1. Task Scheduler (taskschd.msc)
          2. Disk Cleanup (cleanmgr.exe)
          3. System Information (msinfo32.exe)
          4. Resource Monitor (resmon.exe)
        2. An administrator changed a Group Policy setting a few minutes ago and needs a test PC to reapply every policy setting now, not just the ones that changed, instead of waiting for the next refresh. Which command should be run on the PC?

          1. gpupdate /force
          2. gpresult /r
          3. gpupdate /target:computer
          4. sfc /scannow
        3. Every night a scheduled job runs robocopy C:\Projects \\nas01\backup\Projects /MIR. Yesterday a user deleted C:\Projects\Old\plan.docx. What happens to the NAS copy of plan.docx after tonight's run?

          1. It stays on the NAS, since robocopy only ever adds and updates files
          2. It is copied back to C:\Projects\Old so both sides match again
          3. It is deleted from the NAS, because it is gone from the source
          4. It is moved into a dated recycle folder on the NAS for 30 days
        4. Which command should the technician run first to ask the DHCP server for a new configuration for the laptop's adapters?

          1. ipconfig /flushdns
          2. ipconfig /displaydns
          3. nslookup intranet
          4. ipconfig /renew
        5. A user received an attachment that File Explorer shows as Invoice.pdf, but its icon looks like a program. The technician suspects the full name is Invoice.pdf.exe. Which File Explorer setting reveals the real name?

          1. View > Show > Hidden items
          2. Indexing Options for the Downloads folder
          3. Changing the default app that opens .pdf files
          4. View > Show > File name extensions
        6. A sales rep connects a Windows 11 laptop to a hotel's Wi-Fi. Which network profile should the connection use, and why?

          1. Private, because the hotel network asks guests for a password
          2. Public, which applies stricter settings meant for hotspots
          3. Domain, so that the company firewall rules travel with the laptop
          4. Private, so that the laptop can discover the hotel lobby printer
        7. What does the IPv4 address recorded in the ticket indicate?

          1. The DHCP server leased it from the network's guest address pool
          2. The user set a static address that conflicts with a colleague
          3. The adapter has an IPv6 address, which ipconfig shows in IPv4 form
          4. The laptop got no DHCP lease and gave itself a link-local address
        8. A Mac user wants to remove an app downloaded from a developer's website. The app sits directly in the Applications folder and has no uninstaller. What is Apple's standard way to remove it?

          1. Open the original .dmg file again and choose its Remove command
          2. Drag the app from Applications to the Trash and empty the Trash
          3. Open Disk Utility and erase the volume that holds the app
          4. Choose Force Quit from the Apple menu while the app is open
        9. A company still uses an Intel-based MacBook that has neither Apple silicon nor a T2 Security Chip. Policy requires the data on the startup disk to be encrypted in case the laptop is stolen. What should the technician turn on?

          1. Time Machine
          2. Keychain Access
          3. FileVault
          4. iCloud Drive
        10. A technician runs this command on a Linux workstation. Which permissions does report.txt end up with?

          chmod 640 report.txt

          1. Owner read, write and execute; group read; others no access
          2. Owner read and write; group read and write; others no access
          3. Owner read and write; group read; others no access
          4. Owner read; group read and write; others no access
        11. A Linux administrator needs to check whether a user's password hash is locked or its aging fields have expired. On a system using the shadow password suite, which file holds this information?

          1. /etc/passwd
          2. /etc/shadow
          3. /etc/fstab
          4. /etc/hosts
        12. An old design-office PC runs 32-bit Windows 10 on a CPU that supports 64-bit. A required CAD program is sold only as a 64-bit build. What must happen before the program can be installed?

          1. Run an in-place upgrade from 32-bit to 64-bit Windows that keeps the apps
          2. Install the CAD program in compatibility mode for 32-bit versions of Windows
          3. Back up, reformat, clean install 64-bit Windows, then reinstall apps
          4. Add RAM above 4 GB so that Windows switches itself into 64-bit mode
        13. A company is moving email and file storage to Microsoft 365. Staff already have on-premises Active Directory accounts and want to sign in to the cloud apps with the same username and password. What provides this?

          1. New cloud-only accounts with Microsoft 365 licenses assigned
          2. Microsoft Entra Connect with password hash synchronization
          3. The OneDrive sync client with Known Folder Move turned on
          4. A mapped drive to the domain controller's SYSVOL share
        14. A data center wants to stop visitors from slipping in behind an employee who badges through the main entrance. Which physical control is designed for exactly this?

          1. A row of concrete bollards across the front of the building entrance
          2. Motion sensors covering the lobby and the hallway
          3. Video surveillance cameras aimed at the badge door
          4. An access control vestibule with two sets of interlocking doors
        15. Which sign-in combination counts as multifactor authentication?

          1. A password plus the answers to two personal security questions
          2. A PIN plus a second password that is different from the first
          3. A password plus a code from an authenticator app on the phone
          4. A fingerprint scan followed by a facial recognition scan
        16. A help desk analyst must reset passwords for Sales department users only. The administrator builds a role that allows password resets on Sales accounts and nothing else. Which principle is being applied?

          1. Single sign-on (SSO)
          2. Data loss prevention (DLP)
          3. Mobile device management (MDM)
          4. Least privilege
        17. A user belongs to a group that has Full Control share permission on \\FS01\Finance. The NTFS permission on the Finance folder gives the user Read. What can the user do when opening the folder across the network?

          1. Full Control, because share permissions override NTFS over the network
          2. Full Control, because share and NTFS permissions add together like groups
          3. No access at all, because the conflicting permissions cancel each other
          4. Read only, because the more restrictive of the two sets applies
        18. On a Windows 11 Home laptop, a user opens a folder's Properties > Advanced to protect it, but 'Encrypt contents to secure data' is not available. What explains this?

          1. EFS only works on FAT32 or exFAT, and the folder is on NTFS
          2. Encryption in Windows is set per drive with BitLocker To Go, never per folder
          3. File encryption (EFS) is not offered in the Home edition of Windows
          4. The option appears only after the user sets up Windows Hello sign-in
        19. A user whose account is in the local Administrators group still gets a consent prompt every time she opens Registry Editor. Why does Windows do this?

          1. UAC runs admins on a standard token until they approve elevation
          2. Windows has quietly moved her account into the Guest group
          3. Registry Editor is allowed to run only when Windows is in Safe Mode
          4. The prompt means malware has replaced the Registry Editor program
        20. A small office moves its Wi-Fi from WPA2-Personal to WPA3-Personal. Which weakness does WPA3's Simultaneous Authentication of Equals (SAE) address?

          1. Offline dictionary attacks against a captured four-way handshake
          2. The need for a RADIUS server to authenticate every individual user
          3. Radio interference from neighboring networks on the same channel
          4. The SSID being broadcast so that anyone nearby can see the network
        21. A network team wants central AAA for administrators who log in to switches and routers. It needs per-command authorization and accounting, and the whole packet body protected rather than only the password. Which protocol fits best?

          1. RADIUS, which uses UDP port 1812 and hides the password attribute
          2. Kerberos, which issues time-limited tickets for domain sign-ins
          3. LDAP, which queries a directory for user and group information
          4. TACACS+, which uses TCP port 49 and separates the AAA functions
        22. After installing a free video converter, a user's desktop runs its CPU near 100% even when idle, the fans stay loud, and the electricity bill has gone up. No ads or ransom notes appear. Which malware type fits best?

          1. Ransomware that encrypts files and demands a payment
          2. Adware that floods the browser with unwanted ads
          3. A keylogger that records every keystroke the user types
          4. A cryptominer that uses the PC to mine digital currency
        23. A scan run from inside Windows reports a PC as clean, yet the technician sees network traffic from a process that never appears in Task Manager. A rootkit is suspected. What is the best next step for detection?

          1. Run the same in-Windows scan again after updating its definitions
          2. Run an offline scan that boots outside the infected Windows
          3. Delete the user profile and create a new one for the user
          4. Turn off Windows Defender Firewall to watch the traffic more clearly
        24. An email that appears to come from the company's outside lawyer asks the chief financial officer to review a 'confidential acquisition' file through a sign-in link. It names the CFO and a real pending deal. Which attack is this?

          1. Vishing
          2. Smishing
          3. Shoulder surfing
          4. Whaling
        25. A caller says he is from the bank's fraud team, reads out the last four digits of an employee's card, and asks her to confirm the full card number and PIN 'to block a suspicious charge.' Which attack is this?

          1. Smishing
          2. Vishing
          3. Tailgating
          4. Evil twin
        26. An accounts payable clerk gets an email from a supplier's real email account, which attackers have taken over. It says the supplier's bank details have changed and asks that this month's invoice go to a new account. What is this, and what is the best control?

          1. Business email compromise; verify the change by another channel
          2. An evil twin attack; connect only to known, trusted Wi-Fi networks
          3. SQL injection; validate every input field on the vendor payment portal
          4. A dictionary attack; make the clerk's password longer
        27. The technician has confirmed the symptoms. Under the procedure, what is the next step?

          1. Quarantine the PC by disconnecting it from the shop network
          2. Turn off System Restore before doing anything else
          3. Reimage the drive now that the infection is confirmed
          4. Show the customer how to recognize fake security warnings first
        28. Typing the bank's address sometimes leads to a look-alike page while other sites load normally. Besides the browser's proxy settings, which file should the technician inspect?

          1. C:\pagefile.sys, the Windows paging file
          2. The browser's cookie store for the bank
          3. The Recycle Bin folder on the system drive
          4. C:\Windows\System32\drivers\etc\hosts
        29. What should the technician tell the customer about the 'Windows Defender' message that asks her to call a number?

          1. It is fake: real security pop-ups never ask you to call a phone number
          2. She should call it, because that is how Microsoft removes infections remotely
          3. It is genuine, because it shows the Windows Defender name and logo
          4. She can ignore it, because alerts like this are never linked to malware
        30. The malware has been removed, the anti-malware software is updated, and scans and updates are scheduled. What should the technician do next?

          1. Keep System Restore off permanently on this PC from now on
          2. Turn System Restore back on and create a new restore point
          3. Reimage the drive anyway, then close the ticket
          4. Close the ticket, since user education is optional
        31. A company aligns its rules for accounts that sign in with a password alone with NIST SP 800-63B-4. Which rule follows that guidance?

          1. At least 8 characters with an uppercase letter, a digit and a symbol
          2. At least 15 characters, checked against a blocklist of common and breached passwords
          3. A forced password change every 90 days for every account
          4. A cap of 16 characters on every password to keep hashing fast
        32. A company iPhone was stolen and is now powered off. The administrator selects Erase This Device for it in Find Devices on iCloud.com. When does the erase take place?

          1. Immediately, over the cellular radio, even with the phone off
          2. Never, because the command fails for any phone that is offline
          3. Only after ten failed passcode attempts are made on the phone
          4. The next time the iPhone comes online
        33. A company is retiring 40 laptops with NVMe SSDs. The facilities team plans to run them through the degausser it once used for magnetic tapes. What is wrong with this plan?

          1. Degaussing works on SSDs but voids the laptop maker's warranty
          2. Degaussing does not sanitize flash media, so the SSD data would remain
          3. SSDs must pass through the degausser twice, since flash holds charge longer
          4. The drives first need a standard format so the degausser can reach the data
        34. A home office router lets a game console open inbound ports by itself. After a malware scare, which router feature does CISA advise disabling unless there is a specific need for it?

          1. WPA3 encryption on the wireless network
          2. Universal Plug and Play (UPnP)
          3. Automatic firmware updates from the maker
          4. The firewall's default rule that denies inbound traffic
        35. A technician downloads an installer from a vendor's site, which publishes a SHA-256 value next to the download link. How should the technician confirm the file was not altered?

          1. Check that the file name and extension match the vendor's listing
          2. Check that the file size is close to the size stated on the page
          3. Compute its SHA-256 hash with Get-FileHash and compare the values
          4. Open the installer from a private-browsing window before running it
        36. Right after a new graphics driver was installed, a Windows 11 PC began crashing to a blue screen with DPC_WATCHDOG_VIOLATION a minute or two after reaching the desktop. What should the technician try first?

          1. Replace the motherboard, since stop errors mean failed hardware
          2. Run Disk Cleanup so there is room for a larger memory dump
          3. Start in Safe Mode and roll back or disable the new driver
          4. Turn off the paging file so that Windows stops writing dumps
        37. After a power outage, a desktop shows 'Operating system missing' at startup, although its drive is listed in the UEFI setup screens. Following Microsoft's boot troubleshooting guidance, what should the technician do?

          1. Boot from Windows media, run Startup Repair, then bootrec if needed
          2. Perform a clean install of Windows right away to rebuild the boot files
          3. Sign in to Windows and run sfc /scannow from an elevated prompt
          4. Replace the CMOS battery, since the operating system lives in firmware
        38. Several domain-joined laptops that sat in a cupboard for a month now fail to sign in to the domain, while other PCs work. Their clocks are 9 minutes behind the domain controller. What is the most likely cause and fix?

          1. Their DNS cache is stale; clear it with ipconfig /flushdns
          2. Group Policy is out of date; refresh it with gpupdate /force
          3. BitLocker wants its recovery key; type it in at the next boot
          4. Kerberos allows 5 minutes of clock skew; run w32tm /resync
        39. A tablet with a single USB 3 port drives a hub that carries a webcam, a headset, two drives and a card reader. Windows then shows 'Not enough USB controller resources.' What is the cause, and what is a practical fix?

          1. The hub is short of power; any powered hub will clear the warning
          2. The xHCI controller ran out of endpoints; add a USB 2.0 hub
          3. The USB drivers are corrupt; reinstall Windows to rebuild them all
          4. USB selective suspend is on; turn it off in the Power Options
        40. After a malware cleanup, a Windows PC shows random application crashes, and some Windows features fail with errors about missing or damaged system files. Which built-in tool scans protected system files and replaces incorrect versions?

          1. sfc /scannow, run from an elevated prompt
          2. chkdsk /f, run against the system drive at boot
          3. msinfo32, then export the system report
          4. dfrgui, then optimize the system drive
        41. Users with roaming profiles report that signing in takes several minutes. Many of them keep gigabytes of files on the Desktop and in Documents. Which change does Microsoft recommend to keep profiles small and sign-ins quick?

          1. Turn on fast startup in the Power Options of each PC
          2. Use Folder Redirection to keep those folders on a file share
          3. Increase the paging file size on every workstation
          4. Defragment the file server that stores the profiles every week
        42. An Android user's banking app closes the moment it opens, while other apps work. The phone and the app are both up to date. Following Google's steps, what should the technician try next?

          1. Factory reset the phone straight away to clear the fault
          2. Turn on Developer options and change the animation scale
          3. Force stop the app, then clear its cache in Settings
          4. Install an older copy of the app from a third-party website
        43. An iPhone user says the screen no longer turns to landscape in Safari or in any other app. What should the technician check first?

          1. Whether Low Power Mode has been switched on
          2. Whether the SIM card is seated correctly
          3. Whether Wi-Fi Calling is enabled for the carrier
          4. Whether Portrait Orientation Lock is on
        44. An iPhone with almost no free storage cannot install an iOS update over Wi-Fi. What does Apple's wireless update process offer to solve this?

          1. It can temporarily remove apps, then reinstall them after the update
          2. It switches the download to cellular data, which needs less space
          3. It installs the update in small parts while the phone is in Airplane Mode
          4. It turns off automatic updates so the update file is smaller
        45. An Android phone has been restarting on its own since the user installed several new apps last week. How can the technician confirm whether a downloaded app is to blame?

          1. Clear the cache of the built-in Settings app
          2. Turn on Developer options and then enable USB debugging
          3. Restart in safe mode and see whether the restarts stop
          4. Turn off Bluetooth and NFC for a full week
        46. An iPhone with 40 GB free on strong office Wi-Fi keeps failing to check for an iOS update. The company recently installed an always-on VPN profile. What does Apple say can cause this?

          1. VPN or proxy connections can stop it reaching the update servers
          2. iOS updates must download over cellular data rather than over Wi-Fi
          3. Every iOS update needs at least 64 GB of free storage first
          4. Updates only install when the battery is below half charge
        47. A user jailbroke a company-owned iPhone to install unofficial tweaks. Which risk does Apple specifically warn about?

          1. The phone receives new iOS releases sooner than other phones do
          2. The phone switches to a second, stronger passcode it creates itself
          3. Its bypassed security raises the risk of malware and data theft
          4. Battery life and call quality improve because Apple apps stop running
        48. After installing a 'free premium' copy of a paid app from a website instead of Google Play, an Android user sees a flood of ads, a data-usage warning and fast battery drain. What should the technician do?

          1. Turn off Google Play Protect so it stops blocking the new app
          2. Give the app device administrator rights so it can stop the ads
          3. Remove the sideloaded app and run a Google Play Protect scan
          4. Raise the mobile data limit so the usage warning goes away
        49. After replacing a desktop's CMOS battery, a user reports that every HTTPS site, including well-known ones, now shows a certificate warning. The system date reads January 1, 2016. What is the cause?

          1. The wrong date puts the time outside the certificates' validity
          2. Every one of those sites let its certificate expire on the same day
          3. The browser's cache is corrupted and is serving stale pages
          4. A proxy is intercepting all HTTPS traffic from the desktop
        50. Overnight, files on a user's PC and on a mapped network share were renamed with a strange extension and will not open, and a text file in each folder demands payment. What should the technician do first?

          1. Rename the files back to their original extensions
          2. Restore the share from last night's backup while the PC stays connected
          3. Isolate the PC from the network, then follow the incident plan
          4. Delete the ransom notes with Disk Cleanup and reboot
        51. A technician is closing a ticket for a user whose shared printer stopped printing. Which resolution note best meets ticketing best practice?

          1. Spent 40 minutes on this; the user kept interrupting, but it is all working again now.
          2. Escalated to Tier 2 since the printer is old and will probably need replacing soon anyway.
          3. Ran several tools on the print server until the queue started moving again; closing now.
          4. Print Spooler had stopped on PRN-SRV2; restarted it, printed a test page with the user, confirmed fixed.
        52. Adding memory to a file server during the regular maintenance window, using a documented procedure that the change board approved in advance for this kind of work, is which change type?

          1. A standard change
          2. A normal change
          3. An emergency change
          4. A change freeze
        53. Before a weekend upgrade of the accounting application, the change board asks: 'If the upgrade fails at 2 a.m., how will you put the system back the way it was?' Which part of the change request answers this?

          1. The scope of the change
          2. The rollback plan
          3. End-user acceptance
          4. Sandbox testing
        54. A server gets a full backup every Sunday night and an incremental backup every other night. Its disk fails on Thursday afternoon. Which backups are needed to restore it to its state as of Wednesday night?

          1. Sunday's full plus Wednesday's incremental, which holds all of the week's changes
          2. Wednesday's incremental only
          3. Sunday's full only
          4. Sunday's full plus Monday's, Tuesday's and Wednesday's incrementals
        55. A small business keeps its accounting data on one PC and a backup on an external drive in the same office. What else does it need to meet the 3-2-1 backup rule?

          1. A second external drive kept in the same locked desk drawer
          2. A further backup copy kept offsite, such as a cloud backup
          3. A RAID 1 mirror inside the PC that holds the data
          4. Nightly full backups to the existing external drive
        56. Why does the ESD Association say a technician must not wear a grounded wrist strap when exposed to circuits of 250 volts or more, such as inside a power supply?

          1. The strap would drain the supply's capacitors too fast and damage them
          2. Power supply parts cannot be harmed by static, so the strap is pointless
          3. High voltage makes the strap build up its own static charge on the wearer's arm
          4. The strap's current-limiting resistor is typically rated for only 250 volts
        57. A small fire starts in an energized UPS in the server room. Under the OSHA fire classes, what class of fire is this, and what extinguishing media does it call for?

          1. Class A, which is put out with water from a standard extinguisher
          2. Class B, which is meant for flammable liquids and gases
          3. Class C, which needs electrically nonconductive media such as CO2
          4. Class D, which is designed for burning combustible metals
        58. A technician must dispose of a box of used toner cartridges and wants the manufacturer's guidance on disposal methods and containers. Which section of the safety data sheet should be checked?

          1. Section 8, Exposure Controls/Personal Protection
          2. Section 7, Handling and Storage
          3. Section 13, Disposal Considerations
          4. Section 2, Hazard(s) Identification
        59. A laptop's swollen lithium-ion battery has been removed. How should it be disposed of, according to the EPA?

          1. At a battery recycling or hazardous waste drop-off, terminals taped
          2. In the household recycling bin, sorted in with the plastics and paper
          3. In the household garbage, sealed inside two plastic bags
          4. In the regular trash once it has been fully discharged
        60. A technician responding to a suspected intrusion on a server that is still running must collect evidence. Following RFC 3227's order of volatility, what should be captured first of these?

          1. A bit-level copy of the server's hard disk
          2. Remote logging and monitoring data collected about the server
          3. Memory contents, including the process table and ARP cache
          4. The archival backup media for the server

        What this set covers

        • Windows tools1 questions
        • Windows command-line tools3 questions
        • Windows settings1 questions
        • Windows networking2 questions
        • macOS features and tools2 questions
        • Linux features and tools2 questions
        • Application installation1 questions
        • Cloud productivity tools1 questions
        • Security measures3 questions
        • Windows security settings3 questions
        • Wireless security and authentication2 questions
        • Malware2 questions
        • Social engineering and threats3 questions
        • Malware removal procedure2 questions
        • PC security troubleshooting4 questions
        • Workstation hardening1 questions
        • Mobile device security1 questions
        • Data destruction and disposal1 questions
        • SOHO network security1 questions
        • Browser security1 questions
        • Windows OS troubleshooting6 questions
        • Mobile OS and app troubleshooting5 questions
        • Mobile security troubleshooting2 questions
        • Documentation and ticketing1 questions
        • Change management2 questions
        • Backup and recovery2 questions
        • Safety procedures2 questions
        • Environmental controls2 questions
        • Privacy, licensing and policy1 questions

        Next: Quick practice test

        More practice for this exam

        1. Core 1 practice test60 questions · 1 h
        2. Quick practice test20 questions · 20 min

        All practice for the CompTIA A+

        Independent practice. The Work Gym isn't affiliated with CompTIA, and these aren't official CompTIA questions. CompTIA A+® is a registered trademark of CompTIA, Inc.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.