mcAfee Secure Website
23

CompTIA SY0-701 Bundle

Exam Code: SY0-701

Exam Name CompTIA Security+

Certification Provider: CompTIA

Corresponding Certification: CompTIA Security+

SY0-701 Training Materials $44.99

Reliable & Actual Study Materials for SY0-701 Exam Success

The Latest SY0-701 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    SY0-701 Questions & Answers

    1044 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    SY0-701 Video Course

    SY0-701 Training Course

    167 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    SY0-701 Study Guide

    1003 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

CompTIA Security+ (SY0-701) Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable CompTIA Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    1044 Questions

    $124.99
    exam =35
  • exam =37
    SY0-701 Video Course

    Training Course

    167 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    1003 PDF Pages

    $29.99

CompTIA SY0-701 Practice Test 12

Question 110

An attacker uses process manipulation to place executable payload bytes into a running trusted application. Which vulnerability type BEST explains the observed weakness?

  1. Process memory injection
  2. Stored XSS
  3. Buffer overflow
  4. TOCTOU race condition

Explanation

Correct Answer

A:

The attacker manipulates a running trusted application so executable bytes are written into its memory address space. That is process memory injection, which can disguise malicious execution under a legitimate process identity and potentially inherit that process's resource access. The technique may use operating-system APIs or interprocess operations, but no specific implementation is required to classify it. The observed weakness is the ability to manipulate another process's execution environment; it is distinct from overflowing a buffer in the attacker's own parser or racing a file path.

Incorrect Answers

B:

Stored XSS is the delivery of persistent attacker-controlled browser script through saved web content such as a comment or profile. The scenario describes executable bytes placed in a live trusted application's process memory. No web page, saved comment, HTML rendering, or browser execution is mentioned. A browser itself could be the victim process in a different case, but the attack technique here is cross-process memory manipulation, not unsafe storage and rendering of script content.

C:

A buffer overflow overwrites bytes beyond the boundaries of an allocated buffer due to inadequate size validation. In this case the attacker deliberately places code inside a separate running process through process manipulation; there is no evidence of an overlong input or accidental out-of-bounds write. Buffer corruption might be one possible way to gain control in other scenarios, but it is not the described mechanism. The distinction is how the code enters the victim process.

D:

A TOCTOU race exploits the time interval between checking a resource and using it after that resource changes. The case contains no temporary path, permission check, or resource replacement. The adversary's action is to inject executable bytes directly into a trusted process's memory, often followed by execution within that process. While concurrency vulnerabilities can sometimes help an attack, such a race is not part of the evidence provided and should not be presumed.

Question 111

A vendor's build pipeline signs a compromised release distributed as genuine. What is the most specific class of vulnerability behind this behavior?

  1. Vulnerable software dependency
  2. Compromised software supply chain
  3. OS-level vulnerability
  4. Firmware vulnerability and lifecycle exposure

Explanation

Correct Answer

B:

An attacker compromises the vendor's build pipeline so that a tainted release is signed and distributed as genuine. This is software supply-chain compromise: trusted development and delivery infrastructure is manipulated before customers receive the product. A valid digital signature proves that the signing key approved the bytes, not that every step of the build process was free of malicious changes. Reproducible builds, release provenance, protected signing workflows, and independent validation help reduce this risk. The signature is part of the trusted path being abused.

Incorrect Answers

A:

A vulnerable software dependency may contain a coding flaw that exposes applications consuming the package, even without an adversary intentionally modifying it. The scenario instead says the vendor's own build pipeline has been compromised and produces a malicious yet signed release. That is deliberate tampering with the software supply chain, not merely a library containing an unpatched bug. Users can receive a signed artifact through the expected channel even when dependency vulnerability scanning would not reveal its origin.

C:

An operating-system vulnerability would be a defect in kernel or OS components that an attacker exploits to cross a protection boundary. The case focuses on malicious code introduced through a vendor build and signed-release process; no OS defect is specified. A compromised update might later exploit the OS, but the incident already exists at the software-delivery trust boundary. Labeling it as a kernel flaw would miss the integrity failure upstream of customer installation.

D:

Firmware lifecycle exposure arises when a hardware device runs outdated or unmaintained low-level code and cannot receive needed security updates. The affected artifact here is described as a signed software release from a compromised vendor build pipeline, not an unpatchable router firmware image. Firmware can also be compromised through supply-chain attacks, but the defining case evidence is tampering before distribution, not support expiration. The narrowest diagnosis is the compromised release pipeline.

