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 13

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.

Question 121

A device owner removes platform restrictions to install privileged unsigned packages. What is the most specific class of vulnerability behind this behavior?

  1. End-of-life exposure
  2. Jailbroken-device risk
  3. Firmware vulnerability and lifecycle exposure
  4. Sideloading exposure

Explanation

Correct Answer

B:

The owner deliberately removes mobile platform restrictions to permit privileged unsigned packages. This is jailbreaking or rooting, depending on the device ecosystem, because enforced limits on software installation, code signing, and privilege boundaries are bypassed. Sideloading may then become easier, but the question emphasizes the underlying modification of the device's trust controls. The result can increase application access to protected resources and weaken isolation from other installed apps. A trusted mobile-device baseline would detect or disallow this state.

Incorrect Answers

A:

End-of-life exposure concerns a discontinued support period and missing vendor security updates, not deliberate removal of operating-system safeguards. The owner here strips platform restrictions so privileged unsigned packages can be installed. A newly released device may be jailbroken even when the manufacturer still issues updates. The significant evidence is the altered trust and privilege model, not the age or support status of the device.

C:

Firmware vulnerability and lifecycle exposure refer to defects or missing patch pathways in embedded device code. The facts do not describe a router, firmware exploit, or unsupported firmware image. They describe an intentional modification that removes restrictions on a mobile platform and grants privileged installation capability. Although some jailbreak methods exploit firmware or kernel weaknesses, the observed condition is weakened device trust enforcement, not proof of a particular vulnerable firmware component.

D:

Sideloading is the installation of software outside the approved store or management distribution channel. It can occur on a standard device through permitted configuration options without fully removing operating-system protections. The stem goes further: the owner removes platform restrictions and permits privileged unsigned packages, identifying a jailbroken or rooted state. Sideloading is a possible consequence, but the explicitly described trust-boundary bypass is the more precise classification.

Question 122

A supplier confirms a flaw is exploited before any vendor fix or formal disclosure exists. Which vulnerability type BEST explains the observed weakness?

  1. Zero-day vulnerability
  2. Firmware vulnerability and lifecycle exposure
  3. Jailbroken-device risk
  4. End-of-life exposure

Explanation

Correct Answer

A:

An exploited security flaw with no available vendor fix or formal disclosure at the time of exploitation fits a zero-day vulnerability. The defining time relationship is that adversaries are using an unknown or not-yet-remediated issue before defenders have a published patch to apply. The scenario explicitly confirms exploitation before a fix or disclosure exists, so the conclusion is grounded in the supplier's report. A zero-day label does not establish who discovered the bug or how sophisticated the attacker is, only the disclosure/patch state at the relevant time.

Incorrect Answers

B:

Firmware vulnerability and lifecycle exposure would involve a defect in embedded device code or missing firmware maintenance. The supplier's statement here supplies no particular platform, router, controller, or firmware component. Instead the emphasized fact is that exploitation predates disclosure and any vendor fix. A zero-day can affect firmware, operating systems, or applications, so treating it as specifically firmware-based would invent a target technology that is absent from the scenario.

C:

A jailbroken device has had platform protection rules deliberately bypassed, often to grant elevated privileges or install unapproved code. The scenario reports exploitation of a previously undisclosed flaw, but it does not identify a mobile device or removal of device security restrictions. A zero-day exploit could conceivably be used to jailbreak a phone, yet that is neither necessary nor established here. The pertinent inference is patch and disclosure timing, not mobile trust-state modification.

D:

End-of-life risk exists when the manufacturer has stopped providing supported security updates for a product. Here the issue is new or previously undisclosed and is being exploited before a fix exists; the supplier still confirms the flaw. No support cutoff or product retirement is stated. An actively supported application can experience zero-day exploitation, so absence of an immediate patch does not by itself mean the product is end-of-life.

Question 123

A web API reconstructs arbitrary object graphs from attacker-controlled serialized content. What is the most specific class of vulnerability behind this behavior?

  1. SQL injection
  2. TOCTOU race condition
  3. Directory traversal
  4. Deserialization attack surface

Explanation

Correct Answer

D:

The API accepts serialized data controlled by an attacker and reconstructs arbitrary object graphs without sufficiently restricting allowed types or behavior. That is an insecure deserialization attack surface: a crafted object may invoke dangerous methods, exhaust resources, or alter application state during restoration, depending on the platform. The stem does not prove remote code execution, only the unsafe capability to create attacker-selected objects. Use simple data-transfer schemas, constrain accepted classes, and avoid unsafe native deserialization of untrusted inputs.

