CompTIA SY0-701 Practice Test 1
Question 1
A malicious executable is detected on a company laptop. Its EDR agent terminates the process and quarantines the file automatically, without an employee making a decision. Which security control CATEGORY is being exercised?
- An operational control because an analyst must perform every response manually
- A technical control because software enforces the restriction
- A physical control because endpoint hardware stores the executable
- A managerial control because a security policy establishes acceptable behavior
Explanation
Correct Answer
B:The EDR agent is software enforcing a restriction on endpoint execution, so its automatically applied blocking and quarantine are technical, or logical, control actions. The decisive clue is not that the protection runs on a laptop but that code detects the malicious process and prevents further execution. Human procedures and management policies may authorize deployment, yet the control performing the safeguard is the installed technical mechanism.
Incorrect Answers
A:Operational controls are ordinarily carried out through people, procedures and day-to-day processes, such as analysts investigating alerts or staff following an incident runbook. This case explicitly states that the EDR agent terminates and quarantines the executable without an analyst making the enforcement decision. A human response workflow might accompany the alert, but it is not the control actually performing the block.
C:A laptop and its storage drive are physical equipment, but that does not make every security function operating on them a physical control. Physical examples would include a lock, cage or barrier that restricts physical entry or access. Here the malware is stopped by the behavior of endpoint security software, not by a tangible obstacle controlling access to the machine.
D:A managerial control establishes oversight, risk direction and policy, such as approving the endpoint-protection standard or specifying its required deployment. That governance may be essential to the overall security program, but the question asks which category describes the automatic response itself. The EDR software enforces the decision in real time, so the specific action is a technical control.
Question 2
A risk committee signs an exception allowing a legacy application to remain in service until a replacement is ready. Firewall settings do not change. Which control category BEST describes the signed risk decision?
- Detective, because signatures generate an intrusion alert
- Managerial, because leadership approves and directs the handling of business risk
- Physical, because the application occupies on-premises servers
- Technical, because the exception itself filters network traffic
Explanation
Correct Answer
B:Managerial controls concern governance, oversight and decisions about organizational risk. The committee has formally evaluated or accepted the business risk of temporarily operating the legacy application and recorded the authorized exception. No firewall rule or host safeguard changed, so the effect is management approval and accountability for a risk decision, rather than direct technical filtering. The exception should carry an owner, expiry and review conditions.
Incorrect Answers
A:Detective controls generate evidence of events or identify suspicious activity, such as an intrusion alert based on a signature. The committee has instead documented its decision to tolerate a known legacy-application exposure for a limited period. Nothing in the case says signatures ran, an incident was detected or a monitoring system produced an alert; detection is not the controlling function of the signed exception.
C:Applications can be hosted on physical servers, but the location of the assets does not classify the governance decision as a physical safeguard. Locks, fences and secured cabinets would be examples of tangible physical controls. A risk committee signing an exception neither creates a new barrier nor alters facility access; the subject of the question is authorization to accept a risk.
D:Technical controls are enforced by hardware or software mechanisms such as an access-control rule, network filter or endpoint agent. The statement that firewall settings do not change is included to distinguish the approval from an implementation change. Merely signing the exception cannot inspect packets, reject sessions or reconfigure access on the vulnerable legacy application.
Question 3
A facility uses guards who walk scheduled rounds, check each visitor's photo identity, and record entry attempts. Which TWO statements correctly characterize the safeguards described? Choose TWO.
- The scheduled rounds replace all need for physical locks or barriers
- The guard patrol is an operational control implemented through human procedures
- Recorded entry attempts are a cryptographic method of encrypting identity documents
- Visitor identity checks are a control against unauthorized access
- The guards' inspection automatically converts every physical barrier into a software control
Explanation
Correct Answers
B:An operational control is implemented through recurring human activity and documented procedures. Guards following scheduled rounds, observing conditions and recording incidents are performing an ongoing operational safeguard. Their physical presence also contributes to deterrence and detection, but the question specifically asks how the guard patrol is implemented. The key classification follows the human workflow, not the building equipment they observe.
D:Checking a visitor’s photo identity before permitting access reduces the chance that an unauthorized person enters simply by claiming an approved name. The guard compares the presented identity to the visitor authorization process and records the attempt. This is an access-control safeguard implemented by people; its effectiveness depends on reliable identity checks, approved visitor records and escalation for mismatches.
Incorrect Answers
A:Guard patrols can detect problems and discourage intrusion, but they do not eliminate the need for a layered physical-security design. Doors, locks and barriers can prevent entry when guards are elsewhere, and access records can support later investigation. The scenario describes patrols and identity checks, not a finding that those measures can safely replace every fixed access control.
C:Logging an attempted entry produces an audit trail; it does not encrypt identity documents or provide confidentiality for the information on them. Cryptography would require an encryption algorithm and key-management process applied to data. Guard reports may later be stored securely or encrypted, but those are separate controls absent from this scenario.
E:Inspecting a fence, turnstile or locked door does not change what technology or mechanism the barrier uses. A guard’s inspection and visitor checks are human operational procedures, while a fence or lock remains a physical control. Distinguishing the layer providing the protection avoids incorrectly treating all safeguards at one facility as technical controls.
Question 4
A server room cabinet must remain inaccessible when the building's network and identity provider are down. A locked metal cage with a physical key is installed. What type of control is the cage?
- Physical, because a tangible barrier restricts entry
- Detective, because it records account logins
- Managerial, because a board approved the project
- Directive, because it tells people how to use the server
Explanation
Correct Answer
A:A locked metal cage is a tangible barrier that restricts access to equipment regardless of whether the identity provider, network or electronic badge system is functioning. That is a physical control. The case emphasizes a manually operated key so its basic protective function survives the stated technology outage, although key custody and emergency access procedures still require management.
Incorrect Answers
B:A detective control identifies events or preserves evidence, such as a monitored alarm, camera recording or access log. An ordinary keyed cage may prevent entry but does not, by itself, record administrator authentication events. Adding a tamper sensor or camera could supply detection, yet the question only describes a physical barrier with a key.
C:Managerial approval can authorize the procurement and risk policy for the cage, but approval is not the mechanism that prevents someone reaching the cabinet. The classification of a control depends on its security function and implementation. The object directly restricting access is a locked physical enclosure, not a board decision.
D:Directive controls communicate required behavior through policies, procedures, warnings or instructions. A cage does not instruct users about acceptable server use; its lock obstructs access unless a key is supplied. A posted instruction beside it could separately be directive, but the installed cage itself is classified as physical protection.
Question 5
An Internet-edge firewall uses an allowlist of approved business partner addresses and rejects packets from every other source before a service accepts a connection. Which control TYPE is most directly demonstrated?
- Detective, because only a report is generated after access
- Corrective, because data is restored after an incident
- Preventive, because prohibited connections are blocked before admission
- Compensating, because a missing control has been formally accepted
Explanation
Correct Answer
C:The firewall allowlist checks the source address before admitting traffic to the service. Connections from sources not on the approved partner list are denied at the boundary, which is an attempt to prevent unauthorized access before it occurs. This makes the relevant function preventive. Source-address allowlists do not establish a partner’s identity cryptographically and should be complemented by strong authentication where appropriate.
Incorrect Answers
A:Detective controls identify or report unwanted activity so an operator can investigate, often after the event has occurred. The firewall in the scenario actively rejects disallowed packets before they reach the service, rather than merely logging them for later review. Logging may also be enabled, but that would be an additional detective capability, not the most direct function asked about.
B:Corrective controls restore or repair security after a problem, for example by recovering a damaged host from a clean backup. The firewall does not restore data or remediate a previously exploited vulnerability in this case. It filters new inbound sessions at the network boundary, preventing the unapproved source from establishing access in the first place.
D:A compensating control is an alternative safeguard selected because a preferred requirement cannot be met, with the alternative providing a documented degree of equivalent protection. The question does not describe any failed primary requirement or authorized substitution. A firewall allowlist may be used as one layer of security, but its directly described behavior is preventive filtering rather than compensation for a documented exception.
Question 6
A warehouse posts conspicuous camera-warning signs at its fenced entrance. Cameras are not monitored and no automated door lock has been installed. Which function can the signs reasonably serve?
- Post-incident restoration of compromised systems
- Deterrence by increasing an intruder's perceived risk of observation
- Cryptographic verification of visitor identity
- Guaranteed prevention of all unauthorized entries
Explanation
Correct Answer
B:Visible notices that surveillance may occur can deter a potential intruder by increasing the perceived likelihood of identification and subsequent consequences. The signs change expectations, not the mechanics of the entrance. Because the cameras are unmonitored and no new locking device is installed, the defensible claim is possible deterrence, not automatic detection, response or certain prevention. Whether the signs actually deter depends on the person and setting.
Incorrect Answers
A:Corrective controls restore an affected service or asset after harm, such as rebuilding a compromised system or recovering files from backups. Camera-warning signs do not repair data, contain a malware infection or restore a building after an incident. They operate before an attempted intrusion by influencing an intruder’s expectation of being identified.
C:Cryptographic verification would involve proving possession of a key or validating a signed credential through an appropriate protocol. A posted camera notice has no information needed to authenticate a visitor and no secure exchange with a verification service. Receptionist checks or badge readers could provide identity assurance, but they are not described.
D:A deterrent can discourage entry without physically or technically making entry impossible. The problem explicitly rules out an automatic lock and live monitoring, and the sign cannot reliably stop a determined intruder. Treating deterrence as guaranteed prevention would overstate the safeguard and misclassify its function.
Question 7
A SIEM correlates events and alerts administrators after a privileged account logs in at an unusual hour. The sign-in already succeeded. Which THREE statements are supported? Choose THREE.
- The alert proves the suspicious login was blocked before authentication
- The available event record can support investigation of the completed login
- A separate enforcement action would be needed to terminate the session if the SIEM only alerts
- An alert by itself guarantees the account was disabled automatically
- The SIEM alert is functioning as a detective control in this scenario
- The completed login proves confidentiality was not at risk
Explanation
Correct Answers
B:The event record shows that a privileged account authenticated at an unusual time and can help investigators establish the time, principal, device and related actions. Correlating that record with other logs supports incident reconstruction and triage. It is evidence of a completed event, not conclusive proof that the activity was malicious or that sensitive information was accessed.
C:An alert-only SIEM produces a detection outcome but does not automatically revoke credentials or tear down connections unless a defined integration and automation are deployed. A separate enforcement system—such as the identity provider, EDR or session gateway—must apply termination or reauthentication. This distinction matters because detection without response can leave a suspicious privileged session active.
E:The alert identifies potentially suspicious behavior after the sign-in occurred, which makes the SIEM detective in this stated scenario. Correlation and alerting are intended to surface activity for analysis. Although SIEMs can feed automated response processes, those additional workflows are not asserted here, and the alert alone cannot be credited with preventing the original login.
Incorrect Answers
A:The privileged sign-in completed successfully before the alert was created, so the SIEM notification cannot establish that the login was prevented. A prevention claim would require evidence that an identity or enforcement system rejected authentication or blocked the session. The described SIEM correlation is retrospective to the login event, regardless of how quickly the alert is delivered.
D:Automated account disablement is possible with a connected response workflow, but the scenario states only that the SIEM alerts administrators. Nothing establishes a SOAR playbook, integration permission or successful enforcement action. Assuming the account is automatically disabled would turn a detective observation into an unsupported corrective or preventive claim.
F:A completed login does not prove confidentiality was safe. A privileged session may have read or exported restricted data, even if no leakage has yet been established. The event log only shows authentication and timing; investigators need resource-access and data-movement evidence to assess confidentiality impact.
Question 8
A workstation was encrypted by ransomware. Following containment and forensic capture, IT wipes it and restores a verified clean image. What is the PRIMARY control function of this restoration?
- Detective, because the wiped host searches historical network traffic
- Corrective, because it returns an affected system to a trusted operating condition
- Deterrent, because the image scares attackers before they act
- Directive, because the image instructs users to avoid ransomware
Explanation
Correct Answer
B:Corrective controls repair or restore an asset after a security incident. Reimaging the encrypted workstation from a vetted, uncompromised image removes the affected installation and returns the endpoint to a controlled baseline. The team should also validate patches, credentials and restored data before reconnecting it. The purpose described is recovery of a trusted operating condition following containment, rather than prevention of the original ransomware execution.
Incorrect Answers
A:Detection means identifying a suspicious event or condition through monitoring, scanning, or analysis. The team has already contained the ransomware event and preserved forensic evidence. Wiping the endpoint and restoring a verified clean system image is a recovery action, not an investigation of historical network events. Detection may have occurred earlier in the incident response chain.
C:Deterrence seeks to discourage a person from attempting an attack by increasing perceived risk or consequences. A clean system image is not visible pre-attack warning and does not inherently affect the attacker’s motivation. It is used after the ransomware impact to reestablish a working endpoint; other preventive controls are needed to reduce future infection.
D:Directive controls communicate obligations or acceptable behavior in a policy or instruction. A disk image contains operating-system and application state used for restoration, not a rule instructing users how to avoid ransomware. Security awareness and acceptable-use policies can complement endpoint restoration, but they are separate interventions.
Question 9
An unsupported industrial controller cannot use the organization's mandatory MFA solution. Security requires an interim safeguard while replacement is funded. Which choice is the strongest COMPENSATING control?
- Record a permanent waiver and keep direct Internet administration available
- Rely only on a paper instruction reminding operators to use good passwords
- Restrict administration through a monitored jump host with MFA and a documented exception review
- Disable all monitoring so the legacy controller runs faster
Explanation
Correct Answer
C:A monitored jump host can authenticate administrators with MFA even when the industrial controller itself cannot support it. Network rules can restrict controller management to the jump host, while session logs and time-bound authorization provide oversight. This is a compensating architecture: it reduces exposure caused by the missing native factor without pretending the controller gained MFA support. The exception should be documented, periodically reviewed and retired on replacement.
Incorrect Answers
A:Leaving direct Internet administration reachable while permanently accepting the absence of MFA preserves the original exposure rather than offsetting it. A waiver is documentation of a risk decision, not a protective alternative control. For an unsupported industrial controller, unrestricted remote administration also increases the consequences of credential theft and external scanning.
B:A paper instruction about password quality is a directive measure but does not provide another authentication factor, centralized access mediation or active monitoring. Operators may follow it consistently, yet an attacker who steals a valid password could still access the controller remotely. A compensating control should address the actual authentication and exposure gap with enforceable protections.
D:Disabling monitoring removes a layer of evidence and response capability without fixing the device’s missing MFA. Improved performance, even if achieved, is not an alternative control for administrative identity assurance. Security monitoring around an unsupported operational technology endpoint is especially useful because vulnerabilities may remain unpatched for long periods.
Question 10
A company publishes a rule that employees must not connect unknown USB drives to company laptops. The rule contains no endpoint blocking configuration. What is its primary security control FUNCTION?
- Corrective, because unplugging a drive repairs operating systems
- Preventive technical enforcement, because the document disables USB ports
- Directive, because it tells users what conduct is required
- Detective, because the policy logs every device automatically
Explanation
Correct Answer
C:A directive control tells employees what conduct is required or prohibited. The organization has issued a rule forbidding unknown USB media, but has not installed technical blocking. Its security effect therefore comes from informing and setting expectations for human behavior. Training, exception processes and endpoint controls might reinforce that requirement, but the described artifact is a policy directive.
Incorrect Answers
A:A corrective action repairs damage or restores service, for instance recovering a compromised laptop or removing malware. The question concerns a written rule published before an incident. Unplugging a USB device is not the function that this document performs, and no endpoint cleanup or restoration is described.
B:A technical preventive USB control would require an enforcement mechanism such as device-control software, operating-system policy or physical port restriction. The question expressly states that the policy has no such configuration. A document by itself cannot disable a port, prevent enumeration or reject an attached device even when users are expected to comply.
D:Detective controls collect or analyze evidence of events, such as an endpoint device-insertion log or alert. The written acceptable-use rule does not automatically create such telemetry. Monitoring could be configured separately, but the scenario explicitly describes only a published instruction, not an event-collection system.