StudyToCert

All certifications / Security+ / Lessons

CompTIA Security+ SY0-701 · Domain 1: General security concepts

Control types: preventive, deterrent, detective, corrective, compensating, directive

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Control types describe what a security measure is meant to do, not who runs it. Preventive controls stop a problem before it happens, like a lock. Deterrent controls discourage someone from trying, like a warning sign. Detective controls notice a problem while or after it happens, like a security camera recording or an alert. Corrective controls fix things after damage, like restoring files from a backup. Compensating controls are a substitute used when the normal control is not possible, such as extra monitoring on an old machine that cannot be updated. Directive controls tell people what to do, like a policy or a sign saying staff must wear badges. Picture a store: the locked case prevents, the sign deters, the camera detects, insurance and repairs correct, and the employee handbook directs.

At 2:10 a.m. your phone buzzes. You are on call for Pinecrest Logistics, and the alert says a file server is renaming thousands of documents with a strange extension. By 2:30 the endpoint agent has isolated the server, and by morning the files are restored from last night's backup. In the post-incident meeting, your manager draws a timeline on the whiteboard and asks the room a simple question: "Which of our controls tried to stop this, which ones only noticed it, and which ones cleaned it up?" Nobody answers right away. If you had to label each control by what it actually did, could you?

Control types describe what a control does to a threat, independent of how it is implemented. SY0-701 lists six: preventive, deterrent, detective, corrective, compensating and directive. Every control has a category (technical, managerial, operational or physical) and a type, and exam questions deliberately mix the two lists, so knowing both vocabularies precisely is worth easy points. Understanding types also helps real design work: a good program stops what it can, notices what it cannot stop, and fixes the damage when something gets through.

Start with the two types that act before an incident. Preventive controls stop an incident from happening at all. Firewall rules that block traffic, locked doors, multifactor authentication (MFA), input validation and separation of duties are preventive. Deterrent controls discourage an attacker from trying, but do not physically or technically stop them. Warning signs, visible cameras, login banners that warn of prosecution and lighting around a building are deterrents. The key difference is what happens when someone ignores the control. A preventive control still works against a person who ignores it, while a deterrent only works if the attacker is put off. A fence prevents; a "trespassers will be prosecuted" sign deters.

Next come the types that act during and after an incident. Detective controls identify and record that something happened or is happening. Intrusion detection systems (IDS), log review, security information and event management (SIEM) alerts, audits, file integrity monitoring and motion sensors are detective. In a console you see them as alerts, dashboards and audit reports. They do not stop the event, but they let you respond. Corrective controls fix or reduce damage after an incident: restoring from backup, reimaging an infected host, applying a patch after exploitation, or an intrusion prevention system (IPS) terminating a malicious session. A simple way to hold the pair together is this: detective finds; corrective repairs.

Compensating controls are alternatives used when the preferred control is not possible or practical. If a legacy medical device cannot be patched, isolating it on its own network segment with tight firewall rules compensates for the missing patch. If a small team cannot fully separate duties, extra management review of logs compensates. A compensating control should address the same risk to a similar degree, and it is usually documented as a formal exception, often with an owner who signs off and a date for review. It is not just any additional control; it specifically stands in for one that cannot be used as intended.

Directive controls tell people what to do or not do. Policies, acceptable use agreements, procedures, signs saying "authorized personnel only" and training instructions are directive. They rely on people choosing to comply, which is why they are usually aimed at employees, contractors and visitors who are expected to follow the rules. Compare that with a deterrent, which aims to discourage someone who intends harm by making consequences visible.

A worked walk-through makes the lifecycle clear. Imagine ransomware aimed at a file server. Email filtering and application allow listing are preventive. A policy forbidding users from running unapproved software is directive. The login banner warning that activity is monitored is deterrent. Endpoint detection and response (EDR) raising an alert when files are being mass-encrypted is detective. Restoring the files from immutable backups is corrective. And if the file server runs an old operating system that cannot receive the vendor's fix, putting it behind a restrictive firewall is compensating. One threat, six types, and a question could ask about any of them.

