CompTIA A+ Core 2 Domain 2: Security
61 free practice questions for Security in the CompTIA A+ Core 2 (220-1202) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Security practice questions
-
Question 1. A data center wants to stop vehicles from being driven into the building entrance. Which physical control fits?
Show answer
Answer: A. Bollards in front of the entrance
Bollards are sturdy posts that stop vehicles reaching a building or entrance.
-
Question 2. An office entrance has two doors, and the second door opens only after the first has closed and the person has been verified. What is this called?
Show answer
Answer: B. An access control vestibule
An access control vestibule (formerly mantrap) holds one person between two doors, which prevents tailgating.
-
Question 3. A venue scans visitors for metal weapons as they walk through the entrance. Which device is used?
Show answer
Answer: A. A magnetometer
Magnetometers (metal detectors) detect metal objects carried by people.
-
Question 4. Which physical access method lets employees unlock doors by tapping their phone against a reader?
Show answer
Answer: C. A mobile digital key stored on the phone
Mobile digital keys store an access credential on the phone and use NFC or Bluetooth at the reader.
-
Question 5. Which biometric method identifies a person by the pattern of blood vessels at the back of the eye?
Show answer
Answer: D. A retina scanner
Retina scanners map the blood vessels of the retina. Palm, fingerprint, face, and voice are other biometric factors.
-
Question 6. A help desk technician is given only the permissions needed to reset passwords, not to change server settings. Which principle is this?
Show answer
Answer: A. The principle of least privilege
Least privilege gives each user only the access needed for their job, which limits the damage from mistakes or compromised accounts.
-
Question 7. A company stops trusting devices just because they are on the internal network and checks every request for identity and device health. Which model is this?
Show answer
Answer: D. Zero Trust
Zero Trust means "never trust, always verify": every access request is authenticated and authorized, wherever it comes from.
-
Question 8. Which MFA method generates a new six-digit code every 30 seconds in an app on the user's phone?
Show answer
Answer: B. A time-based one-time password (TOTP) authenticator app
TOTP apps compute short-lived codes from a shared secret and the current time.
-
Question 9. Why are SMS codes considered a weaker MFA method than an authenticator app or hardware token?
Show answer
Answer: C. Text messages can be intercepted or redirected, for example by SIM swapping
SMS codes can be stolen through SIM swapping or interception, so app-based or hardware tokens are stronger.
-
Question 10. Employees sign in once and then open the company's web apps without entering credentials again. Which technology provides this, often using SAML?
Show answer
Answer: D. Single sign-on (SSO)
SSO lets one authentication grant access to many applications. SAML is a common standard for passing that identity to web apps.
-
Question 11. Administrators receive elevated rights only when they request them for a task, and the rights expire automatically afterward. What is this approach?
Show answer
Answer: C. Just-in-time access managed through privileged access management (PAM)
Just-in-time access with PAM reduces standing privileges, so admin rights exist only when needed and are logged.
-
Question 12. A company wants to stop employees emailing files that contain credit card numbers outside the organization. Which technology is designed for this?
Show answer
Answer: B. Data loss prevention (DLP)
DLP inspects data in use, in motion, or at rest and can block or alert on sensitive content such as card numbers.
-
Question 13. Which service stores user accounts, groups, and computers centrally so that they can sign in across an organization?
Show answer
Answer: A. A directory service such as Active Directory
Directory services hold identities and groups centrally and authenticate users across the network.
-
Question 14. Which Wi-Fi security protocol replaces the pre-shared key handshake with SAE to resist offline password-guessing attacks?
Show answer
Answer: C. WPA3
WPA3-Personal uses Simultaneous Authentication of Equals (SAE), which protects against offline dictionary attacks on captured handshakes.
-
Question 15. An older wireless network is configured for WPA2 with TKIP. What should be changed?
Show answer
Answer: D. Use AES (CCMP) encryption, because TKIP is outdated and weak
TKIP was a stopgap from the WEP era and is deprecated. WPA2 and WPA3 should use AES.
-
Question 16. Which authentication protocol, used by Active Directory, issues tickets so that users do not send their passwords across the network to each service?
Show answer
Answer: B. Kerberos
Kerberos uses a ticket-granting system so users authenticate once and receive tickets for services. RADIUS and TACACS+ are AAA protocols.
-
Question 17. Which AAA protocol separates authentication, authorization, and accounting and is often used for administrator access to network devices?
Show answer
Answer: A. TACACS+
TACACS+ handles each AAA function separately and encrypts the whole payload, which suits device administration. RADIUS combines authentication and authorization.
-
Question 18. A user opens what looks like a free game, and it secretly installs a backdoor. What type of malware is this?
Show answer
Answer: A. A Trojan
A Trojan disguises itself as legitimate software to trick users into running it, then performs hidden malicious actions.
-
Question 19. Malware hides itself deep in the operating system so that antivirus scans running inside Windows cannot see it. What is this?
Show answer
Answer: D. A rootkit
Rootkits gain privileged access and conceal themselves and other malware. Scanning from outside the OS, such as from boot media, helps find them.
-
Question 20. A PC's fans run at full speed and the CPU stays near 100% because hidden software is generating cryptocurrency. What is this malware called?
Show answer
Answer: B. A cryptominer
Cryptominers (cryptojackers) steal computing power to mine cryptocurrency, causing high CPU use, heat, and slowness.
-
Question 21. A user suspects that a partner installed an app on their phone that secretly tracks their location and reads their messages. What is this type of software?
Show answer
Answer: C. Stalkerware
Stalkerware is spyware used to monitor a specific person covertly, often installed by someone with physical access to the device.
-
Question 22. Malware runs entirely in memory using built-in tools such as PowerShell and leaves no executable file on disk. What is this called?
Show answer
Answer: C. Fileless malware
Fileless malware abuses legitimate tools and lives in memory or the registry, which makes file-based antivirus less effective.
-
Question 23. A free utility came bundled with a browser toolbar that changes the home page but is not clearly malicious. How is this usually classified?
Show answer
Answer: B. A potentially unwanted program (PUP)
PUPs are unwanted programs often bundled with other software, such as toolbars and adware. They are flagged but are not always malicious.
-
Question 24. Which security tool continuously monitors endpoints for suspicious behaviour and lets analysts investigate and isolate a compromised PC?
Show answer
Answer: A. Endpoint detection and response (EDR)
EDR records endpoint activity, detects suspicious behaviour, and supports investigation and response such as isolating the device.
-
Question 25. A small company has no security staff and pays an outside provider to monitor and respond to threats on its endpoints around the clock. What is this service?
Show answer
Answer: D. Managed detection and response (MDR)
MDR is a managed service where an external team monitors, investigates, and responds using detection tools. XDR correlates data across many sources.
-
Question 26. Which tool filters incoming mail for spam, phishing, and malicious attachments before it reaches users' inboxes?
Show answer
Answer: B. An email security gateway
An email security gateway scans mail for spam, phishing links, and malware attachments at the edge of the mail system.
-
Question 27. A user receives a phone call from someone claiming to be the bank, asking them to read out a one-time code. What is this attack?
Show answer
Answer: A. Vishing
Vishing is voice phishing. Smishing uses text messages, and whaling targets senior executives.
-
Question 28. Posters in a parking lot have QR codes that lead to a fake payment site that steals card details. What is this attack?
Show answer
Answer: C. QR code phishing
QR code phishing (quishing) uses QR codes to send victims to malicious sites, bypassing link checks in email.
-
Question 29. An attacker sends a carefully researched email to the company's CFO, pretending to be the CEO and asking for an urgent wire transfer. What is this?
Show answer
Answer: D. Whaling
Whaling is spear phishing aimed at senior executives. Requests for urgent payments are typical.
-
Question 30. A visitor carrying two boxes asks an employee to hold the server-room door open for them, and walks in without scanning a badge. Which social engineering technique is this?
Show answer
Answer: A. Tailgating, helped by the employee's politeness
Tailgating (piggybacking) is entering a secure area behind an authorized person. Access control vestibules and training reduce it.
-
Question 31. An attacker watches a user type their PIN at a coffee shop. What is this?
Show answer
Answer: B. Shoulder surfing
Shoulder surfing is observing someone's screen or keypad to steal information. Privacy filters and awareness help.
-
Question 32. An attacker searches through a company's rubbish bins for printed invoices and old notes with passwords. What is this called?
Show answer
Answer: D. Dumpster diving
Dumpster diving recovers useful information from discarded material. Shredding documents prevents it.
-
Question 33. In a hotel, a laptop connects to a Wi-Fi network with the hotel's name, but it is actually a rogue access point run by an attacker. What is this?
Show answer
Answer: C. An evil twin
An evil twin imitates a legitimate SSID so victims connect and their traffic can be intercepted.
-
Question 34. Thousands of compromised devices flood a company's website with traffic until it stops responding. What is this attack?
Show answer
Answer: B. A distributed denial of service (DDoS)
A DDoS uses many sources to overwhelm a target. A DoS comes from one source.
-
Question 35. Attackers exploit a flaw in software that the vendor does not know about yet and has not patched. What is this?
Show answer
Answer: A. A zero-day attack
A zero-day exploits a vulnerability before a fix is available, so patching alone cannot prevent it.
-
Question 36. An attacker tries every word in a large list of common passwords against a user account. What is this attack?
Show answer
Answer: C. A dictionary attack
A dictionary attack tries likely passwords from a wordlist. A brute-force attack tries every possible combination.
-
Question 37. An attacker positions themselves between a user and a website to read and alter traffic. What is this called?
Show answer
Answer: D. An on-path attack
An on-path (formerly man-in-the-middle) attack intercepts communication between two parties.
-
Question 38. A web form passes user input straight into a database query, and an attacker enters code that dumps the customer table. What is this attack?
Show answer
Answer: B. SQL injection
SQL injection inserts database commands through unvalidated input. Parameterized queries prevent it.
-
Question 39. Attackers compromise a trusted software vendor's update server and push malware to all of its customers. What type of attack is this?
Show answer
Answer: C. A supply chain attack
A supply chain attack compromises a supplier or build pipeline to reach many downstream victims.
-
Question 40. A disgruntled employee copies confidential files before leaving the company. Which threat does this represent?
Show answer
Answer: A. An insider threat
Insider threats come from people with legitimate access, such as employees or contractors, whether malicious or careless.
-
Question 41. Which Windows setting prompts for permission or administrator credentials before a program makes system-level changes?
Show answer
Answer: D. User Account Control (UAC)
UAC runs apps with standard rights and asks for consent or admin credentials when elevation is needed.
-
Question 42. A user needs to encrypt a USB flash drive so the data is protected if it is lost. Which Windows feature does this?
Show answer
Answer: B. BitLocker To Go
BitLocker To Go encrypts removable drives, protected by a password or smart card.
-
Question 43. A user wants to encrypt a single folder of files on an NTFS drive so that only their account can read them. Which feature does this?
Show answer
Answer: A. Encrypting File System (EFS)
EFS encrypts individual files and folders on NTFS, tied to the user's certificate. BitLocker encrypts whole volumes.
-
Question 44. A shared folder grants Everyone "Full Control" at the share level, and the NTFS permissions give the Sales group "Read". What access does a Sales user have over the network?
Show answer
Answer: D. Read, because the most restrictive of the share and NTFS permissions applies
Over the network, the effective permission is the more restrictive of the share and NTFS permissions.
-
Question 45. A file is moved to a new folder on the same NTFS volume. What usually happens to its permissions?
Show answer
Answer: C. It keeps its original permissions when moved within the same volume
Moving within a volume keeps explicit permissions; copying, or moving to another volume, inherits the destination folder's permissions.
-
Question 46. A user wants to sign in to Windows with a PIN or face recognition instead of a password. Which feature provides this?
Show answer
Answer: A. Windows Hello
Windows Hello provides PIN, facial, and fingerprint sign-in. The PIN is tied to the device, not the account password.
-
Question 47. A technician needs to place several user accounts in Active Directory so that one Group Policy applies to them. What should be done?
Show answer
Answer: C. Move the accounts into an organizational unit (OU) linked to that policy
Group Policy is linked to OUs (and sites and domains). Moving objects into the right OU applies its policies.
-
Question 48. Users' Documents folders should be stored on a file server so they are backed up centrally, while still appearing local. Which Active Directory feature does this?
Show answer
Answer: B. Folder redirection
Folder redirection points known folders such as Documents to a network location, so data is stored and backed up on the server.
-
Question 49. Which account setting helps protect against brute-force password guessing on a workstation?
Show answer
Answer: D. Lock the account after a set number of failed sign-in attempts
Account lockout after failed attempts slows down or stops password guessing. Disable the guest account and use screen locks too.
-
Question 50. Why should AutoRun and AutoPlay be disabled on workstations?
Show answer
Answer: C. They can run malicious code automatically when removable media is inserted
AutoRun has been used by malware to spread through USB drives. Disabling it requires users to open media deliberately.
-
Question 51. Which step should be taken on every new workstation and network device before deployment?
Show answer
Answer: A. Change the default administrator account name and password
Default credentials are widely published, so changing them is a basic hardening step.
-
Question 52. A company laptop is reported stolen. Which mobile security measure can remove company data from it?
Show answer
Answer: D. A remote wipe sent through MDM
MDM can remotely wipe a lost device, or wipe only company data on BYOD devices. Device encryption protects data until then.
-
Question 53. A company wants employees' phones to erase all data after 10 failed unlock attempts. What is this setting?
Show answer
Answer: B. A failed log-in attempts restriction
Limiting failed attempts, with lockouts or a wipe, protects data if a phone is lost or stolen.
-
Question 54. Old hard drives containing customer data must be destroyed so they can never be read. Which method is most suitable?
Show answer
Answer: A. Physical destruction, such as shredding or drilling the drives
Physical destruction makes data unrecoverable. A standard format or deletion leaves data that recovery tools can read.
-
Question 55. A degausser is used on a stack of old drives. Which drive type will it NOT reliably erase?
Show answer
Answer: D. Solid-state drives, which store data in flash memory, not magnetically
Degaussing erases magnetic media. SSDs use flash memory, so they need secure erase or physical destruction.
-
Question 56. A company hires a vendor to destroy its old drives. What should it get from the vendor as proof?
Show answer
Answer: B. A certificate of destruction
A certificate of destruction documents that the media were destroyed, which supports compliance and audits.
-
Question 57. Which SOHO router setting should be disabled because it lets devices open ports automatically without the owner's knowledge?
Show answer
Answer: C. Universal Plug and Play (UPnP)
UPnP lets applications and devices open inbound ports automatically, which malware can abuse.
-
Question 58. A home office wants visitors to have internet access without reaching the office PCs and printer. What should be configured on the wireless router?
Show answer
Answer: A. A guest network that is isolated from the main network
A guest network gives internet access while isolating guests from internal devices.
-
Question 59. Which browser practice helps confirm that a downloaded installer has not been tampered with?
Show answer
Answer: D. Compare the file's hash with the one published by the vendor
A matching hash (such as SHA-256) shows the file is identical to what the vendor published.
-
Question 60. A browser shows a warning that a site's certificate is invalid on a banking website. What should the user do?
Show answer
Answer: B. Not continue to the site, and report the warning
Certificate warnings can indicate an on-path attack or a fake site. Users should not enter credentials when they appear.
-
Question 61. Which browser feature helps users create and store a unique strong password for every website?
Show answer
Answer: C. A password manager
Password managers generate and store unique passwords, so a breach at one site does not expose others.
CompTIA and A+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.