Incorrect Answers

A:

SQL injection alters the interpretation of database query syntax when untrusted input is concatenated into a statement. The web API in this case reconstructs attacker-selected object graphs from serialized content; it is not described as constructing SQL queries. Deserialization may eventually trigger database access, but the vulnerable primitive would still be unsafe object restoration. Prepared SQL statements would not necessarily prevent execution of unsafe deserializer callbacks or gadget methods.

B:

A TOCTOU race occurs when a resource is checked and used at different times after an attacker changes its state or identity. This scenario does not mention a file path, preliminary permission check, or an exploitable timing interval. The API instead allows untrusted serialized content to control which objects are reconstructed. The trust failure occurs during object creation and processing rather than through a switch between resource validation and later use.

C:

Directory traversal manipulates filesystem paths so an application reads files beyond its intended directory. The API here rebuilds arbitrary object graphs from attacker-controlled serialized input, with no reference to parent-directory markers or filesystem navigation. An unsafe deserializer could possibly be leveraged to read files as an impact, but its initial mechanism is object instantiation from untrusted data. A path-validation fix alone would not address the described deserialization boundary.

Question 124

An authenticated user changes an object ID and retrieves another customer's private report. Which vulnerability type BEST explains the observed weakness?

  1. Deserialization attack surface
  2. Directory traversal
  3. SQL injection
  4. Broken object-level authorization

Explanation

Correct Answer

D:

An authenticated user changes the report identifier in a request and the application serves a different customer's private report. This is broken object-level authorization: successful login is not sufficient to access every record, so the server must check the caller's permission for each requested object. The identifier may be predictable or opaque, but secrecy of the ID is not a substitute for authorization. Enforcing tenant ownership and access policy on the server for every report access fixes the described trust-boundary failure.

Incorrect Answers

A:

Unsafe deserialization concerns reconstructing untrusted serialized objects and allowing their behaviors or unexpected types to affect application execution. The user in this case merely changes an object identifier in an ordinary authenticated request and receives another customer's report. No serialized class graph or object-restoration routine is mentioned. The problem is failure to enforce authorization for the particular report, not dangerous parsing of an object representation.

B:

Directory traversal accesses unauthorized filesystem paths by manipulating path components and escaping an allowed directory. The scenario says an authenticated customer changes a report's object ID and retrieves data belonging to a different customer. No path separators or directory traversal markers appear. The missing boundary is who may access the referenced business object, even when the identifier format is syntactically valid and the user is authenticated.

C:

SQL injection would use attacker-controlled input to change the meaning of a database query, such as modifying clauses or introducing additional commands. Here the user simply supplies another legitimate object identifier and the application returns that customer's report. Even parameterized SQL can be vulnerable to this problem if the server fails to verify ownership of the requested object. The issue is authorization per object, not query-text manipulation or unescaped SQL syntax.

Question 125

A download endpoint returns a server configuration file when given traversal sequences. What is the most specific class of vulnerability behind this behavior?

  1. Deserialization attack surface
  2. Embedded secret vulnerability
  3. SQL injection
  4. Directory traversal

Explanation

Correct Answer

D:

The download endpoint accepts relative path traversal sequences and returns a configuration file outside the intended download directory. This is directory traversal because attacker-controlled path components escape the allowed filesystem location after decoding or normalization. Encoded variants can bypass naïve string filters if the application checks one representation and opens another. The server should resolve paths safely against an approved root and enforce explicit file authorization before returning content. The key evidence is access to an unintended filesystem target, not a database or deserialization exploit.

Incorrect Answers

A:

An insecure deserialization bug would process untrusted object representations and instantiate unexpected types or invoke dangerous methods. The download endpoint instead responds to traversal sequences in a path and exposes a server configuration file. No serialized object reconstruction is described. Both flaws can reveal sensitive material, but the evidence points to inadequate normalization and restriction of filesystem paths, rather than an unsafe deserialization framework.

B:

An embedded secret vulnerability occurs when a credential or token is hardcoded inside an application or distributable package where attackers can extract it. The exposed server configuration file might contain secrets, but the question does not say a mobile package embeds them. The entry mechanism is a path traversal sequence used to fetch a file outside the permitted directory. The contents of the file are a possible impact, not the original root cause.

C:

SQL injection manipulates database commands by embedding SQL syntax into application input. The endpoint here uses encoded relative-path sequences to access a server file, and the outcome is a configuration file rather than unauthorized SQL query execution. A database might store download metadata in other systems, but no altered query is described. The specific parser weakness is filesystem path validation, so selecting SQL injection would confuse two different interpreters.

