HomeCompTIA Exam Prep 2026 TestQuestions 21–30
CompTIAPart 3 of 3

CompTIA Exam Questions & Answers 2026 (21–30)

CompTIA practice questions and answers 2026. Tap an option to test yourself — you'll see the correct answer and a plain-English explanation for every question. Free, no login.

Practise CompTIA questions free, download the PDF, or unlock timed mock exams when you are ready.
Download PDFWatch video
Multiple choice — pick the best answer, then reveal it
  1. Q21What is the primary benefit of retaining audit logs for an extended period in a cybersecurity program?

    • ATo enforce strict password policies
    • BTo encrypt all network traffic
    • CTo eliminate the need for security policies
    • DTo support forensic investigations and incident response
    Show answer

    ✓ Correct answer: D. To support forensic investigations and incident response

    Long-term audit log retention provides historical records that can be analyzed during forensic investigations, incident response activities, and compliance audits, enabling organizations to reconstruct events and gather evidence.

  2. Q22The CISO has requested a report identifying which incident response processes need improvement following a recent security incident. What type of document addresses this request?

    • APreparation
    • BContainment
    • CDetection
    • DLessons learned
    Show answer

    ✓ Correct answer: D. Lessons learned

    A lessons-learned report is produced after an incident to review what went well, what did not, and which processes need improvement. It is a key output of the post-incident activity phase and is used to strengthen future incident response capabilities.

  3. Q23Which network device forwards packets across multiple networks and uses routing tables to determine the optimal path to a destination?

    • ASwitches
    • BHubs
    • CRouters
    • DBridges
    Show answer

    ✓ Correct answer: C. Routers

    Routers operate at Layer 3 of the OSI model and use routing tables to determine the best path for forwarding packets across different networks. Switches forward frames within a single network based on MAC addresses. Bridges connect two network segments. Hubs broadcast traffic to all connected ports.

  4. Q24Under what circumstances is it acceptable to yell at a user?

    • AWhen they repeat a mistake for the fifth time
    • BWhen they repeat the same mistake a second time
    • CWhen they interrupt your troubleshooting
    • DNever
    Show answer

    ✓ Correct answer: D. Never

    It is never acceptable to get angry or raise your voice at a customer or user under any circumstances.

  5. Q25You are purchasing an inkjet printer cartridge for home use and want an MSDS (Material Safety Data Sheet) for it. How do you obtain one?

    • AAsk the store to provide one at the time of purchase.
    • BYou are not legally permitted to obtain an MSDS for consumer products.
    • CVisit the printer cartridge manufacturer's website.
    • DIt is included in the product packaging.
    Show answer

    ✓ Correct answer: C. Visit the printer cartridge manufacturer's website.

    The MSDS can be downloaded from the manufacturer's website. Retailers are not required to provide one at purchase, and it is not required to be included in packaging. OSHA regulations do allow consumers to obtain MSDS documents, and it is advisable to have them in case of an emergency.

  6. Q26Which CPU component handles primary processing operations?

    • AALU
    • BRegisters
    • CPipeline
    • DFPU
    Show answer

    ✓ Correct answer: A. ALU

    The Arithmetic Logic Unit (ALU) is responsible for performing the primary processing duties within the CPU.

  7. Q27A technician cannot find a mechanical reason for a printer failure and asks you to restart the Windows background service that manages the printer queue. What is the name of that service?

    • AMaintenance Services
    • BWinPrint
    • CPrint Spooler
    • DWindows Printing Services
    Show answer

    ✓ Correct answer: C. Print Spooler

    The Print Spooler is the Windows service that manages print job queuing and communication between applications and printers. Restarting it often resolves stalled or unresponsive printing.

  8. Q28Which feature built into modern memory modules allows a motherboard to automatically configure memory at the correct speed and latency settings?

    • ASpinning pinwheel
    • BSPD
    • CVirtual memory
    • DTriple-channel
    Show answer

    ✓ Correct answer: B. SPD

    The Serial Presence Detect (SPD) chip on a memory module stores information about the module's speed, capacity, and latency, enabling the motherboard to configure memory settings correctly at startup.

  9. Q29In a client-server network, what mechanism ensures that data from a client application is delivered to the correct server application?

    • AIP address
    • BSlot number
    • Cport number
    • DMAC address
    Show answer

    ✓ Correct answer: C. port number

    Port numbers direct client application data to the appropriate server application. Common port numbers such as those used by Telnet, SSH, and SMTP are frequently tested on the CompTIA A+ exam.

  10. Q30You are auditing a system that stores credit card data. You notice that the credit card numbers in stored records are partially obscured — for example, only the last four digits are visible. Which data protection technique does this represent?

    • ASensitive Data Replacement (SDR)
    • BData anonymization
    • CData masking
    • DTokenization
    Show answer

    ✓ Correct answer: C. Data masking

    Data masking replaces sensitive data values with altered or partially hidden versions, allowing records to be used or displayed without exposing the complete sensitive value. Showing only the last four digits of a credit card number is a classic example of data masking. Tokenization replaces the sensitive value with a non-sensitive token that references the original via a secure lookup. Anonymization removes or alters data so it can no longer be linked to an individual.

Free practice here. Timed mocks when you are ready.

Use the free CompTIA Exam Prep 2026 Test sample, download the PDF, then unlock web-based timed mock exams for a full exam rehearsal.

Download PDFStart practice test