Controls and core principles

7 free practice questions for the CompTIA® Security+® (SY0-801) exam, from the core concepts domain. Pick an answer, then open the explanation to check it.

Every question is original and written for Gapwise with AI. Two separate AI reviewers answered each one without seeing the answer key and checked it against the cited public sources. These are not real exam questions.

Question 1 Multiple answers

A manufacturing company's security team is labeling controls with the categories managerial/administrative, operational, technical/logical, and physical/environmental. Which three labels are correct? (Select three.)
  1. A. Yearly risk assessment of business systems: managerial/administrative
  2. B. Full-disk encryption on every staff laptop and tablet: operational
  3. C. Server room temperature and humidity controls: physical/environmental
  4. D. Locked cabinets for paper personnel files: managerial/administrative
  5. E. Phishing awareness sessions run by security trainers: operational
  6. F. Host firewall rules on office workstations: physical/environmental
Show the answer and explanation

Answers: A. Yearly risk assessment of business systems: managerial/administrative; C. Server room temperature and humidity controls: physical/environmental; E. Phishing awareness sessions run by security trainers: operational

Managerial controls focus on managing risk and the security program, so a risk assessment belongs there. Under the National Institute of Standards and Technology (NIST) definition cited here, operational controls are implemented and executed mainly by people, as trainer-led awareness sessions are. Some frameworks group awareness training with administrative controls instead, but this scheme lists operational as its own category. Climate controls that shield equipment from environmental hazards are physical/environmental. The other labels swap categories: encryption and firewall rules are technical, and locked cabinets are physical.

Why each option is right or wrong

  • A. Correct. A risk assessment focuses on managing risk to the organization, which is what managerial (administrative) controls do.
  • B. Incorrect. Encryption is carried out by software or hardware, which makes it technical, not operational.
  • C. Correct. Climate controls protect the facility and its equipment from environmental hazards, which places them in the physical/environmental category.
  • D. Incorrect. Locked cabinets are a physical barrier. Managerial controls govern risk through policies, plans, and assessments.
  • E. Correct. Awareness sessions are delivered and carried out by people rather than systems, which marks them as operational.
  • F. Incorrect. Firewall rules run in software on the workstation, so they are technical. Physical controls protect facilities and equipment.

References

Question 2 Multiple answers

A water utility is sorting its controls by type. Which two pairings of a control with its type are correct? (Select two.)
  1. A. Lobby turnstiles that admit only one badge holder at a time: directive
  2. B. Restoring a database from the snapshot taken before an attack: corrective
  3. C. A sign at the parking lot entrance warning that guards patrol it: preventive
  4. D. A written rule that files sent to outsiders must be encrypted: compensating
  5. E. A vault motion sensor that sounds an alarm on after-hours entry: detective
  6. F. Blocking known-malicious websites at the company's web proxy: deterring
Show the answer and explanation

Answers: B. Restoring a database from the snapshot taken before an attack: corrective; E. A vault motion sensor that sounds an alarm on after-hours entry: detective

Sort controls by when and how they act: preventive controls stop an event, deterring controls discourage it, detective controls warn that it is happening or has happened, and corrective controls offset its impact afterward. Restoring the pre-attack snapshot offsets the attack's impact after the fact, and the motion sensor warns of an entry as it happens. In the other pairings, the turnstiles and blocking are preventive, the sign deters, and the written rule is directive.

Why each option is right or wrong

  • A. Incorrect. Turnstiles don't instruct anyone; they physically stop extra people from entering on one badge, so they are preventive. A directive control tells people what to do, such as a written rule.
  • B. Correct. Returning to a known-good snapshot after the attack offsets its impact and restores normal operation, which is corrective.
  • C. Incorrect. A sign cannot physically stop anyone from entering. A warning about patrols is meant to discourage intruders, which is deterring.
  • D. Incorrect. A written rule tells people what they must do, which is directive. A compensating control substitutes for a required control that can't be used.
  • E. Correct. The sensor warns of an entry as it happens by raising an alarm, which is detective.
  • F. Incorrect. Blocking stops the connection before harm occurs, which is preventive. It does not depend on discouraging anyone.

Reference

Question 3

