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 11

Question 100

A document contains a disguised embedded object that launches a payload when activated. Which attack vector or exposed surface is most specifically illustrated?

  1. File-based delivery vector
  2. Vulnerable client-side software
  3. Software supply-chain dependency risk
  4. Embedded active content as attack surface

Explanation

Correct Answer

D:

The document contains a disguised embedded object that executes a payload when activated, making embedded active content the immediate attack surface. Document formats may support objects, links, scripts, or automation features that transform a seemingly passive file into a launch mechanism. The important condition is the user's activation of the embedded object, not merely the transport medium or a software supply-chain update. Disabling unnecessary active-content features, applying document protections, and exercising caution with untrusted attachments mitigate this specific risk.

Incorrect Answers

A:

A generic file-based delivery attack brings malicious content to a target through a file such as an email attachment or shared executable. A document is indeed a file, but the question singles out an embedded object within otherwise normal-looking content that launches a payload upon activation. That internal active-content mechanism is more precise than the broad fact that a file was involved. The distinction helps defenders apply object and macro restrictions rather than only scanning file names or transport channels.

B:

A vulnerable client-side application contains a coding or configuration weakness that allows untrusted content to trigger unintended behavior. The scenario instead says an embedded document object actively launches a payload when the user activates it. It does not demonstrate a parser bug, exploited memory corruption, or an outdated client. Malicious active content can operate through permitted document features, so assuming a software vulnerability would change the technical cause without evidence.

C:

A software supply-chain dependency attack places malicious code in a package or third-party component trusted by a build or installation process. The case concerns a user opening a document containing a disguised embedded object, not a developer resolving packages or a vendor publishing a compromised update. Both may execute unauthorized code, but the trust relationships are different. The observed activation route is document content rather than build-time dependencies.

Question 101

An intruder enters the organization’s official help-desk ticket/chat workflow, claims to be a senior manager, and pressures the service agent to bypass identity checks during password reset. What is the most specific social-engineering vector?

  1. Disinformation enabling deception
  2. Instant-messaging social engineering
  3. Help-desk social engineering
  4. File-based delivery vector

Explanation

Correct Answer

C:

The intruder contacts the help desk through its support channel, impersonates a senior manager, and pressures the agent to bypass normal identity verification. That is help-desk social engineering, in which attackers target the human controls around account recovery or privileged assistance instead of exploiting a software vulnerability. A convincing title or urgent request does not prove the caller's identity. Requiring out-of-band identity verification and documented reset approvals prevents this type of role-based manipulation from granting unauthorized access.

Incorrect Answers

A:

Disinformation uses false claims presented as factual information to mislead an audience, often on a broad distribution channel. The observed attacker here impersonates a senior manager directly in the official support workflow to circumvent identity checks. False statements may form part of the deception, but the targeted victim is the help desk and the requested action is a support-process bypass. The more precise risk is social engineering of an identity-verification procedure rather than mass false-information dissemination.

B:

Instant-message phishing can occur in a coworker chat or collaboration tool when someone sends a malicious link or request. The case takes place in a help-desk support channel in which the attacker asks a support agent to bypass identity verification while claiming to be a senior manager. Although the interaction may use chat technology, it is specifically an abuse of account-recovery or support authentication controls. The recipient's role and requested support action make the help-desk category more precise.

D:

File-based delivery involves a malicious program or document transported through a share, attachment, or similar medium and executed by a recipient. The scenario contains a support conversation and a request to weaken verification, not an executable or embedded payload. An intruder who obtains access through the help desk might later upload malware, but that is not the social-engineering vector described. The immediate failure mode is human authorization being bypassed, not content execution.

Question 102

An attacker spreads fabricated outage notices to redirect employees to an unapproved portal. Which attack vector or exposed surface is most specifically illustrated?

  1. Help-desk social engineering
  2. Instant-messaging social engineering
  3. Brand impersonation
  4. Disinformation enabling deception

Explanation

Correct Answer

D:

The attacker distributes false outage announcements and uses that invented emergency to steer employees to an unapproved portal. This is disinformation serving as an enabling mechanism for social engineering: the fabricated operational claim changes what users believe they should do. The portal may later steal credentials, but the attack begins by manipulating perceived service status. Verification against authenticated internal incident channels and avoiding unsolicited recovery links address this stage. The question does not establish which account or message platform distributed the false notices.

Incorrect Answers

A:

