Which of the following is used to validate a certificate when it is presented to a user?
Correct answer:
A. OCSP
Explanation:
The correct answer is A. OCSP (Online Certificate Status Protocol).
When a user's browser or application is presented with a digital certificate (e.g., when visiting an HTTPS website), it needs to verify two main things:
That the certificate was issued by a trusted Certificate Authority (CA) and is valid (not expired, with a proper signature chain).
That the certificate has not been revoked by the CA before its expiration date.
OCSP (Online Certificate Status Protocol) is a method used specifically for this second step: validating that a certificate is still valid and has not been revoked.
Instead of downloading a full list of all revoked certificates (a CRL), the client sends a query to an OCSP responder (hosted by the CA) with the certificate's serial number. The OCSP responder sends back a signed response stating whether the certificate is "good," "revoked," or "unknown."
This provides real-time (or near-real-time) validation of a certificate's status at the moment it is presented.
Why the other options are incorrect:
B. CSR (Certificate Signing Request):
A CSR is a file generated by an applicant who wants a certificate. It contains the public key and identifying information to be included in the certificate. The CA uses the CSR to create the actual certificate. A CSR is used to request a certificate, not to validate one that has been presented.
C. CA (Certificate Authority):
The CA is the trusted entity that issues the certificate. The user's system trusts the CA's root certificate, which allows it to validate the cryptographic signature on the presented certificate. However, the CA itself is not the mechanism used for the daily, real-time validation of revocation status. The CA provides the infrastructure for OCSP or CRLs to perform that specific function.
D. CRC (Cyclic Redundancy Check):
A CRC is an error-detecting code used in digital networks and storage devices to detect accidental changes to raw data (e.g., to check for file corruption). It has nothing to do with PKI or digital certificate validation. This is a distractor.
Reference:
This is a core concept of Public Key Infrastructure (PKI) and is covered in the CompTIA Security+ SY0-701 objectives under Domain 3.3: Given a scenario, implement secure protocols.
The two primary methods for checking certificate revocation are:
CRL (Certificate Revocation List): A periodically updated list of revoked certificates that clients can download and check.
OCSP (Online Certificate Status Protocol): A real-time request/response protocol for checking a certificate's status.
An administrator finds that all user workstations and servers are displaying a message that is associated with files containing an extension of .ryk. Which of the following types of infections is present on the systems?
Correct answer:
D. Ransomware
Explanation: Ransomware is a type of malware that encrypts the victim’s files and demands a ransom for the decryption key. The ransomware usually displays a message on the infected system with instructions on how to pay the ransom and recover the files. The .ryk extension is associated with a ransomware variant called Ryuk, which targets large
organizations and demands high ransoms1.
References: CompTIA Security+ Certification Kit: Exam SY0-701, 7th Edition, Chapter 1, page 17.
An analyst is evaluating the implementation of Zero Trust principles within the data plane. Which of the following would be most relevant for the analyst to evaluate?
Correct answer:
D. Threat scope reduction
Explanation: The data plane, also known as the forwarding plane, is the part of the network that carries user traffic and data. It is responsible for moving packets from one device to another based on the routing and switching decisions made by the control plane. The data plane is a critical component of the Zero Trust architecture, as it is where most of the attacks and breaches occur. Therefore, implementing Zero Trust principles within the data plane can help to improve the security and resilience of the network. One of the key principles of Zero Trust is to assume breach and minimize the blast radius and segment access. This means that the network should be divided into smaller and isolated segments or zones, each with its own security policies and controls. This way, if one segment is compromised, the attacker cannot easily move laterally to other segments and access more resources or data. This principle is also known as threat scope reduction, as it reduces the scope and impact of a potential threat. The other options are not as relevant for the data plane as threat scope reduction. Secured zones are a concept related to the control plane, which is the part of the network that makes routing and switching decisions. Subject role is a concept related to the identity plane, which is the part of the network that authenticates and authorizes users and devices. Adaptive identity is a concept related to the policy plane, which is the part of the network that defines and enforces the security policies and rules.
An enterprise is trying to limit outbound DNS traffic originating from its internal network. Outbound DNS requests will only be allowed from one device with the IP address 10.50.10.25. Which of the following firewall ACLs will accomplish this goal?
Correct answer:
D. Access list outbound permit 10.50.10.25/32 0.0.0.0/0 port 53 Access list outbound deny 0.0.0.0/0 0.0.0.0/0 port 53
Explanation:
The goal is to allow outbound DNS traffic (port 53) only from the specific IP address 10.50.10.25 and block all other outbound DNS traffic. Firewall ACLs are typically processed in order, and the first matching rule is applied.
Option D correctly:
Permits outbound DNS traffic from the source IP 10.50.10.25/32 (a single host) to any destination (0.0.0.0/0).
Denies all other outbound DNS traffic (from any source to any destination on port 53).
This ensures only the specified device can send DNS requests outward.
Why the others are incorrect:
A: This denies traffic from 10.50.10.25 and permits all others — the opposite of the requirement.
B: This permits traffic from any source to the destination 10.50.10.25 (inbound traffic to that IP), not outbound from it.
C: This permits all outbound DNS traffic but denies traffic destined for 10.50.10.25 (inbound to that IP), which does not restrict outbound requests by source.
Reference:
This question tests knowledge of Domain 3.3: Given a scenario, implement secure network designs (firewall rules and ACLs). Understanding how to write ACLs to enforce traffic filtering based on source/destination IP and port is critical for network security.
A company wants to reduce the time and expense associated with code deployment. Which of the following technologies should the company utilize?
Correct answer:
A. Serverless architecture
Explanation:
Serverless architecture (e.g., AWS Lambda, Azure Functions) allows developers to deploy code without managing underlying servers or infrastructure. The cloud provider automatically handles scaling, patching, and maintenance. This significantly reduces the time and expense associated with code deployment because:
Developers focus solely on writing code, not configuring servers.
Costs are based on actual usage (execution time/resources), not idle server time.
Deployment is streamlined through integrated CI/CD pipelines, accelerating release cycles.
Why the others are incorrect:
B. Thin clients:
These are lightweight devices that rely on a central server for processing. They reduce endpoint costs but do not directly impact code deployment processes or expenses.
C. Private cloud:
This involves dedicated cloud infrastructure managed by the organization. While it offers control, it still requires significant time and expense for maintenance, scaling, and deployment compared to serverless.
D. Virtual machines (VMs):
VMs require managing entire guest OS instances, including updates, scaling, and provisioning. This adds overhead and cost compared to serverless, where the provider abstracts infrastructure management.
Reference:
This aligns with SY0-701 Objective 3.2 ("Given a scenario, implement host or application security solutions") and cloud cost optimization principles. Serverless computing is highlighted in modern DevOps practices for its agility and cost-efficiency, as it eliminates operational overhead and aligns with "pay-as-you-go" models.
After a security incident, a systems administrator asks the company to buy a NAC platform. Which of the following attack surfaces is the systems administrator trying to protect?
Correct answer:
B. Wired
Explanation:
A NAC (Network Access Control) platform is primarily designed to secure wired and wireless network access by enforcing security policies on devices before they are allowed to connect to the network. It ensures that only compliant and authorized devices can access network resources. In the context of a security incident, the administrator is likely addressing vulnerabilities related to unauthorized or non-compliant devices connecting via wired ports (e.g., Ethernet), which could lead to threats like rogue devices, malware propagation, or lateral movement.
Why the others are incorrect:
A. Bluetooth:
This is a short-range wireless technology for personal area networks (PANs). NAC focuses on broader network access (LAN/WLAN) and does not typically govern Bluetooth connections.
C. NFC (Near Field Communication):
This is a very short-range wireless technology used for contactless payments/data exchange. NAC is not designed to protect NFC, as it operates at a different network layer and scale.
D. SCADA (Supervisory Control and Data Acquisition):
These are industrial control systems (ICS) used in critical infrastructure. While NAC can be part of securing SCADA networks, it is not specific to SCADA. The question asks for the attack surface NAC is most directly associated with, which is general wired (and wireless) network access.
Reference:
This aligns with SY0-701 Objective 3.4 ("Given a scenario, implement secure network designs"). NAC is a core technology for enforcing access control on wired and wireless networks, as outlined in frameworks like NIST SP 800-181 ("Guide to LTE Security") and best practices for network segmentation and endpoint compliance.
Which of the following is most likely associated with introducing vulnerabilities on a corporate network by the deployment of unapproved software?
Correct answer:
D. Shadow IT
Explanation:
Shadow IT refers to the use of unauthorized hardware, software, or services within an organization without the approval or knowledge of the IT or security departments. When employees deploy unapproved software (e.g., cloud applications, personal devices, or unauthorized tools) on the corporate network, it introduces significant risks:
Unvetted software:
May contain vulnerabilities, malware, or misconfigurations.
Lack of oversight:
Bypasses security policies, updates, and compliance checks.
Increased attack surface:
Creates entry points for attackers.
This internal, unintentional threat is distinct from external threat actors like hacktivists, script kiddies, or competitors.
Why not the others?
A. Hacktivists:
External threat actors motivated by ideology; they attack networks but do not typically deploy unapproved software internally.
B. Script kiddies:
Inexperienced hackers using pre-made tools; they exploit existing vulnerabilities but do not introduce unapproved software via internal deployment.
C. Competitors:
External entities engaged in corporate espionage; they may steal data but are not responsible for internal policy violations like Shadow IT.
Reference:
Domain 1.2: "Compare and contrast common threat actors and motivations." Shadow IT is highlighted as an internal risk factor where employees inadvertently weaken security by bypassing controls, leading to vulnerabilities. The SY0-701 objectives emphasize the need for policies to mitigate such risks.
The local administrator account for a company's VPN appliance was unexpectedly used to log in to the remote management interface. Which of the following would have most likely prevented this from happening'?
Correct answer:
B. Changing the default password
Explanation:
B) Changing the default password is the correct answer.
Many network appliances, including VPN gateways, come with pre-configured default administrator credentials (e.g., "admin/admin"). If these defaults are not changed, attackers can easily exploit them to gain unauthorized access. Changing the default password is a fundamental security measure that would most likely have prevented the unexpected login using the local administrator account.
Why the others are incorrect:
A) Using least privilege:
While least privilege is important for limiting user access, the issue here involves the local administrator account—which inherently has full privileges. Least privilege principles would not directly prevent misuse of this account if its credentials are compromised.
C) Assigning individual user IDs:
This practice ensures accountability by tying actions to specific users. However, it does not prevent the compromise of shared or default accounts (like the local admin account). Even with individual user IDs, if the default password remains unchanged, the account is still vulnerable.
D) Reviewing logs more frequently:
Log reviews are a detective control that might help identify unauthorized access after it occurs, but they do not prevent the login from happening in the first place.
Reference:
This question tests knowledge of Domain 3.2: Given a scenario, implement security hardening strategies. Changing default passwords is a basic yet critical step in securing network devices, as emphasized in the SY0-701 objectives. It aligns with best practices for preventing unauthorized access to systems and appliances.
A security administrator would like to protect data on employees’ laptops. Which of the following encryption techniques should the security administrator use?
Correct answer:
C. Full disk
Explanation:
The requirement is to protect data on employees' laptops. Laptops are high-risk assets due to their portability, making them susceptible to loss or theft. The goal is to protect all data on the device in such an event.
C. Full disk encryption (FDE) (Correct):
Full disk encryption encrypts the entire hard drive, including the operating system, applications, and all user data. If the laptop is lost or stolen, the data remains inaccessible without the proper decryption key (e.g., a password, PIN, or hardware token). This is the industry standard and most comprehensive method for protecting data at rest on mobile devices like laptops.
Why the other options are incorrect:
A. Partition encryption (Incorrect):
This encrypts only a specific partition or volume on the hard drive. While this can protect data stored on that specific partition, it leaves the boot partition, operating system files, and swap space unencrypted. This is less secure than full disk encryption, as an attacker could potentially access unencrypted data or use forensic tools to recover sensitive information from the unencrypted areas.
B. Asymmetric encryption (Incorrect):
Asymmetric encryption (or public-key cryptography) is a type of encryption algorithm that uses a pair of keys (public and private). It is excellent for tasks like secure key exchange (e.g., in TLS) or digital signatures. However, it is computationally expensive and not practical for encrypting an entire disk volume. Symmetric encryption algorithms (like AES) are used for full disk encryption due to their high speed.
D. Database encryption (Incorrect):
Database encryption is an application-level or database-level control that encrypts specific data within a database (e.g., certain tables or columns). It would only protect data if it were stored in a database application on the laptop. It would not protect the operating system, other applications, documents on the file system, browser cache, or any other data outside the specific database. It is not a comprehensive solution for a whole laptop.
Reference:
This question falls under Domain 3.0: Security Architecture, specifically covering cryptography and its practical applications for protecting data at rest. Technologies like BitLocker (Windows) and FileVault (macOS) are common implementations of full disk encryption.
While troubleshooting a firewall configuration, a technician determines that a “deny any” policy should be added to the bottom of the ACL. The technician updates the policy, but the new policy causes several company servers to become unreachable. Which of the following actions would prevent this issue?
Correct answer:
B. Testing the policy in a non-production environment before enabling the policy in the production network
Explanation:
The issue occurred because the new "deny any" policy blocked legitimate traffic, indicating that the policy was not thoroughly vetted. Testing the policy in a non-production environment (e.g., a lab or staging network) first would allow the technician to identify unintended consequences, such as blocking necessary server traffic, without impacting live operations. This is a core best practice in change management to validate configurations and avoid disruptions.
Analysis of Incorrect Options:
A. Documenting the new policy in a change request:
While documentation and change management are important, they do not inherently prevent misconfigurations. The change might still be approved and deployed without testing, leading to the same issue.
C. Disabling intrusion prevention signatures:
This is unrelated to ACL policies. Intrusion prevention systems (IPS) detect threats, while ACLs control traffic flow. Disabling IPS signatures would not prevent the "deny any" policy from blocking legitimate traffic.
D. Including an "allow any" policy above the "deny any" policy:
This would render the "deny any" policy ineffective, as all traffic would be allowed by the prior rule. It defeats the purpose of adding a restrictive policy and creates a security risk.
Reference:
This aligns with Domain 4.0: Security Operations, specifically change management and network configuration best practices. Testing in a non-production environment is emphasized in frameworks like ITIL and NIST SP 800-115 (Guide to Security Testing) to reduce risks associated with changes.
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.