Attackers copied a design firm's client drawings to an outside server, then encrypted the firm's file server and demanded payment. The firm refused to pay. Within a day it rebuilt the server and restored the files from offline backups that the attackers never reached. Which loss persists after the restore?
  1. A. Loss of integrity, because the encryption altered the files on the server
  2. B. Loss of availability, because staff could not open their files during the outage
  3. C. None, because the files came back from backups the attackers couldn't reach
  4. D. Loss of confidentiality, because outsiders now hold copies of the client drawings
Show the answer and explanation

Answer: D. Loss of confidentiality, because outsiders now hold copies of the client drawings

Backups undo losses of integrity and availability: they put back correct data and restore access to it. They can't undo a loss of confidentiality, because the disclosure has already happened and the copies are outside the firm's control. That is why stealing data before encrypting it leaves lasting harm even after a clean recovery. Memory hook: you can restore what was changed or blocked, but you can't un-disclose what was copied.

Why each option is right or wrong

  • A. Incorrect. Encrypting the files was an unauthorized modification, so integrity was lost during the attack. Restoring clean copies from offline backups put the original files back, so that loss has been repaired.
  • B. Incorrect. Availability was lost while the server was down. The restore ended that disruption and staff can use their files again, so this loss doesn't persist.
  • C. Incorrect. Backups repair data that was changed or made unusable, but they can't recall data that was copied out. The attackers still hold the drawings, so a loss remains.
  • D. Correct. Confidentiality is lost when information is disclosed without authorization. The attackers took copies before encrypting the server, and no restore can take those copies back. This loss persists however well the recovery went.

Reference

Question 4

A bank's cryptography standard says internal web services must not accept protocol versions older than Transport Layer Security (TLS) 1.2. A network engineer then configures the bank's hardware load balancers to refuse any connection that offers only TLS 1.1 or earlier. Which control category BEST describes the load balancer setting?
  1. A. Technical/logical
  2. B. Managerial/administrative
  3. C. Operational
  4. D. Physical/environmental
Show the answer and explanation

Answer: A. Technical/logical

Classify a control by what carries it out. The standard is managerial/administrative, and the engineer's configuration work is a one-time task. The resulting control is enforced by the load balancer on every connection, so it is technical/logical. Being built into hardware doesn't make a control physical: NIST's definition of technical controls covers mechanisms in hardware, software, or firmware.

Why each option is right or wrong

  • A. Correct. Once configured, the load balancer itself enforces the rule on every connection through its software and hardware. A control that the system implements and executes is technical/logical.
  • B. Incorrect. The cryptography standard that sets the TLS requirement is the managerial/administrative control, because it governs how security is managed. The setting is the mechanism that carries out that standard, not the standard itself.
  • C. Incorrect. An engineer made the change, but operational controls are ones that people carry out as part of their work, such as checking visitor IDs. After setup, no person acts on each connection; the device does.
  • D. Incorrect. The load balancers are hardware, but physical/environmental controls protect facilities and equipment, such as locks, fences, and climate control. Refusing old TLS versions is a logical decision made by the device's software.

References

  • CSRC GlossaryGlossary term "technical controls" (FIPS 200 definition)
  • CSRC GlossaryGlossary term "Operational Controls" (FIPS 200 definition)

Question 5 Multiple answers

A city clerk's office publishes each new ordinance as a document signed with the office's private signing key. Residents can verify the signature with the office's public key. Which two assurances does a valid signature give a resident? (Select two.)
  1. A. The ordinance hasn't been altered since the office signed it
  2. B. Residents without the office's public key can't open the file
  3. C. The ordinance's content is accurate and was lawfully adopted
  4. D. The clerk's office produced it, and any third party can check that
  5. E. The document will stay downloadable even if the city's website is attacked
  6. F. The office keeps a record of each resident who verifies the signature
Show the answer and explanation

Answers: A. The ordinance hasn't been altered since the office signed it; D. The clerk's office produced it, and any third party can check that

A digital signature gives integrity, because any change makes verification fail. It also gives proof of origin that anyone with the public key can check, which supports non-repudiation. It doesn't give confidentiality, because the document isn't encrypted, and it doesn't keep the file available. It also proves nothing about whether the content is true or lawful; it shows only who signed it and that it hasn't changed.

