CompTIA SY0-701 Exam Dumps, Practice Test Questions

100% Latest & Updated CompTIA SY0-701 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

CompTIA SY0-701 Premium Bundle
$79.97
$59.98

SY0-701 Premium Bundle

  • Premium File: 1044 Questions & Answers. Last update: Nov 14, 2026
  • Training Course: 167 Video Lectures
  • Study Guide: 1003 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

SY0-701 Premium Bundle

CompTIA SY0-701 Premium Bundle
  • Premium File: 1044 Questions & Answers. Last update: Nov 14, 2026
  • Training Course: 167 Video Lectures
  • Study Guide: 1003 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

CompTIA SY0-701 Practice Test 11

Question 100

A customer changes an invoice number in a REST request and receives a different account's bill. Select TWO actions that correct the resource-level flaw and prove neighboring customer data stays inaccessible.

  1. Execute regression requests using another customer's invoice ID and assert authorization failure.
  2. Encrypt the invoice backup while granting all logged-in users API read access.
  3. Hide invoice IDs in the browser navigation but keep the API permission unchanged.
  4. Increase the invoice number length while skipping ownership checks.
  5. Enforce caller-to-invoice authorization for each requested object identifier on the server.

Explanation

Correct Answers

A:

A negative cross-account test shows the object-level policy cannot be bypassed by editing the URL. Test as one customer while deliberately requesting another customer's invoice identifier and assert a denial at the API boundary. This catches object-level authorization failures that ordinary functional invoice retrieval tests would overlook.

E:

An authenticated user may fetch only the invoice records the business access policy allows. Object-level authorization checks must bind both the authenticated user and the requested invoice to an approved business relationship. The response should be denied even when the identifier is syntactically valid and the caller logged in successfully.

Incorrect Answers

B:

At-rest backup protection does not correct the live per-object authorization boundary. The bill is served by a live authenticated API operation, not read from the encrypted backup. A caller who can request other customers' identifiers remains over-authorized despite perfect at-rest backup encryption.

C:

An attacker can submit a manually chosen ID regardless of the interface's visible links. Hidden links only affect navigation in the user interface; the client can construct arbitrary HTTP requests. The backend must verify ownership or entitlement for each invoice identifier independent of what the browser displays.

D:

Harder guessing is not a substitute for enforcing whether the requester is permitted to see a given invoice. Longer numeric identifiers may slow guessing but clients can still substitute an observed or leaked invoice ID. A correct access decision must depend on the caller's entitlement to that object, not on identifier unpredictability.

Question 101

Every new test environment created by an infrastructure template exposes an administrator SSH listener to the public internet. Which change prevents the unsafe default from recurring in fresh deployments?

  1. Retain exposure and send a weekly report to the security team.
  2. After each test environment launches, apply an operations script that closes public SSH access, leaving the original infrastructure template unchanged.
  3. Move SSH administration to a nonstandard TCP port while leaving that port publicly reachable in every infrastructure template.
  4. Change the template to private management access and fail deployments that restore public administration.

Explanation

Correct Answer

D:

A safe default plus CI policy prevents each new environment from reproducing the public control-plane listener. A versioned template fixes the cause of the recurring public listener, and a failing policy check prevents future releases from silently restoring it. Administrative access can remain available through an approved private management path.

Incorrect Answers

A:

A delayed visibility measure creates an avoidable public attack window on every provisioned environment. The exposed SSH port is recreated automatically from the same provisioning definition, so a weekly report allows every new test host to be scanned before anyone responds. Prevention must occur at the template or deployment policy boundary.

B:

The postdeployment script may shorten the duration of exposure, but every new environment still starts with the public administrator listener enabled. An execution failure or scheduling delay would recreate the unsafe interval. The control required by the stem is prevention at provisioning time: correct the template and make deployment validation reject a public management path.

C:

A port change may reduce simple opportunistic scans against the default number, but does not remove Internet reachability of the administrative service. Targeted scanning finds services on alternate ports, and the insecure configuration would still be recreated by each template deployment. Restrict the management path in the template and fail the build when public ingress is reintroduced.

