McAfee-Secured Website

Exam Bundle

Exam Code: SY0-701

Exam Name CompTIA Security+

Certification Provider: CompTIA

Corresponding Certification: CompTIA Security+

CompTIA SY0-701 Bundle $44.99

100% CompTIA SY0-701 Guaranteed Success With Testking Training Materials

Get Real SY0-701 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    SY0-701 Questions & Answers

    1044 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual SY0-701 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • SY0-701 Video Course

    SY0-701 Video Course

    167 Video Lectures

    SY0-701 Video Course is developed by CompTIA Professionals to help you pass the SY0-701 exam.

    Description

    This course will improve your knowledge and skills required to pass CompTIA Security+ exam.
  • Study Guide

    SY0-701 Study Guide

    1003 PDF Pages

    Developed by industry experts, this 1003-page guide spells out in painstaking detail all of the information you need to ace SY0-701 exam.

CompTIA Security+ (SY0-701) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    1044 Questions

    $124.99
  • SY0-701 Video Course

    Video Course

    167 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    1003 PDF Pages

    $29.99

CompTIA SY0-701 Practice Test 9

Question 80

A document-import service accepts XML from business partners. A small XML file defines entities that expand recursively, causing the parser to allocate enormous amounts of memory and stall. Which application weakness is being exploited?

  1. A server-side SQL injection caused by an unescaped database table name.
  2. A cryptographic signature replay against an authentication token.
  3. An XML entity expansion denial-of-service condition.
  4. A password spraying attack against the import operator.

Explanation

Correct Answer

C:

Entity expansion can make a tiny input consume disproportionate CPU and memory when a parser resolves nested definitions. Restricting or disabling risky entity features, setting parser limits, and bounding processing resources address the failure. The problem is parser resource exhaustion, even when the XML file itself looks small.

Incorrect Answers

A:

SQL injection affects database query construction when untrusted input is interpreted as SQL. The file processing stalls before any specific database manipulation is described. The root cause is unbounded XML entity expansion, not an unsafe SQL identifier.

B:

A replayed cryptographic token would exploit insufficient freshness or binding in an authentication protocol. Here the malicious structure is an XML document that causes parser exhaustion. Nothing suggests a signed token was captured and reused to authenticate a request.

D:

Password spraying tests a small number of likely passwords against many accounts to avoid lockout thresholds. The import failure happens while expanding XML definitions and does not involve repeated guesses at authentication credentials for the operator.

Question 81

An analyst reviews endpoint proxy records. One laptop makes an HTTPS request to a newly registered domain every 63 seconds for hours, transferring nearly the same small number of bytes each time. No user application is associated with the destination. Which interpretation most warrants investigation?

  1. Normal software update distribution because every request uses HTTPS.
  2. A possible automated command-and-control beacon from a compromised endpoint.
  3. A completed full-disk backup to the organization’s approved recovery vault.
  4. A confirmed DNS zone transfer from the organization’s authoritative DNS server.

Explanation

Correct Answer

B:

Regular small outbound connections to a suspicious destination can indicate a beacon checking in with remote command-and-control infrastructure. The analyst should correlate process telemetry, DNS history, device behavior, and destination reputation before deciding. The pattern is investigative evidence, not a conclusive malware finding on its own.

Incorrect Answers

A:

HTTPS encrypts communication but does not certify benign intent. Malicious infrastructure commonly uses standard web protocols. The fixed cadence, newly registered destination, and lack of known business context are behavioral indicators that require enrichment, not automatic classification as routine updates.

C:

Full-disk backups typically move substantial amounts of data to designated and managed storage targets. Repeated uniform tiny requests to an unexplained domain do not resemble an approved backup job. Verification should use the organization’s backup schedule and endpoint process logs.

D:

DNS zone transfers use DNS protocols and specific server/client relationships; the scenario describes HTTPS proxy requests from an employee laptop, not a DNS server’s replication of zone records. A matching interval alone cannot turn ordinary web traffic metadata into proof of a zone transfer.

Question 82

A public-facing legacy web service is exposed to a newly disclosed attack pattern. Its vendor patch will not be ready until the next maintenance window. Network operators can detect the exploit reliably and must stop matching requests before they reach the service. Which temporary mitigation best fits?

  1. Apply a generic reverse-proxy request-rate limit without inspecting the validated exploit payload or blocking its signature.
  2. Deploy an inline intrusion prevention rule that drops requests matching the validated exploit pattern.
  3. Turn off reverse-proxy logging to reduce the volume of attack alerts.
  4. Run an out-of-band intrusion detection rule that only emails the security team after matching traffic has passed.