Question 112

An unpatched device driver permits a normal user to obtain kernel privileges. Which vulnerability type BEST explains the observed weakness?

  1. Compromised software supply chain
  2. Firmware vulnerability and lifecycle exposure
  3. OS-level vulnerability
  4. End-of-life exposure

Explanation

Correct Answer

C:

A normal user exploits an unpatched device driver to gain privileges normally reserved for the operating-system kernel. That is an OS-level privilege-escalation vulnerability because the driver operates at a privileged software boundary and an ordinary user should not cross into kernel execution. The evidence does not prove how the exploit works internally, only the resulting privilege boundary violation. Applying the vendor's patched driver, restricting untrusted driver loading, and enforcing supported kernel protections address the specific weakness.

Incorrect Answers

A:

Software supply-chain compromise would mean an attacker modified source, dependencies, build tools, or distribution mechanisms before software reached the system. The question says an already installed device driver has an unpatched vulnerability that lets ordinary users obtain kernel privileges. The flaw is in how the operating system processes the driver's operations or permissions, not evidence that the vendor shipped a deliberately malicious release. The supported classification is privilege escalation through an OS-level component.

B:

Firmware vulnerability refers to flaws in low-level code embedded in hardware devices, such as routers, controllers, or boot firmware, where update support may be limited. The item instead identifies a device driver executing under the operating system and a transition from an ordinary account to kernel privileges. A driver interacts with hardware, but it is still an OS-level component in this context. Firmware compromise or firmware update limitations are not established by the stated behavior.

D:

End-of-life exposure means a product has passed the point when the manufacturer provides security fixes or official support. The driver is unpatched in this case, but the stem does not say the vendor discontinued maintenance; a suitable update may simply not have been applied. An unpatched flaw and a permanently unsupported product are related yet distinct conditions. Without a stated support deadline, classifying the driver primarily as end-of-life would be an unjustified lifecycle assumption.

Question 113

A supported enterprise router runs outdated embedded firmware with a known weakness. The vendor still accepts support cases for the device, but offers no secure firmware update mechanism for this model. Which vulnerability class BEST captures the described issue?

  1. OS-level vulnerability
  2. Vulnerable software dependency
  3. Firmware vulnerability and lifecycle exposure
  4. End-of-life exposure

Explanation

Correct Answer

C:

The router runs outdated embedded firmware and the vendor offers no mechanism to deploy the necessary firmware fix. This creates a firmware vulnerability compounded by lifecycle and maintenance risk: the device may remain exposed even when administrators understand the defect. If safe updates cannot be obtained or applied, the organization must evaluate network isolation, compensating controls, and replacement rather than assume routine desktop patching applies. The most specific weakness lies in the device firmware and its absent remediation path, not in a separately loaded software library.

Incorrect Answers

A:

An OS-level vulnerability involves privileged operating-system code such as a kernel subsystem or driver, allowing a protection boundary to be crossed. The affected router here runs outdated firmware and lacks a safe vendor update mechanism, so the problematic code resides in embedded device firmware rather than an identifiable workstation OS service. Routers do run operating systems internally, but the question emphasizes the firmware lifecycle and remediation limitations that are most relevant to this device.

B:

A vulnerable third-party software dependency is an external library or package that an application consumes, creating exposure through its application or build pipeline. No external package, application manifest, or dependency resolution is mentioned in this router case. The defect concerns a device's installed firmware image and lack of a supported update path. General software-component scanning could still help identify flaws, but it would not by itself provide a secure firmware patch mechanism.

D:

End-of-life exposure specifically means manufacturer support or security maintenance has formally ended. The router's firmware is outdated and the vendor offers no patch mechanism, but the stem does not explicitly say the entire model is discontinued or beyond its support date. Lack of an upgrade path is serious and can coexist with end of life; however, the tested fact is the embedded firmware and its technical maintenance limitation. Do not infer an announced lifecycle termination not actually given.

Question 114

The manufacturer has ended security fixes for a critical storage controller. Which vulnerability type BEST explains the observed weakness?

  1. Firmware vulnerability and lifecycle exposure
  2. End-of-life exposure
  3. Zero-day vulnerability
  4. Vulnerable software dependency

Explanation

Correct Answer

B:

