Security controls in a data center are being reviewed to ensure data is properly protected and that human life considerations are included. Which of the following best describes how the controls should be set up?
Correct answer:
C. Safety controls should fail open.
Explanation:
The principle of "fail-safe" or "fail-secure" is applied differently depending on the type of control. For safety controls, which are designed to protect human life and physical well-being, the default behavior during a failure (e.g., power loss, system malfunction) must be to fail open. This means that in the event of a failure, the control defaults to a state that allows people to escape or remain safe. A classic example is a mantrap or emergency exit door; if the power fails, the door must unlock (fail open) to allow people to exit, rather than trapping them inside a potentially dangerous situation like a fire.
Analysis of Incorrect Options:
A. Remote access points should fail closed:
This is generally correct for security but not directly related to human life. Remote access points (like VPN gateways) should fail closed (deny access) to prevent unauthorized entry if a system failure occurs. However, this prioritizes security over safety and is not the best answer given the explicit requirement for "human life considerations."
B. Logging controls should fail open:
Logging controls are detective, not preventive. There is no universal "fail open" or "fail closed" state for logging. If a logging system fails, it typically stops recording events (which is a failure), but this does not directly impact safety or access. The phrase "fail open" does not logically apply to logging.
D. Logical security controls should fail closed:
This is a correct security principle for logical (technical) controls like firewalls or authentication systems. They should fail closed (deny access) to maintain security in the event of a failure. However, again, this does not address the "human life considerations" highlighted in the question.
Reference:
This question integrates concepts from Domain 1.0: General Security Concepts (security controls) and physical safety principles. The key is understanding the critical distinction between:
Fail-Secure (Fail Closed):
Preferred for security controls (e.g., doors remain locked during power loss to prevent unauthorized access).
Fail-Safe (Fail Open):
Required for safety controls (e.g., doors unlock during power loss to allow evacuation).
This balance between security and life safety is a fundamental aspect of physical security design in data centers and other facilities.
Which of the following methods would most likely be used to identify legacy systems?
Correct answer:
B. Vulnerability scan
Explanation:
The correct answer is B. Vulnerability scan.
A vulnerability scan is an automated, high-level test that proactively scans a network to identify known vulnerabilities, misconfigurations, and missing patches in systems, applications, and network devices.
Identifying legacy systems is a primary function of a vulnerability scanner. These tools work by probing IP addresses and comparing the responses (e.g., open ports, running services, banner information, system responses) against a database of known signatures.
Legacy systems are characterized by outdated operating systems (e.g., Windows XP, Windows 7, old Linux kernels), end-of-life software, and services running outdated protocols. A vulnerability scanner would quickly flag these systems for running unsupported OS versions, having known critical vulnerabilities for which no patch exists, or using insecure ciphers and protocols (e.g., SSLv2, TLS 1.0, SMBv1).
The scan report would provide a clear inventory of these non-compliant, legacy systems, allowing the security team to prioritize them for remediation, isolation, or replacement.
Why the other options are incorrect:
A. Bug bounty program:
A bug bounty program is a crowdsourced initiative where external security researchers are incentivized to find and report vulnerabilities in a company's public-facing applications (e.g., websites, web apps). It is not a method for discovering internal, networked legacy systems. These programs are targeted and scoped, not broad network discovery tools.
C. Package monitoring:
Package monitoring tools track software packages and dependencies on a system, often for the purpose of managing updates or detecting unauthorized software changes. While it could tell you that an individual system has old software installed, it is not an efficient method for discovering and inventorying all legacy systems across an entire network. You would first need to know which systems to point the monitor at.
D. Dynamic analysis:
Dynamic analysis is a security testing method that involves executing code or running software to analyze its behavior for vulnerabilities. It is used primarily on applications (e.g., web apps, binaries) in a sandboxed environment to find flaws like memory leaks or input validation errors. It is not a network discovery tool and is not used to identify legacy operating systems or network devices.
Reference:
This aligns with the purpose of vulnerability scanning as defined in the CompTIA Security+ SY0-701 objectives, particularly under Domain 1.1: Given a scenario, analyze indicators of malicious activity. Part of threat intelligence and analysis is knowing your attack surface, which is impossible without a complete inventory of assets, including legacy systems. Vulnerability management programs, which start with scanning, are the primary method for achieving this.
Tools like Nessus, Qualys, and OpenVAS are classic examples of vulnerability scanners that excel at identifying legacy systems and reporting on their associated risks
A small business uses kiosks on the sales floor to display product information for customers. A security team discovers the kiosks use end-of-life operating systems. Which of the following is the security team most likely to document as a security implication of the current architecture?
Correct answer:
A. Patch availability
Explanation:
An end-of-life (EOL) or end-of-service-life (EOSL) operating system no longer receives security patches, updates, or vulnerability fixes from the vendor. This is the most critical security implication because it means any newly discovered vulnerabilities in the OS will remain unpatched, leaving the kiosks permanently exposed to exploits. Attackers often target EOL systems precisely because they know these vulnerabilities will never be fixed.
Why the others are incorrect:
B) Product software compatibility:
While compatibility might be a concern for functionality, it is not the primary security implication. The question specifically asks for a security implication, and the lack of patches is a direct and severe security risk.
C) Ease of recovery:
This refers to how quickly a system can be restored after a failure. While EOL systems might be harder to recover due to outdated drivers or lack of support, this is an operational concern, not the most direct security implication.
D) Cost of replacement:
This is a financial or business consideration. While upgrading from EOL systems incurs costs, the security team's focus in documentation would be on the risk (e.g., unpatched vulnerabilities), not the financial impact.
Reference:
This aligns with SY0-701 Objective 2.3 ("Explain security implications of embedded and specialized systems"). Kiosks are a type of specialized system, and using EOL software is a major vulnerability. The security implication of missing patches and the inability to remediate vulnerabilities is a core concept in risk management and is emphasized in frameworks like NIST SP 800-40 (Guide to Enterprise Patch Management Planning).
Which of the following would be the best ways to ensure only authorized personnel can access a secure facility? (Select two).
Correct answer:
C. Badge access
D. Access control vestibule
Explanation:
The question asks for the best ways to ensure only authorized personnel can access a facility. This requires controls that actively verify identity and authorization before granting access, preventing unauthorized "tailgating."
C. Badge access is correct.
This is a form of electronic access control. An ID badge (often with a smart chip or magnetic stripe) is a credential that positively identifies the holder. When scanned at a door, the system checks the credential against an authorization database to determine if the person is allowed entry at that time and location. This is a direct and effective method for ensuring only authorized personnel gain access.
D. Access control vestibule (Mantrap) is correct.
An access control vestibule is a physical security system with two interlocking doors. An individual must authenticate (e.g., with a badge) to enter the first door. Once inside the small vestibule, the first door must close and lock before the individual can be authenticated again to open the second door. This highly effective design ensures only one person can enter at a time and prevents tailgating (unauthorized individuals following an authorized person inside).
Why the other options are less effective for ensuring only authorized access:
A. Fencing:
Fencing is a good deterrent and delay mechanism, but it does not actively identify or authorize individuals. It is a perimeter control, not an access control.
B. Video surveillance:
Surveillance is a detective control. It records who accessed an area but does nothing to prevent unauthorized access in real-time. It is used for after-the-fact investigation.
E. Sign-in sheet:
This is an administrative control that relies on honesty and provides no verification. An unauthorized person can easily write a fake name. It offers no physical barrier to entry.
F. Sensor:
Sensors (e.g., motion, light, temperature) are typically detective or monitoring controls. They might alert to presence or an environmental change but cannot identify or authorize personnel to prevent entry.
Reference:
CompTIA Security+ SY0-701 Objective 2.5: "Explain the purpose of mitigation techniques used to secure the enterprise." This objective includes physical security controls like mantraps (access control vestibules) and electronic access systems (badge access) as key methods for protecting secure areas.
Which of the following types of identification methods can be performed on a deployed application during runtime?
Correct answer:
A. Dynamic analysis
Explanation:
Dynamic analysis is a security testing method that involves examining an application while it is running (during runtime). This is done in an environment that simulates production, allowing testers to observe the application's behavior, interaction with other systems, and responses to various inputs without needing access to the underlying source code. This makes it ideal for analyzing deployed applications.
Why not B?
Code review is a static analysis technique where the application's source code is examined line by line. This process is performed before the application is compiled and deployed, not during runtime.
Why not C?
Package monitoring typically refers to watching software packages for updates or changes in a repository. While important for security (e.g., detecting vulnerable library versions), it is not a method for identifying vulnerabilities within the application's runtime behavior itself. It is a dependency management activity.
Why not D?
Bug bounty is a program that incentivizes external security researchers to find and report vulnerabilities in an application. While researchers often use dynamic analysis as a technique to find bugs in a deployed application, the bug bounty program itself is the framework or policy, not the specific identification method.
Reference:
Domain 4.2: "Explain the security implications of proper hardware, software, and data asset management." This domain covers concepts like application security testing. The distinction between Static Application Security Testing (SAST - e.g., code review) and Dynamic Application Security Testing (DAST - e.g., dynamic analysis) is a key objective. DAST is explicitly for testing running applications.
A security administrator needs a method to secure data in an environment that includes some form of checks so that the administrator can track any changes. Which of the following should the administrator set up to achieve this goal?
Correct answer:
D. FIM
Explanation:
FIM (File Integrity Monitoring) is a security process and technology that continuously monitors and checks files for changes. It creates a cryptographic baseline of files (e.g., system files, configuration files, critical data) and then regularly compares the current state against this baseline to detect any unauthorized modifications. If a change occurs, FIM generates an alert, allowing the security administrator to track and investigate the alteration. This directly meets the requirement to "secure data" and "track any changes."
Why not A? SPF (Sender Policy Framework): SPF is an email authentication method used to prevent email spoofing by verifying that incoming mail from a domain comes from an authorized IP address. It is unrelated to monitoring file changes or data integrity.
Why not B? GPO (Group Policy Object): GPOs are used in Windows environments to manage user and computer configurations centrally. While they can enforce security settings (e.g., permissions), they do not inherently monitor or track changes to files over time.
Why not C? NAC (Network Access Control): NAC solutions enforce security policies on devices attempting to access a network (e.g., checking for antivirus installation). NAC controls network access but does not monitor file integrity or track changes to data.
Reference:
Domain 2.4: "Explain the purpose of mitigation techniques used to secure the enterprise." FIM is a critical control for detecting unauthorized changes, often required by compliance standards (e.g., PCI DSS). It aligns with the SY0-701 focus on implementing monitoring and integrity checks to protect data and systems.
Which of the following best describe why a process would require a two-person integrity security control?
Correct answer:
C. To reduce the risk that the procedures are performed incorrectly or by an unauthorized user
Explanation:
The principle of two-person integrity (also known as two-person control or the two-man rule) is a security control designed to ensure that no single individual can complete a sensitive or high-risk task alone. This control directly addresses two key risks:
Malicious Activity:
It prevents a single unauthorized or rogue individual from performing a harmful action (e.g., transferring large sums of money, initiating a critical system change, accessing a secure vault).
Human Error:
It provides a built-in verification step, as the second person can review and confirm that the procedure is being performed correctly, thereby reducing the chance of mistakes.
The core purpose is to enforce collusion for sensitive operations, significantly increasing the difficulty of compromising the process, whether through error or malice.
Analysis of Incorrect Options:
A. To increase the chance that the activity will be completed in half of the time:
This is incorrect. Involving a second person typically increases the time required to complete a task due to the necessary coordination and verification steps. Speed or efficiency is not the goal of this control; security and oversight are.
B. To permit two users from another department to observe:
This describes an audit or oversight function, not two-person integrity. The control requires two authorized participants who are both actively involved in the process, not passive observers from another department.
D. To allow one person to perform the activity while being recorded:
This describes a detective control (CCTV monitoring) that records activity for review after the fact. Two-person integrity is a preventive control that actively prevents the task from being completed without simultaneous, collaborative action from two authorized individuals.
Reference:
This concept falls under Domain 1.0: General Security Concepts, specifically related to security controls. Two-person integrity is a classic example of a preventive administrative control designed to enforce separation of duties for critical tasks. It is a fundamental principle in high-security environments like financial institutions, nuclear facilities, and military operations.
A security analyst locates a potentially malicious video file on a server and needs to identify both the creation date and the file's creator. Which of the following actions would most likely give the security analyst the information required?
Correct answer:
D. Query the file's metadata.
Explanation:
Why D is Correct:
Metadata is data about data. For a file, metadata includes information such as the creation date, modification date, author, and other details embedded within the file itself. This information is stored in the file's headers and properties and can be accessed without needing external logs. Tools like exiftool (for various file types) or built-in system properties can reveal this metadata, directly providing the creation date and potentially the creator.
Why A is Incorrect:
Obtaining the SHA-256 hash of the file is useful for verifying the file's integrity and identifying known malware via hash databases. However, it does not provide any information about the creation date or the creator of the file.
Why B is Incorrect:
Using hexdump (or any hex editor) allows you to view the raw binary content of the file. While this might reveal some embedded metadata if you know where to look, it is a manual and error-prone process. Metadata is more efficiently and accurately extracted using dedicated tools rather than parsing hex dumps.
Why C is Incorrect:
Checking endpoint logs might show when the file was created or who accessed it, but this relies on the availability and integrity of logs. If logging was not enabled or logs were tampered with, this information may not be available. Metadata, however, is embedded in the file itself and is more directly accessible.
Reference:
This question falls under Domain 4.0: Operations and Incident Response, specifically covering digital forensics and investigation techniques. File metadata is a primary source of information for analysts during investigations, as it can provide crucial details about the origin and history of a file.
Which of the following allows for the attribution of messages to individuals?
Correct answer:
B. Non-repudiation
Explanation:
The question asks about attributing messages to individuals, meaning providing proof that a specific person sent a message and cannot deny having sent it.
B. Non-repudiation is correct.
Non-repudiation is a cryptographic and legal concept that provides undeniable proof of the origin and integrity of a message. It ensures that the sender of a message cannot later deny having sent it. This is typically achieved through digital signatures, which use asymmetric cryptography to bind a message to a specific private key, and by extension, to its owner.
A. Adaptive identity is incorrect.
This is not a standard security term related to attribution. Identity adaptation might refer to dynamic access controls, but it does not provide proof of origin for messages.
C. Authentication is incorrect.
Authentication is the process of verifying a user's or system's identity (e.g., with a password or biometrics). It confirms who someone is at the time of login but does not, by itself, provide undeniable proof that a specific message came from them after the fact. Non-repudiation builds upon authentication.
D. Access logs are incorrect.
Access logs are records of who accessed what resource and when. They are a form of auditing and can provide evidence for investigation, but they are not a cryptographic mechanism that guarantees the origin and integrity of a specific message. Logs can be altered or disputed; non-repudiation provides much stronger, cryptographically verifiable evidence.
Reference:
CompTIA Security+ SY0-701 Objective 2.8: "Summarize cryptography concepts." Non-repudiation is a key service provided by digital signatures and public key infrastructure (PKI), ensuring that the sender of a message cannot deny their actions.
While investigating a recent security breach an analyst finds that an attacker gained access by SOL infection through a company website. Which of the following should the analyst recommend to the website developers to prevent this from reoccurring?
Correct answer:
B. Input sanitization
Explanation:
The key detail in the question is that the breach was caused by an "SOL infection." This is a clear typo or misstatement; the intended term is SQL injection. SQL injection is a code injection technique that exploits vulnerabilities in an application's software by manipulating SQL queries sent to a database.
B. Input sanitization (Correct):
This is the primary and most effective defense against SQL injection attacks. Input sanitization involves cleaning and validating any user-supplied input to ensure it does not contain malicious characters or code that could alter the structure of an SQL query. Techniques include:
Prepared Statements (with Parameterized Queries):
This is the strongest method, where SQL code and data are sent separately, preventing the data from being interpreted as executable code.
Escaping User Input:
Adding a backslash before potentially dangerous characters in the input.
Whitelist Validation:
Only allowing input that matches a strict set of approved patterns
Why the other options are incorrect:
A. Secure cookies (Incorrect):
Secure cookies (with the Secure and HttpOnly flags) protect session tokens from being intercepted over unencrypted connections or accessed via client-side scripts. This helps prevent session hijacking but does nothing to stop SQL injection, which exploits how the server processes input, not how cookies are handled.
C. Code signing (Incorrect):
Code signing is used to verify the integrity and authenticity of software code to ensure it has not been tampered with after being signed by the developer. It is a method for establishing trust in software distribution (e.g., ensuring a downloaded application is legitimate). It does not prevent SQL injection vulnerabilities within the application's code itself.
D. Blocklist (Incorrect):
A blocklist (or blacklist) approach involves creating a list of known bad SQL keywords or patterns to reject. This is an inferior and often ineffective defense because it is easy for attackers to bypass by obfuscating their input (e.g., using variations, encoding, or alternative keywords). Input sanitization using whitelisting and parameterized queries is a much more robust and recommended approach.
Reference:
This question falls under Domain 3.0: Security Architecture, specifically covering secure application development and deployment. Mitig SQL injection is a core application security objective, and input validation/sanitization is the primary mitigation technique as outlined by resources like OWASP (Open Web Application Security Project).
Practice Like It's Exam Day
Get exam-ready with a timed SY0 701 CompTIA Security+ mock exam designed to match the official exam's question format, question count, and time limit.