Explanation

Correct Answer

B:

An inline intrusion prevention system can enforce a block decision before suspicious traffic reaches the vulnerable application. A properly tested signature can provide temporary virtual-patching protection while the actual patch is prepared. Operators should watch for false positives and ensure the mitigation covers the relevant traffic path; it is not a permanent substitute for remediation.

Incorrect Answers

A:

Rate limiting may reduce repeated probes but a single carefully formed exploit can still pass through to the vulnerable service. The operators explicitly need pre-service blocking of a recognized attack pattern, for which a tested inline IPS rule is the more direct temporary control.

C:

Disabling proxy logs removes investigative visibility without reducing exploitability. The security team still needs events to confirm whether attacks were attempted and whether mitigations worked. A high alert rate should trigger tuning and appropriate filtering rather than blanket loss of evidence.

D:

An IDS operating out of band may detect the exploit and support investigation, but it normally cannot stop a matching request before the service processes it. Because the requirement is prevention during the patch gap, alert-only monitoring leaves the vulnerability reachable.

Question 83

A microservices platform has many internal API calls between services. Network location is no longer a sufficient trust signal, and administrators require both service endpoints to prove their identities before exchanging sensitive messages. Which design best meets the requirement?

  1. Use Kubernetes namespace network policies to limit connectivity, but identify service peers only by network address without authenticating workload certificates.
  2. Issue workload identities and require mutual TLS between communicating services.
  3. Allow any workload on the cluster to use a shared administrator API key.
  4. Use HTTPS only at the public load balancer and trust all internal cleartext connections.

Explanation

Correct Answer

B:

Mutual TLS requires each service to present a trusted certificate and validate the peer during the handshake. Managed workload identities and automated certificate rotation make this practical at scale. Policies must still define which authenticated service may call each API; mutual authentication establishes identities but does not automatically grant every permission.

Incorrect Answers

A:

Segmentation reduces reachable paths but does not cryptographically prove which service process established a permitted connection. A compromised workload on an allowed network could impersonate another. Mutual TLS with managed workload identities is needed for the requested two-way endpoint authentication.

C:

A shared high-privilege API key collapses separate workload identities into one credential. Theft or misuse in any service could allow an attacker to impersonate many others. It prevents meaningful per-service authorization and accountability rather than strengthening the trust boundary.

D:

External transport encryption protects internet-facing traffic, but internal service calls remain vulnerable to interception or impersonation if they are unprotected. A trusted cluster network is not a substitute for authenticating each workload when the requirement explicitly treats internal location as untrusted.

Question 84

A retail chain processes sensor data on gateways inside unattended shops because connectivity to the cloud can be intermittent. Attackers may have brief physical access to the gateways. Which architectural control most directly reduces unauthorized local software replacement?

  1. Enable secure boot with measured or signed firmware and protect device management credentials.
  2. Sign vendor firmware update packages but permit an unchecked removable-media boot path that bypasses boot signature verification.
  3. Assume gateways are safe because they are inside business premises.
  4. Send every sensor reading to the cloud before accepting any local device input.

Explanation

Correct Answer

A:

Secure boot verifies that trusted firmware components are used when the device starts, reducing the chance that a person with physical access can substitute an unauthorized image. Protecting management credentials and maintaining a verified update path complement that boot-chain assurance. Physical tampering and supply-chain risks still require monitoring and a replacement process.

Incorrect Answers

B:

Signed updates improve distribution integrity, but an alternate local boot route that does not verify trusted firmware still allows the unattended gateway to start unauthorized code. The requirement is for a verified boot chain that constrains every accepted boot image.

C:

A shop is not a strong physical security boundary when equipment is reachable by employees, visitors, contractors, or intruders. An unobserved hardware access window is exactly why the edge architecture needs device-level integrity mechanisms and tamper awareness.

D:

Forcing all data to the cloud conflicts with the stated requirement that processing must continue when connectivity fails. It also does not inherently prevent tampering with the local bootloader or firmware. The risk is integrity of the local computing platform, not where each sensor reading is processed.

Question 85