The storage controller is no longer covered by manufacturer security maintenance, so discovered vulnerabilities may remain unresolved through ordinary vendor patching. This is end-of-life exposure: continued production use creates a growing gap between known threats and the fixes that the organization can legitimately obtain. It does not require evidence of active exploitation to pose a security risk. Segmentation, restricted management access, enhanced monitoring, and a supported replacement plan are sensible risk treatments, but they do not retroactively restore vendor support.

Incorrect Answers

A:

Firmware vulnerabilities may involve defects in low-level device software or unsafe firmware update processes, including unsigned images or a missing upgrade path. The storage controller could suffer such flaws, but the scenario does not identify a particular firmware exploit. It explicitly says the manufacturer no longer provides security fixes for this critical product. The support cutoff is the distinguishing issue and may affect hardware as well as firmware; the broad category is end-of-life exposure.

C:

A zero-day vulnerability is a security flaw unknown to or unpatched by the defender at discovery, often before a vendor has a fix. The scenario identifies a manufacturer's decision to end security fixes, not evidence that an attacker discovered a previously unknown exploit. Unsupported products may accumulate known vulnerabilities as well as new ones. Calling every unpatched end-of-life flaw a zero-day incorrectly conflates vendor lifecycle status with when vulnerability information became available.

D:

A vulnerable software dependency is a faulty external library or package on which an application relies. Nothing in the storage-controller scenario points to dependency versions or untrusted package publication. Instead the hardware vendor has ended security maintenance for the whole critical controller. Even if the controller contains third-party components, the decisive risk is loss of manufacturer support and a reliable patch path. Treating the condition as a single application dependency would obscure that wider lifecycle constraint.

Question 115

Malicious code inside one guest accesses hypervisor resources outside its assigned virtual boundary. What is the most specific class of vulnerability behind this behavior?

  1. VM escape
  2. Cloud metadata exposure via SSRF
  3. Cloud permissions misconfiguration
  4. Resource reuse isolation failure

Explanation

Correct Answer

A:

Malicious code executes inside a guest virtual machine but reaches hypervisor resources outside that guest's allocated isolation boundary. That behavior is virtual-machine escape: the guest crosses from its own security context into the virtualization host or other protected infrastructure. A normal compromise confined to the guest would not satisfy this definition. This scenario explicitly mentions access to hypervisor resources, so the trust-boundary violation is sufficient to identify VM escape, although the exploit technique and exact extent of host compromise are not specified.

Incorrect Answers

B:

Cloud metadata exposure through SSRF happens when an application can be tricked into making server-side requests to an instance metadata endpoint, potentially disclosing temporary credentials. The case describes guest code reaching the hypervisor boundary, not a web server accepting a forged URL or returning metadata credentials. Both may expose cloud resources, but one crosses virtualization isolation directly and the other abuses an application request primitive. The stated behavior is virtual-machine escape rather than a metadata-service request.

C:

Cloud permissions misconfiguration occurs when a resource policy, identity role, or access grant allows more operations than intended, such as public reads of a storage bucket. The malicious code here does not simply use an overly broad permitted cloud role; it accesses hypervisor resources outside the guest's assigned virtual boundary. A cloud administrator could also misconfigure isolation, but no incorrect policy grant is described. The important symptom is failure of hypervisor/guest separation, not an overprivileged API credential.

D:

Resource reuse isolation failure occurs when data from one tenant remains accessible after resources such as storage blocks are reassigned to another. The guest code in this scenario reaches active hypervisor resources beyond its sandbox, with no storage reallocation or residual previous-tenant data. Both are virtualization-isolation problems, but the object and stage differ. Access outside a running guest's boundary is VM escape, whereas exposure from uncleared reused media is a separate data-remanence mechanism.

Question 116

A cloud provider reallocates an unencrypted block-storage volume from a former tenant to a new tenant. Before new writes occur, the second tenant can read fragments of the first tenant’s data because the storage blocks were not cleared. Which vulnerability BEST explains this event?

  1. VM escape
  2. Resource reuse isolation failure
  3. Cloud permissions misconfiguration
  4. End-of-life exposure

Explanation

Correct Answer

B:

The provider reassigns a previously used unencrypted block-storage volume without clearing the earlier tenant's data, allowing the new tenant to read residual fragments. This is resource reuse isolation failure, also called data remanence in shared resources. The new tenant need not exploit the hypervisor or obtain administrator privileges; normal access to an improperly sanitized allocation can be enough. Secure data erasure, encryption with destroyed tenant-specific keys, and verified deprovisioning processes prevent the cross-tenant confidentiality failure described.

Incorrect Answers

