Integrity

In AP Cybersecurity, integrity is the CIA-triad principle that ensures data are accurate and trustworthy. A system that lacks integrity is vulnerable to data manipulation, where an adversary changes information without authorization (EK 2.1.F.1).

Verified for the 2027 AP Cybersecurity examLast updated June 2026

What is integrity?

Integrity is one of the three core security principles in the CIA triad: confidentiality, integrity, and availability. Its job is simple to say but huge in practice. It makes sure your data are accurate and trustworthy, and that nobody has tampered with them behind your back. If a system has strong integrity, you can trust that the bank balance, the medical record, or the file you downloaded is exactly what it's supposed to be.

When a system lacks integrity, it's vulnerable to data manipulation (EK 2.1.F.1). That's an adversary quietly changing values, swapping out a file, or editing a record so the numbers lie. Security controls that protect integrity catch or prevent that tampering. Think hashing (a digital fingerprint that breaks if even one character changes), digital signatures, checksums, and access controls that limit who can edit what. The point isn't to keep data secret, that's confidentiality's job. The point is to keep data correct.

Why integrity matters in AP Cybersecurity

Integrity lives in Unit 2: Securing Spaces, specifically Topic 2.1 Cyber Foundations, and it's part of learning objective AP Cybersecurity 2.1.F (identify types of security controls). Every security control you learn maps to at least one CIA principle, so knowing which controls protect integrity (versus confidentiality or availability) is exactly the kind of sorting the exam asks you to do. It also feeds directly into risk assessment (LO 2.1.D) and defense in depth (LO 2.1.G), because protecting integrity is one of the reasons you layer controls in the first place.

Keep studying AP Cybersecurity Unit 2

How integrity connects across the course

CIA Triad (Unit 2)

Integrity is the middle letter of the CIA triad. The whole framework is just three questions: is the data secret (confidentiality), is it correct (integrity), and can you get to it (availability)? Master the triad and integrity falls into place.

Confidentiality (Unit 2)

Confidentiality keeps data secret; integrity keeps data correct. They sound similar but solve opposite problems. Encrypting a file hides it (confidentiality), while hashing it lets you detect if it was altered (integrity).

Defense in Depth / Layered Defense (Unit 2)

One reason you stack multiple security controls is so that if one fails, another still protects integrity. If an adversary slips past a firewall, an integrity check on a file can still catch the tampering they tried to do.

Risk Assessment (Unit 2)

Risk is a threat exploiting a vulnerability to compromise an asset (EK 2.1.D.1). A lack of integrity is the vulnerability, data manipulation is the threat, and the corrupted data is the compromised asset. Integrity controls reduce that risk.

Is integrity on the AP Cybersecurity exam?

Expect this on multiple-choice questions that hand you a scenario or a control and ask which CIA principle it protects. A classic stem is "Which of the following is an example of a security control that protects integrity?" The trick is to NOT pick the confidentiality answer. If a control hides or restricts access to data, that's confidentiality. If it detects or prevents data from being changed (hashing, checksums, digital signatures), that's integrity. You may also see the flip side: "A system that lacks integrity is vulnerable to which threat?" The answer is data manipulation. Know the one-to-one pairings cold.

Integrity vs confidentiality

These two get mixed up constantly because they're both CIA principles and both involve protecting data. Confidentiality is about secrecy, making sure only authorized people can SEE the data, and a system that lacks it is vulnerable to data theft. Integrity is about accuracy, making sure the data hasn't been CHANGED, and a system that lacks it is vulnerable to data manipulation. Quick test: if the worry is someone reading it, that's confidentiality; if the worry is someone editing it, that's integrity.

Key things to remember about integrity

  • Integrity is the CIA-triad principle that ensures data are accurate and trustworthy.

  • A system that lacks integrity is vulnerable to data manipulation, not data theft.

  • Integrity controls like hashing, checksums, and digital signatures detect or prevent unauthorized changes to data.

  • Integrity protects correctness, while confidentiality protects secrecy and availability protects access.

  • On the exam, integrity is one of the principles every security control maps to under learning objective 2.1.F.

Frequently asked questions about integrity

What does integrity mean in AP Cybersecurity?

Integrity is the CIA-triad principle that ensures data are accurate and trustworthy (EK 2.1.F.1). A system without integrity can be tampered with, so attackers could change records or files without you knowing.

How is integrity different from confidentiality?

Confidentiality keeps data secret so only authorized people can see it, and losing it leads to data theft. Integrity keeps data correct so it can't be altered, and losing it leads to data manipulation. One protects against reading, the other against editing.

Is encryption an integrity control?

Not primarily. Encryption is mainly a confidentiality control because it hides data from unauthorized people. Integrity is usually protected by hashing, checksums, and digital signatures, which detect whether data has been changed.

What threat does a system that lacks integrity face?

Data manipulation. If integrity controls are missing, an adversary can quietly alter data, like changing a balance or swapping a file, and you'd have no way to detect the tampering.

What are examples of integrity controls for the exam?

Hashing (a digital fingerprint that breaks if data changes), checksums, digital signatures, and access controls that restrict who can edit data. If a control detects or prevents unauthorized changes, it protects integrity.

Keep studying AP Cybersecurity

Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.