Question 102

An internal invoice-processing tool imports a Python package called `billing-auth` from the company's private package index. A public repository now contains a higher-version package with the same name, and the build machine occasionally resolves that public candidate. Which TWO controls prevent this single dependency-confusion path? Choose TWO.

  1. Pin the package's semantic-version range but permit the resolver to use the public index whenever the private index responds slowly.
  2. Limit who may upload to the company’s private package index but allow the build resolver to prefer higher public versions of the same package name.
  3. Disable package manager logging but keep the public fallback behavior unchanged.
  4. Require a reviewed lockfile and verify the resolved artifact digest against the internally approved build.
  5. Pin the internal `billing-auth` dependency to an approved private registry and prohibit fallback to public candidates for that namespace.

Explanation

Correct Answers

D:

Digest verification detects replacement or altered package bytes even if a resolver or mirror is misconfigured. An approved lockfile binds a dependency to a particular version and expected artifact bytes. Checking those bytes against the internal known-good digest exposes substitution even when a mirror or resolver returns a plausible package name.

E:

Private namespace precedence prevents an attacker from winning resolution by publishing a higher-numbered public package with the same identifier. Private registry enforcement closes the namespace route used by the attacker: the build must not fall back to untrusted public content when resolving the internal package name. Combining source restriction with digest verification covers both wrong-origin and tampered-artifact risks.

Incorrect Answers

A:

A version range constrains which versions satisfy the dependency, yet it does not establish the publisher or provenance of a same-name artifact. The case already shows that the public index can win resolution. Private-namespace enforcement and an approved digest prevent a plausible but attacker-controlled higher version from entering the build.

B:

Private-registry publisher controls reduce the risk of unauthorized internal uploads, but do not address the build tool choosing a lookalike package from an external source. The attack here exploits repository precedence and namespace resolution. Pin the approved origin, block fallback for private names, and verify the resolved artifact against a reviewed lockfile or digest.

C:

Hiding resolution decisions does not constrain where the `billing-auth` dependency is obtained. Removing logs makes later forensic reconstruction harder but does not affect resolver precedence or whether a public repository is queried. A reproducible secure build needs constrained sources and verifiable package identity, not hidden fetch history.

Question 103

A public service parses untrusted binary messages through a vulnerable network protocol decoder. A supported fix exists, but updates require scheduled testing. What defensive plan addresses the reachable flaw?

  1. Move the listener to a different public port and treat the protocol as fixed.
  2. Increase hardware memory without testing the updated decoder.
  3. Turn off all parser failure logs while leaving the code unchanged.
  4. Restrict incoming access immediately, then deploy and validate the vendor's fixed parser build.

Explanation

Correct Answer

D:

Temporary filtering reduces exploit opportunity until the vulnerable message-handling code is safely replaced. Restricting allowed clients limits the attacker's reach during the maintenance window, but should not be mistaken for correcting vulnerable code. Deploy the supported parser fix, test malicious and normal messages, then confirm the live build actually changed.

Incorrect Answers

A:

Port renaming does not correct unsafe parsing when a client discovers and reaches the new endpoint. The vulnerable parser receives the same attacker-controlled message regardless of which port number carries it. A scanner or informed client can reach the moved service; the flaw is within message-decoding logic, not its naming.

B:

More memory does not remove parser defects or prove a patch changed the vulnerable behavior. Extra memory might delay resource exhaustion but cannot make an unsafe decoder correctly validate message lengths or state transitions. Testing the patched build matters because the defect is code behavior, not hardware capacity.

C:

Suppressing evidence makes exploitation harder to detect but cannot stop crafted malformed messages. Suppressing parse errors removes indicators needed to recognize malicious input and assess remediation, while the decoder keeps processing crafted messages. A monitoring change cannot remove exploitability of the public entry point.

Question 104