Help-desk social engineering manipulates support personnel into bypassing authentication, performing password resets, or disclosing access information. The attacker here spreads fabricated outage notices to a wider employee audience and directs recipients to an unapproved portal. No support agent or help-desk workflow is involved. Although the notices imitate operational information, the specifically observed enabling tactic is false publicized information, not a direct request to a technical support representative.

B:

Instant-message social engineering requires an identified messaging channel, such as a team chat containing a deceptive link or request. The scenario says fabricated outage notices are distributed but does not specify a chat service or a hijacked messaging account. The notices could arrive through several media, so inferring a particular collaboration channel would be unjustified. Their shared defining feature is intentionally false outage information that redirects employees into an attacker-controlled workflow.

C:

Brand impersonation would require the attacker to imitate a trusted company's name, logo, domain, or official support presence. An unapproved portal could be counterfeit, but the question does not say it copies any existing brand or closely matches a legitimate hostname. The fabricated outage notice is the evidence provided. Calling this brand impersonation would depend on an additional fact about visual identity or domains that investigators have not observed.

Question 103

An unmonitored lobby Ethernet jack leads directly to an internal user VLAN. What is the primary means of attack or exposure in this case?

  1. Bluetooth attack surface
  2. Removable-device threat vector
  3. Exposed service port
  4. Exposed physical network port

Explanation

Correct Answer

D:

An unmonitored Ethernet jack in a public lobby connects directly to an internal user VLAN, allowing someone with physical access to attach a device to a trusted network segment. This is an exposed physical network port, not a software-service listener. The danger is bypassing normal device admission and network boundary controls through unused but live cabling. Disabling unused switch ports, enforcing network access control, and segregating visitor access directly address the weakness. The case does not require any compromised host or stolen password.

Incorrect Answers

A:

Bluetooth exposure involves discoverable short-range radio interfaces or pairing and profile features on nearby devices. The lobby condition is a wired Ethernet socket connecting to the internal user VLAN; it does not depend on Bluetooth discovery or pairing. Both can be abused by physically nearby attackers, but the access protocols and mitigations differ. Securing the physical jack and its switch port is necessary, rather than changing Bluetooth settings on clients.

B:

Removable-device threats arise from unknown USB drives or other portable storage used to introduce malicious files or exploit host interfaces. The lobby Ethernet jack is a network cable connection, not a removable storage drive carrying software. An attacker might use a USB-to-Ethernet adapter to connect a laptop, but the security defect remains an unmonitored wired network port allowing access to an internal VLAN. Treating it as storage media would target the wrong control.

C:

An exposed service port is a listening TCP or UDP endpoint on a host that remote clients may connect to, such as an insecure management service. This scenario identifies a physical Ethernet jack in the lobby that provides a path into the internal switching network. No particular server service or open Internet port is mentioned. A physical connector and a network listener may interact, but they are not interchangeable attack surfaces.

Question 104

A workstation management agent is outdated and processes untrusted commands from a remote controller. Which attack vector or exposed surface is most specifically illustrated?

  1. Exposed service port
  2. Software supply-chain dependency risk
  3. File-based delivery vector
  4. Vulnerable client-side software

Explanation

Correct Answer

D:

An outdated workstation management agent processes commands from a remote controller that should not be trusted without validation and authorization checks. This identifies vulnerable client-side software as the attack surface: an installed program handles potentially hostile remote input and may execute unauthorized instructions if its protections are inadequate. The precise exploit is not stated, so the classification does not presume a particular buffer bug or stolen credential. Updating or replacing the agent and restricting trusted controller identities are relevant controls for the described exposure.

Incorrect Answers

A:

An exposed service port would mean the workstation or agent accepts unauthorized inbound connections on a particular reachable network listener. Here the significant fact is that an outdated workstation management agent processes untrusted commands from a remote controller. That describes weakness in the installed client agent and its trust handling; the case does not say an unintended server port is publicly reachable. A vulnerable client can be exploited without exposing a new service listener.

B:

Supply-chain dependency risk comes from a malicious or untrusted package entering software through an external library, vendor release, or build process. The management agent is described as outdated and processing untrusted controller input, not as a knowingly compromised update or forged library. A supply-chain incident could create an insecure agent, but that origin is not evidenced. The relevant weakness is the behavior of software already installed on the workstation.

C:

File-based delivery introduces malicious code through an attachment, shared file, or executable launched by the target. The scenario instead points to commands or messages processed by an existing workstation management agent from a remote controller. The attacker could send malicious content as data to the agent, but no file download or direct execution path is described. Calling it file delivery would replace the observed client-agent attack surface with an unrelated transport assumption.

Question 105

A search field changes server-side database query behavior when special SQL syntax is submitted. What is the most specific class of vulnerability behind this behavior?

  1. Directory traversal
  2. Stored XSS
  3. Reflected XSS
  4. SQL injection

Explanation

Correct Answer

D:

The search input alters the structure of a server-side database query when it contains SQL syntax, demonstrating SQL injection. The likely failure is unsafe construction of a SQL statement with untrusted input treated as executable query text rather than as bound data. That boundary can let an attacker change filters or retrieve unauthorized records depending on database privileges. Parameterized statements, constrained dynamic query structure, and least-privilege database accounts mitigate the stated flaw. This is not code running in the user's browser.

Incorrect Answers

A:

Directory traversal occurs when user-controlled path segments such as parent-directory markers cause an application to access files outside an intended directory. The question instead describes SQL syntax changing a server-side database query. No file path is being constructed or used to retrieve an unauthorized directory. Both problems can arise from trusting user input, but the relevant interpreter and security boundary differ. The observed behavior implicates query construction rather than filesystem-path normalization.

B:

Stored cross-site scripting places attacker-controlled browser-executable content in a data store and serves it later to other visitors. The scenario provides no persisted comment, page, or JavaScript execution in a browser. Instead special SQL characters alter a database query on the server. An attacker could potentially exploit both weaknesses in one application, but the evidence here concerns injection into database syntax, not an unescaped persistent web script.

C:

Reflected cross-site scripting happens when submitted content is returned in an immediate web response and executes as script in the visitor's browser. This case says unusual SQL syntax changes the server's database query, which involves the SQL interpreter rather than browser JavaScript. The presence of a search field is not sufficient to diagnose XSS. The deciding observation is the altered SQL execution semantics behind the application, not what a user sees in HTML output.

Question 106

A malicious comment runs JavaScript in every reader's browser after publication. Which vulnerability type BEST explains the observed weakness?

  1. SQL injection
  2. Deserialization attack surface
  3. Stored XSS
  4. Reflected XSS

Explanation

Correct Answer

C:

The attacker submits a malicious comment that is saved and later rendered to every subsequent viewer as executable JavaScript. This is stored cross-site scripting: hostile input persists on the server and is delivered to browser sessions when the affected page is visited. One successful submission can affect multiple visitors without each receiving a specially crafted link. Context-aware output encoding and safe HTML handling prevent untrusted comment data from being interpreted as active script. The stored persistence distinguishes it from reflected XSS.

Incorrect Answers

A:

SQL injection manipulates commands sent to a database server by inserting untrusted SQL syntax into query construction. The malicious comment here is already stored and later runs as JavaScript in viewers' browsers. There is no sign that the original input changed the application's SQL statements. The database could merely be the storage location for the hostile script, and using a database does not transform browser-side execution into SQL injection.

B:

Unsafe deserialization occurs when an application reconstructs objects from untrusted serialized data in a way that can trigger unintended behavior or code execution. The scenario does not describe object reconstruction or gadget chains. It describes saved comment text rendered as executable JavaScript in the browser of subsequent readers. The decisive boundary is output encoding and HTML/script interpretation, not trusted deserialization of a binary or structured object.

D:

Reflected XSS returns an attacker's input in a single immediate HTTP response, often when a user follows a crafted URL. The injected script in this question remains in a published comment and affects later readers who did not submit the payload themselves. Both execute in browsers, but their delivery lifecycles differ. Calling it reflected XSS would ignore the server-side persistence and repeated exposure of independent visitors.

Question 107

A crafted query parameter appears unsanitized in an immediate HTML response and executes in the visitor browser. What is the most specific class of vulnerability behind this behavior?

  1. SQL injection
  2. Stored XSS
  3. Buffer overflow
  4. Reflected XSS

Explanation

Correct Answer

D:

The application places an attacker-supplied query parameter into the immediate HTML response without proper context-sensitive escaping, and the browser executes it as code. This is reflected cross-site scripting because the payload travels with the request and is reflected back in a single response rather than being stored for later visitors. A victim often must open a crafted link for the attack to take effect. Correct output encoding, safe templating, and appropriate content security controls address the described browser interpretation flaw.

Incorrect Answers

A:

SQL injection affects the database query language or its execution when application input is used unsafely as SQL syntax. The crafted URL parameter here is copied into an HTML response and executed in the browser, with no indication that a database command was changed. Input validation is relevant to both classes, but the interpreter that executes the payload is different. This is client-side script execution caused by unsafe output handling, not database manipulation.

B:

Stored XSS involves attacker input being retained in comments, profiles, or other storage and later served to visitors. The payload in this case travels through a crafted query parameter and appears immediately in the HTTP response without being stored. A single link can affect a victim, but future visitors do not receive the script unless they encounter the crafted request. The lack of persistence is why reflected, rather than stored, XSS is the narrower diagnosis.

C:

A buffer overflow occurs when code writes beyond the bounds of an allocated memory region, often because size checks are inadequate. This scenario shows HTML reflecting a crafted parameter and executing JavaScript in the browser, not memory corruption or overwritten stack/heap memory. Although both are application vulnerabilities, the visible execution environment and root cause differ. Stack canaries or memory-safe parsing would not by themselves correct unsafe HTML output encoding in this page.

Question 108

An image parser copies oversized metadata into a fixed-size stack buffer. Which vulnerability type BEST explains the observed weakness?

  1. Buffer overflow
  2. TOCTOU race condition
  3. Process memory injection
  4. Deserialization attack surface

Explanation

Correct Answer

A:

A fixed-size stack buffer cannot safely accept metadata larger than its allocated capacity unless the parser checks length and copies only within bounds. Copying oversized image metadata into that buffer risks overwriting adjacent stack memory, a classic buffer overflow. Depending on mitigations and exploitability, the result may be a crash or attacker-controlled execution, but the stem does not prove a successful exploit. The defining flaw is an out-of-bounds memory write caused by insufficient size validation in the image parser.

Incorrect Answers

B:

A time-of-check/time-of-use race occurs when a program validates a resource and later uses it after an attacker can change what the reference points to. The image-parser case instead describes writing oversized bytes into a fixed-size buffer. There is no interval between permission checking and file use and no attacker-controlled replacement of a path. Both bugs can occur in low-level software, but one is temporal and the other violates memory bounds.

C:

Process injection uses operations that place executable code inside another running process and may arrange for that process to execute the code. This scenario involves the parser overflowing its own fixed stack buffer while handling malformed metadata; no separate target process or cross-process memory modification is described. A buffer exploit might later be used to inject code, but the observed vulnerability itself is memory-boundary failure, not the subsequent adversary execution technique.

D:

Insecure deserialization involves restoring an object graph from untrusted serialized input in a way that triggers unexpected methods or dangerous object behavior. The image parser handles oversized metadata copied into a fixed stack buffer; the problem is an unchecked length and memory overwrite. Even if metadata is structured, the case does not describe object reconstruction or deserialization gadget execution. The mechanism distinguishes a buffer overflow from broader untrusted-data handling problems.

Question 109

A privileged service checks a temporary path then an attacker swaps its target before opening it. What is the most specific class of vulnerability behind this behavior?

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

Explanation

Correct Answer

D:

The privileged service validates a temporary file path and only later opens it, while an attacker can replace the referenced target in between. This is a time-of-check/time-of-use race condition: the object actually used may not be the object whose permissions were approved. The security consequence depends on what file gets substituted and what privileges the service has. Using atomic operations, secure file descriptors, and avoiding reopen-by-name after checking can reduce the race. The central mechanism is changing state between verification and use.

Incorrect Answers

A:

Reflected XSS would involve unsafe inclusion of attacker input in an HTML response, causing execution in a user's browser. The privileged service instead checks one filesystem path and uses it later after an attacker changes the target. No browser or script-bearing web response is present. Both may stem from untrusted input, but the exploit depends on timing between resource validation and use, not output escaping or HTML interpretation.

B:

Buffer overflow exploits a write past an allocated memory boundary, usually involving unchecked input sizes. The case does not mention an oversized buffer or memory corruption. It states that a temporary path is checked and then points to a different target when opened. The defect is the gap between validation and access, allowing the security decision to apply to a different object. Bounds checking would not by itself close this race window.

C:

Process memory injection places code into the address space of another running process, often to evade detection or gain that process's privileges. Here the attacker swaps a filesystem target between a check and an open operation. There is no injection into another process or execution of a payload from its memory. A malicious file might eventually be opened, but the explicit vulnerability is that the service trusts a previously checked path after its referent changes.

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.