Many controls have more than one type, and the exam wants the best fit for the scenario. A visible camera is detective because it records, and deterrent because people see it. A guard can deter, detect and prevent. When a question describes a single function, answer that function. "Cameras were installed so incidents could be reviewed later" is detective. "Cameras were mounted in plain view to discourage theft" is deterrent. Read the purpose in the sentence rather than picking the control's most famous role.

Watch for a few common mistakes. Calling an IDS preventive is wrong, because it detects; an IPS placed inline can prevent. Calling backups preventive is also wrong, because backups do not stop the incident; they support recovery, so the restore is corrective, though some texts also call backups a recovery control. Learners also confuse deterrent and directive: deterrent discourages attackers with consequences, while directive instructs people who are expected to comply, usually insiders. Finally, people assume a compensating control is any extra control, when it specifically replaces a control that cannot be used as intended.

Question framing tends to follow clue words. "Stop", "block" and "prevent" point to preventive. "Discourage", "warn" and "visible" point to deterrent. "Identify", "alert", "log", "discover" and "after the fact review" point to detective. "Restore", "remediate", "recover" and "fix" point to corrective. "Cannot be patched", "alternative", "legacy" and "exception" point to compensating. "Policy", "instruct", "must" and "acceptable use" point to directive. When a scenario says a requirement cannot be met and asks what to do, compensating is almost always the answer.

Think of it like this Think about protecting a swimming pool. The locked gate is preventive, because it keeps a child out even if the child ignores it. The sign warning of fines for trespassers is deterrent. The posted pool rules are directive. The lifeguard spotting someone in trouble is detective, and pulling them out and giving first aid is corrective. If the gate is broken and cannot be fixed this week, putting a staff member at the entrance is compensating. The analogy weakens for multi-role controls: a real lifeguard also deters, so on the exam read which role the question describes.

Key terms

Preventive control
Stops an incident before it happens, such as a firewall rule, lock or MFA.
Deterrent control
Discourages an attacker from trying, such as a warning sign, visible camera or login banner.
Detective control
Identifies or records an incident, such as an IDS, SIEM alert, audit or log review.
Corrective control
Limits damage and restores normal operation after an incident, such as restoring backups or reimaging.
Compensating control
An alternative control used when the primary control cannot be implemented, addressing the same risk.
Directive control
Instructs people on required behavior, such as a policy, procedure or acceptable use agreement.
Real-world example

A hospital runs an imaging system on an operating system the vendor no longer patches, and replacing it would cost millions. The security team places it on an isolated VLAN, allows only the imaging workstations to reach it, and adds extra monitoring of its traffic. They document these compensating controls in a risk exception signed by the business owner, and review the exception every quarter until the device is replaced.

Common mistakes

You decide

A manufacturing plant has a controller that runs an old operating system and cannot be patched without voiding the vendor's support. The security lead proposes moving it to a separate network segment, allowing only two engineering workstations to reach it, and alerting on any other connection attempt. What type of control is the segmentation, and what should accompany it on paper?

Show the answer

The segmentation is a compensating control, because it reduces the same risk the missing patch would have addressed. It should be documented as a formal risk exception with a business owner's sign-off and a scheduled review date. The alerting on other connection attempts is a separate detective control.

Exam tip: When a question says the normal control "cannot" be applied, look for compensating. When a control only discourages but would not physically stop a determined attacker, it is deterrent, not preventive.

Check yourself

An IDS alerts on suspicious traffic but does not block it. What type of control is it?

Detective, because it identifies and reports the activity without stopping it.

A company cannot enable MFA on a legacy application, so it restricts access to that app to a single jump server with MFA. What type of control is this?

Compensating, because it provides an alternative way to reduce the same risk when the preferred control is not possible.

A sign reading "Visitors must sign in at reception" is posted in the lobby. Is it deterrent or directive?

Directive, because it instructs people what to do rather than threatening consequences to discourage an attacker.

Why is restoring from backup considered corrective rather than preventive?

It does not stop the incident; it repairs the damage and returns systems to normal afterward.

Study Security+ for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Security+ study plan