CompTIA Security+ Practice

Practice 80 original CompTIA Security+ questions covering threats, vulnerabilities, architecture, identity, operations, and governance.

Level: CompTIA Security+ Difficulty: intermediate 80 questions 60 min
Answer each security question, then check your score. Wrong answers are saved locally for review.
Day streak: 0 days Saved only on this device
Progress 0 / 80
Question 1

A payroll file is silently changed so an employee receives a higher salary. Which security goal is violated?

Select an answer
Question 2

An employee receives an email that appears to come from IT and asks for a password due to "urgent account verification." Which attack is this?

Select an answer
Question 3

An attacker calls an employee, pretends to be from the help desk, and asks for a verification code. Which attack is this?

Select an answer
Question 4

A user receives a text message with a link to a fake package tracking page. Which attack is this?

Select an answer
Question 5

A campaign sends personalized emails to selected employees using their names, roles, and job context. Which attack is this?

Select an answer
Question 6

An attacker leaves a USB drive labeled "Salary Data" in a parking lot where employees will find it. Which social engineering technique is this?

Select an answer
Question 7

An attacker follows an employee through a badge-controlled door without using a badge. Which technique is this?

Select an answer
Question 8

An attacker watches a user type a PIN at an ATM. Which technique is this?

Select an answer
Question 9

A person recovers discarded documents containing account details from a trash bin. Which technique is this?

Select an answer
Question 10

An attacker compromises a website that employees of a target company visit frequently. Which technique is this?

Select an answer
Question 11

Malware encrypts files on a workstation and demands payment to restore them. Which type of malware is this?

Select an answer
Question 12

Malware appears to be a legitimate utility but installs a backdoor when executed. Which type of malware is this?

Select an answer
Question 13

Which malware can spread automatically across networks without requiring user interaction?

Select an answer
Question 14

Which malware hides deep inside the operating system to maintain privileged access and evade detection?

Select an answer
Question 15

A large group of compromised devices is used together to launch DDoS attacks. What is the group called?

Select an answer
Question 16

Which symptoms may indicate malware infection? Select all that apply.

Select an answer
Question 17

Which are social engineering techniques? Select all that apply.

Select an answer
Question 18

An email-based attack that targets a specific person using their name and context is called ___ phishing.

Select an answer
Question 19

Match each social engineering attack to its channel.

Question 20

Match each malware type to its behavior.

Question 21

A vulnerability exists in software, no vendor patch is available, and an attacker exploits it the same day it becomes known. What is this called?

Select an answer
Question 22

Which standardized scoring system measures the severity of a vulnerability?

Select an answer
Question 23

What is the main difference between a vulnerability scan and a penetration test?

Select an answer
Question 24

Why is a patch management process important?

Select an answer
Question 25

Which control best prevents SQL injection?

Select an answer
Question 26

An attacker injects a script that executes in another user browser. What should the developer apply to prevent this?

Select an answer
Question 27

Writing more data than a buffer can hold is known as what?

Select an answer
Question 28

An attacker forces a running process to load a malicious library. Which technique is this?

Select an answer
Question 29

Which encryption method uses the same key to encrypt and decrypt data?

Select an answer
Question 30

RSA uses which cryptographic model?

Select an answer
Question 31

Which cryptographic function provides integrity by producing a fixed-size digest?

Select an answer
Question 32

A document is signed with the sender private key. What does the recipient verify using the sender public key?

Select an answer
Question 33

What is the purpose of a digital certificate in PKI?

Select an answer
Question 34

A certificate is compromised before it expires. Which mechanisms allow clients to check its current status?

Select an answer
Question 35

Sending a secret key by email is unsafe because it travels in ___ text.

Question 36

Which controls help verify data integrity? Select all that apply.

Select an answer
Question 37

Which practices reduce the risk of password cracking? Select all that apply.

Select an answer
Question 38

Match each cryptographic concept to its role.

Question 39

The protocol that provides real-time certificate status checks is abbreviated ___.

Question 40

Match each cryptographic technology to its typical use.

Question 41

What does multi-factor authentication (MFA) require?

Select an answer
Question 42

Which authentication factor is "something you have"?

Select an answer
Question 43

Access is granted based on the user job role. Which access control model is this?

Select an answer
Question 44

Users should have only the permissions needed to perform their job. Which principle does this describe?

Select an answer
Question 45

Which system is designed to protect, rotate, and audit administrative account credentials?

Select an answer
Question 46

What is a key benefit of using a password manager?

Select an answer
Question 47

A user signs in once and can access multiple applications without signing in again. Which technology is this?

Select an answer
Question 48

Which device filters traffic based on a defined set of security rules?

Select an answer
Question 49

What distinguishes an intrusion prevention system (IPS) from an intrusion detection system (IDS)?

Select an answer
Question 50

How does network segmentation limit the impact of an attack?

Select an answer
Question 51

Which network zone is designed to host public-facing services while protecting the internal network?

Select an answer
Question 52

Which control inspects web traffic and protects applications from attacks such as XSS and SQL injection?

Select an answer
Question 53

What is a VPN primarily used for?

Select an answer
Question 54

A security model assumes no user or device is trusted by default, even inside the network. Which model is this?

Select an answer
Question 55

Which technology monitors endpoints and automatically responds to threats using behavioral detection?

Select an answer
Question 56

In the cloud shared responsibility model, which tasks typically remain the customer responsibility? Select all that apply.

Select an answer
Question 57

Which controls can help prevent lateral movement inside a network? Select all that apply.

Select an answer
Question 58

A security model that verifies every request before granting access is called ___ trust.

Question 59

A hardware appliance that securely stores cryptographic keys and performs signing operations is called a hardware security ___.

Question 60

Match each security control to where it primarily operates.

Question 61

What should an incident response team do first during an active security incident?

Select an answer
Question 62

During an active ransomware outbreak, what is the first containment step?

Select an answer
Question 63

Why is chain of custody important in digital forensics?

Select an answer
Question 64

What should an investigator do before analyzing a forensic drive?

Select an answer
Question 65

Which system collects and correlates logs from many sources for alerting and analysis?

Select an answer
Question 66

Which log is most useful for detecting unauthorized account access?

Select an answer
Question 67

What does a data retention policy define?

Select an answer
Question 68

Which regulation focuses on personal data protection for individuals in the European Union?

Select an answer
Question 69

Which standard specifically addresses the protection of cardholder data?

Select an answer
Question 70

How is risk typically calculated?

Select an answer
Question 71

An organization purchases cyber insurance to handle potential financial losses. Which risk strategy is this?

Select an answer
Question 72

What is the main purpose of a business continuity plan (BCP)?

Select an answer
Question 73

Which metric defines the maximum tolerable data loss, measured in time?

Select an answer
Question 74

Which metric defines the maximum time allowed to restore operations after a disaster?

Select an answer
Question 75

A team walks through a scenario to review incident procedures without deploying changes. Which exercise is this?

Select an answer
Question 76

Which practices support forensic evidence integrity? Select all that apply.

Select an answer
Question 77

Which controls reduce insider threat risk? Select all that apply.

Select an answer
Question 78

The maximum acceptable data loss measured in time is the recovery point ___.

Question 79

The documented sequence of evidence custody is called the chain of ___.

Question 80

Match each incident response phase to its main action.