Question 126

A mobile package embeds a production service token that anyone can extract. Which vulnerability type BEST explains the observed weakness?

  1. Cloud permissions misconfiguration
  2. Configuration exposure
  3. Vulnerable software dependency
  4. Embedded secret vulnerability

Explanation

Correct Answer

D:

The mobile package includes a production service token in client-visible code or resources, so anyone who obtains the package can extract and reuse that secret. This is an embedded or hardcoded secret vulnerability: client devices are not a secure vault for server-side credentials. App signing does not conceal bundled strings or prevent reverse engineering. The safe design keeps privileged secrets on controlled servers and issues short-lived, appropriately scoped client credentials when necessary. The scenario requires no exploit beyond reading the distributable artifact.

Incorrect Answers

A:

Cloud permissions misconfiguration is an authorization policy that grants more rights than intended, such as a public object-storage bucket or an overly broad role. Here the client application contains a production service token that anyone can extract. An attacker may use that token according to whatever permissions it has, but insecure embedding is a credential-storage defect even if the token's scope is otherwise appropriate. Permissions review complements, but does not replace, removing secrets from distributable client code.

B:

Configuration exposure is a broad category for sensitive settings or insecure defaults becoming accessible. A production token embedded in a mobile application could be viewed as configuration information, but the question supplies a more specific weakness: a reusable secret is hardcoded into an artifact distributed to untrusted devices. Labeling it only general configuration exposure misses why static extraction grants access. The problem is not a network policy or an accidentally public configuration page.

C:

Vulnerable software dependency refers to an external library or package with a known defect that exposes an application. The scenario does not mention a third-party module, dependency version, or its exploit. It states that the application's own distributable bundle contains a production service token. Even perfectly patched libraries cannot make a statically embedded reusable credential safe, because anyone able to inspect the package can retrieve the bytes. The remediation should target the secret handling architecture.

Question 127

A dependency with a known exploitable CVE remains pinned to an obsolete build. What is the most specific class of vulnerability behind this behavior?

  1. Vulnerable software dependency
  2. Compromised software supply chain
  3. End-of-life exposure
  4. Embedded secret vulnerability

Explanation

Correct Answer

A:

The project pins an obsolete third-party dependency despite a known exploitable CVE in that version. This is a vulnerable software dependency because the application includes external code with a documented defect and has not applied a fixed release or safe mitigation. Pinning versions aids reproducibility but does not guarantee that a pinned version remains secure. The correct response is to evaluate a supported patched release, test compatibility, and use dependency inventories and vulnerability alerts to track exposure. Nothing here proves deliberate supplier tampering.

Incorrect Answers

B:

A compromised software supply chain implies an adversary modified the package, registry, build tools, or distribution infrastructure to introduce malicious material. The scenario says the selected version has a known exploitable CVE; it does not say attackers intentionally altered the package. A genuine but vulnerable dependency and a malicious counterfeit package are different threats requiring different provenance conclusions. Without evidence of supply-chain tampering, the supported problem is unpatched component risk.

C:

End-of-life exposure applies when the manufacturer ends support or security updates for the affected product. The dependency is pinned to an obsolete build, but the supplier might still maintain newer supported versions with the vulnerability fixed. Choosing an old version does not necessarily mean the whole dependency has no supported release. The observed flaw is a known exploitable defect in the used package version, so dependency management is the more specific issue.

D:

An embedded secret is a credential, token, or key hardcoded into a package that an attacker can retrieve. The case mentions a known CVE in an outdated dependency and says nothing about credentials included in the binary. A library might have a secret exposure bug, but that would need to be stated separately. The actual risk is exploitation of vulnerable component code, not possession of a static production token.

Question 128

A database is secure by default but deployed with network authentication disabled. Which vulnerability type BEST explains the observed weakness?

  1. Directory traversal
  2. Embedded secret vulnerability
  3. Configuration exposure
  4. Cloud permissions misconfiguration

Explanation

Correct Answer

C:

The database product is secure by default, but the deployment disables network authentication, exposing it to unauthorized clients. That is a configuration vulnerability: the software's intended protective behavior was changed through an insecure setting rather than being defeated by a coding flaw. The decisive facts are the default-secure baseline and the explicit disablement of access checks. Restore mandatory authentication, review network permissions, and use configuration drift monitoring to prevent recurrence. A different product might contain implementation bugs, but none is needed to explain this exposure.

Incorrect Answers

A:

Directory traversal exploits insufficiently restricted file paths to access content beyond an authorized root. The database in the scenario exposes an insecure network authentication setting rather than accepting malicious path sequences or reading unauthorized filesystem locations. Both are security defects, but one concerns path interpretation and the other concerns deployment controls. Path-normalization fixes would not restore the disabled database authentication requirement.

B:

An embedded-secret vulnerability arises when production credentials or tokens are stored in a client package or other accessible code. The database service in this case has authentication disabled at deployment; no hardcoded credential is mentioned or even required to access the database. Adding stronger secrets to applications would not solve a listener that does not check credentials. The relevant mitigation is to correct the service configuration and restrict network reachability.

D:

Cloud permissions misconfiguration involves incorrectly scoped identity roles, access policies, or cloud resource permissions. A database may be hosted in a cloud environment, but the scenario never specifies one. The described setting disables authentication on a database network service regardless of deployment platform. Labeling it a cloud IAM policy issue would add a provider-specific authorization layer not in evidence. The general configuration failure is the supported classification.

Question 129

Files become unreadable, shadow copies disappear, and a payment note appears. What is the most technically defensible interpretation of these signs?

  1. Self-propagating worm
  2. File-dependent virus
  3. Ransomware
  4. Trojan

Explanation

Correct Answer

C:

Files become unreadable, recovery shadow copies are removed, and the attacker leaves a payment demand. Together those observations indicate ransomware: malicious activity designed to deny victims normal access to their data or systems in order to extort value. Encryption and backup deletion reinforce the coercive objective, although a responder should still determine the precise malware and whether exfiltration also occurred. The payment note distinguishes this from generic corruption, and removing recovery copies impedes restoration without paying. Containment and verified backups are central response considerations.

Incorrect Answers

A:

A worm is malware that can independently propagate between systems, often by exploiting reachable services without requiring a user to open an infected host file. The evidence here centers on encryption of files, deleted shadow copies, and a payment note, not automated spread to other machines. A ransomware campaign might use a worm as its delivery or propagation method, but the defining observable behavior is extortion through restricted access. Spreading capability has not been demonstrated.

B:

A file-dependent virus replicates by infecting other host files and generally executes when the infected content is run or opened. The scenario supplies no evidence that copies of malicious code were inserted into other documents or programs. It instead describes unreadable data, shadow-copy removal, and a ransom demand, which identify the attack's main effect. A virus could deliver ransomware in another chain, but replication is not the behavior demonstrated in this case.

D:

A Trojan disguises malicious software as something legitimate to persuade users to execute it; the label concerns delivery or appearance, not its eventual effects. The scenario does not show an installer masquerading as a benign application, only encrypted files and an extortion note. Ransomware can arrive inside a Trojan, but that would describe how it entered rather than why files were made inaccessible. The strongest supported classification is based on the overt ransomware behavior.

Question 130

One infected host exploits the same service on nearby systems without further user execution. Which attack pattern or security indicator BEST accounts for these observations?

  1. Spyware
  2. Ransomware
  3. Self-propagating worm
  4. Trojan

Explanation

Correct Answer

C:

After one machine is infected, it independently exploits reachable copies of the same service on nearby systems without another user opening a file. That autonomous network propagation is the distinguishing feature of a worm. Worms can use software vulnerabilities to replicate quickly across hosts; the malware's payload need not be destructive for it to qualify. This is different from a file-dependent virus, which typically spreads by infecting host objects. The scenario supports the self-propagating mechanism, not a particular sponsor or final malicious objective.

Incorrect Answers

A:

Spyware quietly collects information about device or user activity and sends it to an unauthorized recipient. The affected host here exploits the same service on nearby systems without another user launching the code, which is evidence about propagation. No covert data collection, browser tracking, or surveillance objective is stated. A worm could carry spyware as a payload, but the observed self-spreading mechanism is what the question asks to classify.

B:

Ransomware commonly encrypts or blocks access to resources and demands payment or another concession, and it can spread using automated exploitation. This case, however, gives only a host that autonomously attacks neighboring services and establishes new infections. No encryption, lockout, payment note, or extortion motive is described. The ability to self-propagate is a defining worm behavior, while ransomware identifies a different payload outcome. A single malware specimen could exhibit both, but the provided evidence supports only the spread classification.

D:

A Trojan disguises a malicious program as legitimate software and relies on the user accepting or launching that disguise. The scenario contains no counterfeit installer or deceptive application presentation. It specifically notes that additional infections happen without fresh user execution, which is strong evidence of autonomous propagation. Trojan functionality could be present in the first infection, but that unobserved entry behavior does not explain how the malware reaches neighboring systems.