Why each option is right or wrong

  • A. Correct. Verification fails if even one bit of the document changed after signing. A valid signature therefore gives the resident integrity assurance.
  • B. Incorrect. Signing doesn't encrypt the document, and the public key is meant to be shared. Anyone can open the file; the public key only lets readers verify the signature.
  • C. Incorrect. A signature ties the document to the key holder and reveals changes. It says nothing about whether the text is accurate or was properly passed.
  • D. Correct. Only the holder of the office's private key could make a signature that verifies with its public key. Because anyone can repeat the check, the origin can be shown to a third party, which supports non-repudiation.
  • E. Incorrect. Keeping the file reachable is availability, which depends on hosting, redundancy, and attack protection. A signature does nothing for availability.
  • F. Incorrect. Recording who checks a signature would be accounting, and verification can happen on the resident's own device. The signature itself creates no such record.

References

  • CSRC GlossaryGlossary term "digital signature" (FIPS 186-5 definition)
  • CSRC GlossaryGlossary term "non-repudiation" (FIPS 186-5 definition)

Question 6

A city's security policy requires accounts to lock after five failed sign-in attempts, to stop online password guessing. The city's legacy permit application can't lock accounts, and its vendor won't add the feature. The security team must choose a compensating control. Which option BEST qualifies?
  1. A. A sign-in page banner warning that guessing attempts are logged and prosecuted
  2. B. A front-end gateway that throttles and then blocks repeated failed sign-ins
  3. C. Full-disk encryption on the server that hosts the permit application
  4. D. A monthly report of failed sign-ins that the help desk reviews
Show the answer and explanation

Answer: B. A front-end gateway that throttles and then blocks repeated failed sign-ins

A compensating control is used instead of a required control that can't be implemented, and it must give equivalent or comparable protection. The lockout exists to limit online guessing, so its replacement must also limit guessing. Throttling and blocking at a gateway does that. The banner, the encryption, and the monthly report are real controls, but none of them stops guessing the way a lockout would.

Why each option is right or wrong

  • A. Incorrect. A banner may discourage some people, but automated guessing tools ignore it. It doesn't give protection comparable to a lockout, so it doesn't qualify as a compensating control.
  • B. Correct. The gateway limits how many guesses an attacker can make, which is the protection the missing lockout was meant to provide. A control used in place of a required one that gives comparable protection is a compensating control.
  • C. Incorrect. Disk encryption protects data if the server's drives are stolen. It addresses a different risk and does nothing to slow online password guessing.
  • D. Incorrect. A monthly review would find guessing weeks after it happened, by which time an account could already be compromised. It is a detective control and gives far weaker protection than a lockout.

References

Question 7 Multiple answers

A company's building management system controls heating and cooling across three floors. Which two steps in this system are authentication? (Select two.)
  1. A. Thermostats may send only temperature readings to the controller, never configuration commands
  2. B. Each set-point change is logged with the technician's name and the time
  3. C. The controller validates each thermostat's device certificate before accepting its readings
  4. D. Technicians can change set points only on the floors assigned to them
  5. E. The controller keeps running on cached schedules if its network link fails
  6. F. A technician enters a hardware token code after typing a password
Show the answer and explanation

Answers: C. The controller validates each thermostat's device certificate before accepting its readings; F. A technician enters a hardware token code after typing a password

Authentication verifies the identity of a user, process, or device, so it applies to the thermostats as well as to the technicians. Authorization then decides what each verified identity may do, and accounting records what it did. In this system the certificate check and the password-plus-token sign-in are the authentication steps. The floor restriction and the readings-only rule are authorization, and the change log is accounting.

Why each option is right or wrong

  • A. Incorrect. Limiting thermostats to sending readings decides what a device may do once it is accepted. That is authorization, not authentication.
  • B. Incorrect. Recording who changed what and when is accounting. It helps trace actions to people, but it doesn't verify anyone's identity.
  • C. Correct. Validating the certificate verifies that the thermostat is the genuine device it claims to be. Authentication covers devices and processes as well as users.
  • D. Incorrect. Restricting a signed-in technician to certain floors decides what that identity may do. That is authorization.
  • E. Incorrect. Running on cached schedules keeps the system working through a network failure. That protects availability and has nothing to do with verifying identity.
  • F. Correct. The password and the token code together verify that the technician is who they claim to be. That is authentication, here with two factors.

References