A:

VM escape occurs when code running inside a guest crosses into the hypervisor or an unauthorized host context. The incident happens when the provider reallocates a volume and fails to clear the former tenant's bytes; no guest escapes its execution boundary. The new tenant may only be using normal block reads, but those reads expose another customer's residual data because of a sanitation failure. The specific defect is isolation at resource reuse, not execution outside a virtual machine.

C:

Cloud permissions misconfiguration would grant a person or workload an overly broad role, public bucket access, or unauthorized operation through a policy. Here the new tenant is legitimately assigned a storage volume, but the provider has not sanitized the bytes left by the prior tenant. The identity permissions might be perfectly configured for the new allocation; the exposure arises because old data remains on the reused resource. Altering access-control grants alone would not remove residual blocks.

D:

End-of-life exposure occurs when a storage controller or software product no longer receives supported security fixes. No support deadline or obsolete hardware is mentioned in this incident. The immediate issue is the cloud provider's failure to wipe or cryptographically isolate a volume before reuse. Even a brand-new supported platform can mishandle data sanitization. The scenario therefore points to a reuse-control defect rather than loss of vendor maintenance.

Question 117

A cloud bucket unintentionally permits anonymous reads of confidential records. What is the most specific class of vulnerability behind this behavior?

  1. Cloud metadata exposure via SSRF
  2. Configuration exposure
  3. Resource reuse isolation failure
  4. Cloud permissions misconfiguration

Explanation

Correct Answer

D:

The cloud bucket's resource policy permits anonymous users to read confidential objects, demonstrating a permissions misconfiguration. The provider may enforce the policy exactly as written, but the policy itself grants access far beyond the intended audience. The key security boundary is cloud authorization, not encryption or hypervisor isolation. Removing public-read grants, restricting principals to approved identities, and auditing bucket policy conditions address the described flaw. No attacker credentials or special exploit are needed when anonymous access is allowed.

Incorrect Answers

A:

Cloud metadata exposure through SSRF requires a server-side request flaw that reaches an instance metadata endpoint or another internal resource. This case instead describes an object-storage bucket whose policy directly allows anonymous reads. No application proxy, forged URL, or metadata credentials are used. Although metadata theft can lead to unauthorized cloud access in other incidents, the available evidence concerns a misconfigured resource permission, not an SSRF request path.

B:

Configuration exposure is a broad description of unintentionally open or insecure settings. It is factually related to a public cloud storage bucket, but the question asks for the most specific class of vulnerability. The exact defect is an identity or resource policy permitting anonymous read access to confidential objects. Stating only configuration exposure fails to identify which access decision was misconfigured and why unauthorized readers can retrieve data.

C:

Resource reuse isolation failure involves information left on storage blocks or other shared resources after they are reassigned between tenants. The storage in this question is still being served from an active bucket under an access policy that permits public reads; there is no prior tenant or unsanitized allocation. The attacker's access is granted by a faulty authorization rule rather than by discovering remnant data in a newly allocated volume.

Question 118

An application vulnerable to server-side request forgery can query instance metadata credentials. Which vulnerability type BEST explains the observed weakness?

  1. Cloud metadata exposure via SSRF
  2. Directory traversal
  3. Cloud permissions misconfiguration
  4. Deserialization attack surface

Explanation

Correct Answer

A:

The application accepts an attacker-controlled URL and can be induced to make a server-side request to the cloud instance metadata endpoint. That is SSRF, and if the metadata service exposes credentials to the application, the flaw can disclose temporary cloud identity tokens. The root cause is allowing untrusted input to control server-side network destinations without robust validation and isolation. Restricting outbound destinations, hardening metadata access, and minimizing instance-role privileges mitigate this path. The scenario does not claim the attacker obtained full cloud administrator rights.

Incorrect Answers

B:

Directory traversal exploits manipulation of filesystem path components to read files outside the application's intended directory. The reported behavior instead causes a server-side HTTP request to a metadata service; no local path traversal or file read is involved. A server might have both weaknesses, but the input crosses a network-request boundary here rather than a filesystem directory boundary. File path canonicalization would not by itself prevent access to an internal HTTP metadata endpoint.

C:

Cloud permissions misconfiguration refers to excessive rights granted through roles or resource policies. The case establishes that an application can be coerced into requesting metadata credentials through SSRF; it does not say the underlying role's permissions are broader than intended. Overprivileged credentials could increase the consequences if stolen, but the immediate vulnerability is the server-side request capability. Improving authorization scoping is defense in depth, not a replacement for fixing the SSRF entry point.