A business must connect a branch firewall to its headquarters firewall across an internet service provider. Both sites use private IP ranges, and traffic between their internal networks requires encryption and integrity. Which connectivity choice best fits?

  1. A site-to-site IPsec VPN with authenticated peers and agreed tunnel selectors.
  2. Port address translation on the branch firewall without establishing a secure tunnel.
  3. A static route through the ISP without any additional protection.
  4. A split-horizon DNS policy that hides internal hostnames from external resolvers.

Explanation

Correct Answer

A:

A site-to-site IPsec tunnel secures traffic between network gateways over an untrusted transit network. Properly configured peers authenticate and negotiate encryption/integrity protections for the intended subnet pairs. Routing, key lifecycle, anti-replay settings and firewall policy must be checked, but this is the direct answer to the stated interoffice confidentiality need.

Incorrect Answers

B:

Address translation rewrites address and port information to enable traffic flow across network boundaries. NAT alone provides neither cryptographic confidentiality nor peer authentication. It does not meet the requirement that branch-to-headquarters payloads be protected in transit.

C:

Static routes tell routers where to send packets and can provide connectivity, but packets are not encrypted simply because a route is explicit. Interception remains possible on the provider network. Routing and a protected tunnel solve different problems and can be used together.

D:

DNS view separation controls which names are returned to different clients. Hiding internal names may reduce unnecessary disclosure, but it does not encrypt data crossing the ISP. A packet sniffer on the path could still observe application traffic without a secure transport or tunnel.

Question 86

An application’s web and database tiers share a virtual network. A compromised web-tier account should not be able to probe every database or administrative interface. The application only needs TCP connectivity to one approved database port on two database nodes. Which network change best reduces lateral movement?

  1. Expose database administration ports to the internet so defenders can connect more quickly.
  2. Create least-privilege internal firewall rules that allow the required source-to-destination port flows and deny other lateral access.
  3. Disable all tier-to-tier logs to ensure sensitive database queries are never recorded.
  4. Allow all traffic between the tiers because the virtual network is private.

Explanation

Correct Answer

B:

Granular policy allows the application’s known database connections while blocking unnecessary destinations and management ports. Applying source identity or subnet restrictions alongside narrow destination/port rules reduces the blast radius of a compromised web service. Application-level authentication remains required because segmentation does not make every permitted query safe.

Incorrect Answers

A:

Publishing administration interfaces creates additional external entry points and expands the consequences of stolen administrative credentials. Emergency management should use controlled access paths, not permanently internet-accessible database consoles. The requested mitigation concerns limiting lateral reach from an application tier.

C:

Suppressing network and access logs removes evidence of scanning and unauthorized database connections. Logging can be tuned to avoid exposing sensitive query values, but the security control here is restricting communications while retaining enough telemetry for investigation.

D:

A private subnet can still contain a compromised host. Trusting all traffic between tiers permits the attacker to enumerate and access services unrelated to the approved application. Network location alone should not grant broad lateral movement through sensitive infrastructure.

Question 87

Analysts may view customer records in a managed collaboration portal but are prohibited from uploading records to personal file-sharing services. The organization needs to detect and stop attempts to move sensitive record content to unapproved web applications. What capability should it prioritize?

  1. Encrypt the collaboration portal's database at rest while leaving browser uploads to personal cloud services uncontrolled.
  2. A DNS record that makes the approved workspace hostname shorter.
  3. A backup appliance that copies the personal file-sharing account nightly.
  4. A data loss prevention policy integrated with the relevant browser or cloud traffic control point.

Explanation

Correct Answer

D:

Data loss prevention can classify or match sensitive content and enforce actions such as blocking uploads to unsanctioned destinations. Controls must operate at the channel where data leaves, and encrypted web traffic may require an appropriate endpoint or approved inspection integration. Logging blocked actions also supports coaching and incident analysis.

Incorrect Answers

A:

Storage encryption protects files while stored on the approved platform, but an authorized analyst can still obtain plaintext through the portal and upload it to an unapproved destination. Endpoint/browser-aware DLP must govern that outbound content movement.

B:

DNS naming convenience does not classify exported records or decide whether an upload destination is sanctioned. A shorter hostname may help usability but cannot inspect an analyst’s attempted data transfer into a personal cloud account.

C:

Backing up a personal account does not stop a prohibited upload; it may duplicate sensitive data into an even less governed location. Recovery and data egress control are different objectives. The organization needs enforcement before or during transfer rather than copying unauthorized content afterward.