A workstation suddenly replaces office documents with encrypted files having unfamiliar extensions, and its file-write activity spikes. Which incident hypothesis best explains the indicator?

  1. A legitimate endpoint encryption rollout encrypting newly created documents under an approved endpoint policy.
  2. A planned cloud-sync optimization with no data impact.
  3. A document-management application migrating files into an approved encrypted repository.
  4. Ransomware is rewriting user data, so isolate the endpoint while retaining forensic artifacts.

Explanation

Correct Answer

D:

Rapid unauthorized encryption and extension changes indicate destructive file processing that may spread if the host remains connected. File encryption with unfamiliar extensions and sudden write volume strongly supports ransomware activity, though confirmation still requires process and artifact review. Isolating the host promptly limits additional shared-file damage while preserving evidence for eradication and recovery.

Incorrect Answers

A:

An authorized endpoint-encryption rollout could explain increased file processing, but the case gives no approved change or agent record and describes original office files becoming inaccessible with unfamiliar extensions. Endpoint encryption policies normally protect storage transparently or create managed encrypted outputs. Unexplained bulk rewriting should be investigated as ransomware until evidence establishes an approved deployment.

B:

Sync tools do not normally replace accessible documents with unreadable encrypted versions without user authorization. An ordinary synchronization job preserves usable file data and has change records; it should not render large sets of documents unreadable without authorization. Investigators should look for unexpected process writers and extension changes rather than assuming a harmless optimization.

C:

A planned repository migration may generate encrypted copies, but it should have defined destinations, change records and continued authorized retrieval. The workstation instead unexpectedly replaces users’ documents with unreadable files and spikes local writes. A migration hypothesis requires corroborating application provenance and business authorization; it does not outweigh the immediate ransomware indicators.

Question 105

A compromised host begins replicating the same executable to adjacent systems without users opening any file or email. What malicious behavior is most strongly indicated?

  1. Interactive lateral movement using stolen administrator credentials to copy and run the executable on each host.
  2. A Trojan that requires every user to install a separate disguised utility.
  3. A centralized software-distribution job pushing the executable to enrolled endpoints under a signed deployment policy.
  4. A network worm that spreads automatically through reachable hosts.

Explanation

Correct Answer

D:

Self-replication without new user interaction is characteristic of worm propagation and makes segmentation urgent. A worm can scan or exploit reachable systems and start new copies without a user opening attachments on each one. Immediate segmentation of affected reachability and containment of the spreading process limit further hosts at risk.

Incorrect Answers

A:

An intruder with administrator credentials can deploy a binary to multiple machines without each user touching it, making lateral movement plausible. But the prompt describes autonomous replication from the infected host rather than repeated remotely directed launches. Credential-driven deployment is a different propagation mechanism and requires evidence of an operator or deployment orchestration.

B:

The repeated infections occur without individual installer actions on each new host. A traditional disguised installer depends on another person or process launching each new copy. Here the software replicates to adjacent systems without those actions, pointing to an automated propagation capability rather than repeated manual installations.

C:

Enterprise deployment agents can install software without employee interaction and superficially resemble rapid spread. However, authorized deployment has management-server logs, package provenance and managed target inventory. The case starts with a compromised host replicating to adjacent reachable machines rather than a trusted distribution system distributing a verified release; verify software-management telemetry before dismissing the worm alert.

Question 106

Employees download a supposed disk-cleanup utility that silently creates a persistence task and uploads saved browser credentials. Which malicious software type fits this delivery method?

  1. A malicious browser extension installed during a separate browser add-on enrollment.
  2. A Trojanized utility masquerading as a legitimate maintenance program.
  3. A network worm that must self-replicate independently across hosts.
  4. An approved configuration-management script that intentionally archives credentials.

Explanation

Correct Answer

B:

The program's friendly appearance disguises credential theft and persistent execution after installation. The apparent utility gives the employee a plausible reason to install the executable, while its hidden tasks steal browser credentials and maintain access. The deceptive packaging defines the Trojan delivery behavior even if the program performs some legitimate cleanup functions.