D:

Unsafe deserialization would arise from treating untrusted serialized objects as executable or privileged application structures. The example describes a user-controlled server-side request directed at instance metadata, not object deserialization, class instantiation, or gadget invocation. Both bugs can result in serious compromise, but their execution primitives differ. Selecting deserialization would require evidence that crafted serialized data triggers code behavior rather than evidence that a URL can reach an internal service.

Question 119

A service uses an authenticated-encryption algorithm that requires a distinct nonce for every encryption under a given key. An implementation error repeats the same nonce and key for different messages. Which flaw is demonstrated?

  1. A weak password-hashing work factor for stored user credentials
  2. An expired TLS server certificate despite otherwise valid encryption
  3. Nonce reuse violating the authenticated-encryption scheme’s uniqueness requirement
  4. A missing digital signature on a separately distributed software package

Explanation

Correct Answer

C:

The encryption service repeats a nonce while reusing the same key even though the authenticated-encryption scheme explicitly requires a distinct nonce for each operation. That violates the scheme's uniqueness requirement; for modes such as GCM, repeating a nonce can severely undermine confidentiality and message-integrity guarantees. This is a cryptographic implementation failure rather than a certificate or password issue. Correct systems enforce a nonce allocation strategy and key-usage limits that prevent reuse; simply selecting a strong block cipher does not compensate for invalid nonce management.

Incorrect Answers

A:

A password-hashing work factor governs the cost of testing guessed passwords against stored verifiers, helping slow offline attacks. The scenario instead involves authenticated encryption of different messages with the same key and nonce. Password-verifier configuration does not determine whether an AEAD algorithm has received distinct nonces, and there is no password database in the case. The failure is in encryption invocation requirements, not password derivation strength.

B:

An expired TLS certificate can cause clients to reject the server's asserted identity even if the underlying cipher remains technically sound. The case makes no claim about certificates, certificate validity periods, or TLS server authentication. It describes repeated nonces under one authenticated-encryption key. Certificate renewal would not repair cryptographic misuse during symmetric encryption, and changing server trust status would not guarantee correct nonce generation.

D:

Digital signatures can authenticate a software publisher and help recipients detect alterations in a distributed package. The scenario does not concern software provenance or any separate release artifact. It deals with nonce values supplied repeatedly to an authenticated-encryption operation. Adding a software signature elsewhere cannot restore confidentiality or authenticity guarantees compromised by nonce reuse within the encryption service. The relevant fix must address nonce/key management directly.

Question 120

Staff bypass the approved app store to install unsigned enterprise tools from unknown links. Which vulnerability type BEST explains the observed weakness?

  1. End-of-life exposure
  2. Sideloading exposure
  3. Vulnerable software dependency
  4. Jailbroken-device risk

Explanation

Correct Answer

B:

Sideloading means installing applications from outside the approved or trusted distribution channel, often bypassing store review, signing, or managed approval procedures. Staff obtain unsigned enterprise tools from unknown links instead of the authorized store, so the software's origin and integrity cannot be established through the normal checks. Sideloading is not automatically malicious, but untrusted sources make a deceptive or tampered package easier to deliver. Restricting installation sources and requiring approved signed packages directly reduce the exposure described.

Incorrect Answers

A:

End-of-life exposure arises when the device or application is no longer maintained and therefore cannot receive ordinary security fixes. The staff in this case install unsigned tools from unknown links, but no vendor support cutoff is stated. A current, fully supported phone can be compromised by untrusted app installation without being obsolete. The immediate policy failure is bypassing approved distribution and provenance checks, not the end of a product's maintenance lifecycle.

C:

A vulnerable software dependency is a third-party library or package with a known flaw incorporated into an application or build. The scenario does not identify any dependency version or exploit in the code being installed. Its explicit facts concern unknown download sources, unsigned packages, and avoidance of the organization's approved app store. Dependency scanning is useful after software is obtained, but it does not establish provenance or replace control over where staff may install mobile apps.

D:

Jailbreaking removes platform restrictions and can grant unusually privileged access to applications or users. The scenario does not report that anyone altered the mobile operating system or removed enforcement mechanisms at the system level. It only describes installing tools from unapproved links, which some devices permit through ordinary settings. Jailbreaking may increase sideloading risk, but sideloading alone does not prove that platform security restrictions were removed or that root privileges were obtained.