Question 88

A legal team publishes a court exhibit as a PDF. The exhibit contains personal identification numbers that must not be recoverable by copying text, searching metadata, or removing a visual overlay. Which technique best satisfies the requirement?

  1. Set the document title to Confidential while keeping all original content accessible.
  2. Place opaque rectangles over the numbers but leave the original underlying text objects embedded in the PDF.
  3. Password-protect the distributed PDF while leaving the sensitive text and metadata intact for any recipient who opens it.
  4. Apply genuine content redaction that removes the sensitive text and associated recoverable metadata, then validate the exported file.

Explanation

Correct Answer

D:

Proper redaction removes the underlying sensitive content, not merely its visual appearance. The publishing team should inspect text extraction, annotations, embedded files and metadata in the final output to ensure the removed identifiers are not recoverable. A controlled redaction process and verification step address the disclosure risk.

Incorrect Answers

A:

A confidentiality label conveys handling expectations but does not eliminate embedded sensitive material. If the public exhibit still contains the identification numbers, the label cannot prevent a recipient from extracting or disseminating them.

B:

Visual overlays can conceal characters in the rendered page while leaving the source text selectable, searchable, or extractable by inspection tools. Such masking is inappropriate when the requirement explicitly prohibits technical recovery of the sensitive identifiers.

C:

Password protection can limit casual access before opening, but authorized recipients who know the password can still extract the underlying personal identifiers. The requirement is irreversible removal of sensitive content and hidden data from the file to be published.

Question 89

A ransomware group gains administrative privileges in a production cloud account and attempts to delete all recent backup recovery points before encrypting workloads. Which backup control most directly reduces the chance that the attacker can destroy every usable recovery copy?

  1. Use policy-enforced immutable backup retention in an isolated account or protected vault with separate administrative trust.
  2. Encrypt each backup recovery point at rest while permitting the compromised production administrator to delete the encrypted copies.
  3. Give production administrators permanent unrestricted ability to shorten backup retention periods.
  4. Keep backups on writable storage in the same account using the same administrator credentials.

Explanation

Correct Answer

A:

Immutable retention can prevent deletion or overwriting of protected recovery points during the required retention window, while separate control-plane privileges make a single production compromise less likely to control the vault. Periodic restore testing is still necessary; the design addresses durability against malicious deletion rather than proving recoverability on its own.

Incorrect Answers

B:

Encryption protects backup confidentiality but cannot preserve a recovery point that the attacker is authorized to delete. Deletion-resistant immutable retention and segregated administrative authority are needed to withstand production-account compromise.

C:

Allowing the compromised production identity to reduce retention undermines the protection period precisely when an attacker wants to remove backups. Strong segregation and retention locks make those destructive changes unavailable or subject to independent control.

D:

Backups reachable with the same compromised credentials share the attacker’s blast radius. If the adversary can delete or rewrite them, an apparently successful backup schedule offers little recovery assurance once the production account is fully compromised.

Question 90

A desktop application cannot be fully rewritten this quarter. Engineers have deployed a supported operating-system configuration that randomizes where the application’s executable and library regions appear in process memory between launches. What attack obstacle is this control intended to create?

  1. It makes the memory locations needed by many code-reuse exploits less predictable.
  2. It encrypts every file stored on the machine’s disk while the application runs.
  3. It blocks all attempts to log in with a reused password.
  4. It guarantees that all memory corruption flaws are removed from the application.

Explanation

Correct Answer

A:

Address space layout randomization varies important memory locations, making exploitation techniques that rely on fixed addresses harder to execute reliably. It is a mitigation layer, not a cure: information leaks or other bypasses can weaken the benefit. Application patching, memory-safe design where possible, and complementary protections remain important.

Incorrect Answers

B:

Memory address randomization changes the layout of executable regions during process execution, not how persistent files are encrypted on storage. Disk encryption protects data at rest and addresses different threats such as physical device theft.

C:

Password reuse is an identity and credential-hygiene issue. Address layout randomization can make some memory exploitation less predictable, but it cannot detect stolen passwords or prevent a remote login if valid reusable credentials are accepted.

D:

Randomizing memory placement does not fix the code defect that writes past a buffer or uses freed memory. The vulnerability can remain exploitable through a bypass or different attack route. Security engineers should not treat exploit mitigation as evidence the underlying bug is absent.