Incorrect Answers

A:

An extension could steal browser credentials, but this case explicitly begins with installation of a purported desktop disk-cleanup executable. The deceptive full application then creates a persistence task and uploads secrets. Without evidence that an extension was installed, its packaging and execution model cannot account for the observed utility-driven compromise.

C:

The observed entry involved a user installing a deceptive program, not autonomous network propagation. Autonomous worm replication is not needed to explain compromise when the user directly installed a counterfeit maintenance program. The key indicators are disguised purpose, persistence and secret extraction, not repeated copies arriving at adjacent hosts.

D:

No organizational authorization supports secret extraction to an unknown receiver. Authorized credential handling would require documented purpose, approved secure storage and tightly constrained destinations. Silent collection and upload of saved browser passwords to an unknown receiver is incompatible with a routine maintenance script.

Question 107

The operating system's standard process list is empty for a suspicious service, but trusted offline disk inspection finds unauthorized kernel hooks and persistence code. What malware class is most concerning?

  1. A user-mode remote-access implant that persists through a startup item but does not alter kernel interfaces.
  2. A rootkit designed to conceal privileged malicious processes and hooks.
  3. A legitimate endpoint protection driver installing documented kernel callbacks for self-defense.
  4. An unwanted browser extension that redirects searches and inserts advertisements.

Explanation

Correct Answer

B:

Kernel-level manipulation can hide activity from ordinary tools running inside the compromised operating system. Privileged hooks can intercept system queries so compromised in-OS tools return deceptive results. A trusted offline view bypasses those hooks and can reveal the hidden persistence that makes a rootkit especially concerning.

Incorrect Answers

A:

User-mode remote-access malware can be persistent and evasive, so it is a reasonable initial hypothesis for a hidden service. Yet the offline findings include unauthorized kernel hooks and privileged concealment. A simple startup item would not ordinarily subvert operating-system process enumeration in this way; a rootkit better explains the discrepancy.

C:

Endpoint protection products may legitimately use kernel callbacks and protected services, so kernel activity alone is not proof of malicious rootkits. Here trusted offline analysis identifies unauthorized hooks and persistence code with missing ordinary process visibility. The security team must verify signed driver provenance and configuration; without that evidence, this legitimate-driver explanation does not fit.

D:

A browser extension can be malicious and may persist across browser restarts, so it can look like a candidate when analysts encounter unexpected activity. This case includes unauthorized kernel hooks and a service hidden from normal operating-system inspection, which points to deeper privileged concealment than ordinary adware. An extension alone does not account for kernel-level process hiding seen in the offline examination.

Question 108

An employee's laptop periodically uploads screenshots and keystroke metadata to an address unrelated to any approved support vendor. What category best describes the observed software?

  1. Spyware collecting private activity for an unauthorized receiver.
  2. An enterprise remote-assistance agent capturing a user-approved support session for an authorized help desk.
  3. A corporate usability study collecting opt-in application screenshots to a registered research service.
  4. A service availability monitor checking HTTP response time.

Explanation

Correct Answer

A:

Continuous covert capture and outbound transfer of user behavior are surveillance features outside legitimate support operations. The repeated capture of user activity, concealment and transfer to an unapproved host reveal an unauthorized surveillance purpose. Analysts should establish process identity and destination ownership and contain access to sensitive keystroke material.

Incorrect Answers

B:

Approved support tools can capture screen content during a consented session and may transmit diagnostic context. However, this capture recurs covertly, includes keystroke metadata and targets an address unrelated to any approved vendor. Lacking session approval, destination validation and consent evidence, the behavior is unauthorized spying rather than standard assistance.

C:

A usability research agent might upload screenshots during a disclosed study, but such collection requires defined scope, informed participation and an approved service endpoint. The prompt gives recurrent keystroke metadata and an unrelated receiver rather than a study identifier or controlled sample. Those facts support spyware investigation, not routine research instrumentation.

D:

Health checks measure application reachability, not a user's screen and typing activity. An availability monitor may fetch a health URL and record response status or latency. It does not need to capture screen contents or keys typed by an employee, which are the decisive indicators in the case.

Question 109

One infected workstation emits thousands of long, encoded DNS TXT queries to a previously unseen domain. Small responses follow at a regular cadence. Which misuse should analysts investigate?

  1. An authorized DNS-security sensor issuing high-volume reputation lookups for suspicious domains.
  2. A legitimate cached DNS response with no outbound request.
  3. DNS tunneling through attacker-controlled query names or TXT exchanges.
  4. A misconfigured service-discovery agent repeatedly asking internal DNS for TXT configuration metadata.

Explanation

Correct Answer

C:

Repeated encoded payloads inside DNS traffic can carry data and command information through a channel normally used for name resolution. DNS query labels and TXT responses can carry application-defined encoded payloads, concealing communication within commonly allowed name-resolution traffic. The regular cadence and high volume suggest testing for command-and-control or exfiltration while preserving the packets.

Incorrect Answers

A:

A DNS security tool may query many unusual domains as part of detection, especially when investigating malicious traffic. But the observed origin is an infected workstation generating long encoded TXT queries to one newly seen domain with patterned responses. Reputation lookups should trace to the sensor, approved resolvers and recognizable service accounts, which are absent here.

B:

A legitimate local DNS-cache hit normally satisfies a lookup without sending the same full query to an external authoritative domain. Here the defender observes repeated, unusually long outbound encoded requests to one unfamiliar domain. That pattern requires investigation of the query-generating process and possible exfiltration; a benign cache explanation does not account for packets actually leaving the host.

D:

Service-discovery mechanisms legitimately use DNS TXT records and can generate repeated queries. The hypothesis weakens because these queries are unusually long, encoded and directed to a previously unseen external domain from an infected endpoint. An internal discovery error would instead have known suffixes and resolver/service logs. Investigate tunneling before treating it as discovery noise.

Question 110

A city portal receives millions of short requests from distributed sources while successful sessions collapse. Which TWO response elements, taken together, identify and suppress the likely availability attack? Choose TWO.

  1. Analyze ingress volume, source distribution and exhausted connection capacity.
  2. Increase application-server capacity without addressing distributed ingress traffic that already saturates the front end.
  3. Apply upstream scrubbing or adaptive rate controls tailored to confirmed malicious traffic.
  4. Temporarily deny all unauthenticated visitors at the portal edge, including residents attempting legitimate access.
  5. Limit the rate of authenticated sessions while leaving the anonymous request flood unaffected.

Explanation

Correct Answers

A:

The traffic pattern distinguishes a distributed resource-exhaustion attack from normal growth in customer demand. The ingress measurements should distinguish source diversity, request rate, connection exhaustion and legitimate user impact. A distributed flood may require upstream mitigation because the portal's own service has already lost capacity.

C:

Blocking the flood before it reaches limited application resources protects legitimate user sessions. Scrubbing and adaptive rate controls reduce malicious request volume before scarce application resources are exhausted. Rules should be tuned against measured attacker patterns to avoid blocking the legitimate residents who need the city portal.

Incorrect Answers

B:

Extra application instances can absorb a moderate surge if network and front-end capacity remain available. In this stem, distributed short requests already crowd out legitimate sessions, so origin scaling alone may fail before traffic even reaches the new workers. Measure the abusive ingress pattern and apply upstream filtering or rate controls while monitoring legitimate session success.

D:

Blocking all anonymous requests could dramatically reduce traffic and protect capacity, but the public city portal is intended for residents who may not have sessions yet. A blanket restriction would achieve attacker suppression by denying normal service as well. Target request fingerprints, rates, and sources with reversible controls and validate that genuine users still connect.

E:

Rate-limiting only logged-in sessions does not address the distributed requests exhausting portal capacity before users can establish sessions. The effective mitigation must detect and suppress the abusive ingress path and maintain enough service capacity for legitimate clients.

CompTIA Security+ (SY0-701) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.