cert
cert-1
cert-2

Pass CompTIA SY0-701 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
SY0-701 Exam - Verified By Experts
SY0-701 Premium Bundle
$29.98

SY0-701 Premium Bundle

$79.99
$109.97
  • Premium File 1044 Questions & Answers. Last update: Nov 19, 2026
  • Training Course 167 Video Lectures
  • Study Guide 1003 Pages
 
$109.97
$79.99
accept 473 downloads in last 7 days
block-screenshots
Purchase CompTIA SY0-701 Exam Training Products Individually
CompTIA SY0-701 Premium File
Premium File 1044 Q&A
$76.99$69.99
CompTIA SY0-701 Video Training Course
Training Course 167 Lectures
$21.99 $19.99
CompTIA SY0-701 PDF Study Guide
Study Guide 1003 Pages
$21.99 $19.99
CompTIA SY0-701 Practice Test 17

Question 160

A high-value vault uses electrically controlled locks. Network connectivity to its authorization controller fails during routine operation, and the vault must not open simply because authorization cannot be checked. Which behavior fits the stated security priority?

  1. Fail secure: keep the restricted vault locked until valid access control is restored
  2. Delete all entry records to prevent a log backlog
  3. Fail open for everyone as long as badge-reading service is unavailable
  4. Convert all previously unauthorized visitors to administrators

Explanation

Correct Answer

A:

Fail-secure behavior prevents the electrically controlled vault from unlocking when the authorization controller cannot confirm access. This protects the stated high-value asset during a controller or connectivity outage. The design still needs emergency egress and life-safety compliance where people could be inside; the term cannot justify trapping occupants or ignoring fire-code requirements.

Incorrect Answers

B:

Deleting door-entry records would damage accountability while doing nothing to verify a visitor's permission or keep the vault locked. Security logs are especially important after an outage because they can reveal attempted access during degraded operation. Preserve events through protected buffering or subsequent synchronization rather than using a log deletion as a lock-control strategy.

C:

Fail-open operation is appropriate in some life-safety or low-security doors, but a high-value vault that must stay locked when authorization is unavailable has the opposite security requirement. Unlocking for all users turns a transient controller failure into uncontrolled access. Any emergency release path must be separately engineered and authorized for safety, not triggered indiscriminately by a network outage.

D:

An unreachable access controller provides no grounds to elevate previously unauthorized people. Modifying identities or roles during a validation failure would worsen the access-control breach and create permanent privilege problems. The designed failure state should preserve restriction until a trusted authorization path is restored or a separately approved emergency procedure is used.

Question 161

A network security appliance receives only copies of packets from a switch SPAN destination. Analysts can view alerts, but the original packets never pass through the appliance. Which detection role is this?

  1. A NAT gateway translating destination prefixes
  2. An Ethernet bridge replacing the campus access layer
  3. An inline IPS guaranteed to terminate malicious sessions
  4. An out-of-band intrusion detection sensor observing mirrored traffic

Explanation

Correct Answer

D:

Passive IDS analyzes copies and reports suspicious activity without becoming an inline prevention point. The SPAN mirror gives a detective sensor a view into traffic without making it a production forwarding dependency. Lost or oversubscribed mirror copies can limit that view even though original traffic continues normally.

Incorrect Answers

A:

Address translation modifies forwarding headers and is not implied by passive observation of mirrored packets. Network address translation changes packet headers at a forwarding device; the monitored copy does not imply any source or destination rewrites by this sensor. SPAN traffic can be observed even when no forwarding policy has changed.

B:

The sensor does not connect workstations or perform normal Layer 2 switching simply because it sees copied frames. A bridge participates in frame forwarding between network segments. Here the switch already forwards production frames, and the attached appliance is only receiving an additional copy on its monitoring interface.

C:

The original traffic is not under the appliance's forwarding control, so it cannot directly enforce drops as an inline IPS. An IPS needs to sit in an enforcement path or have a separate supported blocking integration. An alarm from a passive feed cannot guarantee interruption of the original packets that have already traversed the switch.

Question 162

An organization routes privileged SSH administration through a hardened bastion. It discovers that an approved administrator can tunnel from the bastion to unrelated production database hosts beyond the named maintenance targets. What should be tightened?

  1. Constrain allowed bastion destination hosts and ports to approved tasks, with identity-scoped authorization and recorded session access
  2. Permit unrestricted onward tunneling from the bastion because login at the initial gateway makes every internal destination trusted
  3. Disable all bastion audit records after a successful login because traffic has already entered a protected network
  4. Expose the database management ports publicly so administrators can bypass the gateway when destination restrictions interfere

Explanation

Correct Answer

A:

A jump host should restrict onward reachability by destination and principal and record privileged activity; otherwise it becomes a broad pivot point. Apply least-privilege access rules at the outbound side of the bastion, not just at the initial login. For example, bind the approved admin to the specified database host and SSH port during a documented change window.

Incorrect Answers

B:

Authenticating at an entry point does not grant blanket permission to every internal host or service reachable by the gateway. A bastion authenticates access to a chokepoint; it does not decide that every database reachable afterward belongs to the same maintenance scope. Unrestricted port forwarding can bypass individual resource approvals and expand lateral movement.

C:

Audit evidence is needed to attribute administrative actions, especially from a shared access chokepoint capable of reaching critical systems. Without session records investigators cannot establish which destinations were contacted or which administrator created a tunnel. Forwarding and command metadata should be recorded under approved privacy and retention rules, especially for high-impact changes.

D:

Direct Internet exposure enlarges the management attack surface and defeats the point of using a controlled administrative entry boundary. Opening database management interfaces directly to untrusted sources removes a protective network boundary. It expands brute-force and exploitation opportunities rather than fixing the authorization rule on the existing controlled bastion.

Question 163

An enterprise uses an authenticated forward web proxy, but a test workstation can still make direct outbound HTTPS connections by ignoring the browser proxy configuration. Which TWO changes most directly close this policy-enforcement bypass? Choose TWO.

  1. Trust voluntary per-browser proxy settings as an enforceable network-wide barrier even for software that ignores them
  2. Use perimeter or endpoint egress policy to deny unapproved direct Internet connections while permitting access through the authorized proxy
  3. Publish all internal users' proxy-authentication credentials in an auto-configuration file so direct connections can be identified
  4. Correlate firewall egress logs and proxy logs to detect clients or applications that are bypassing the approved proxy path
  5. Allow direct outbound HTTPS from every workstation so that non-browser programs do not need the proxy

Explanation

Correct Answers

B:

Network or host egress restrictions can prevent direct bypass paths while keeping the approved authenticated inspection gateway reachable. Allow only traffic from the proxy to approved Internet services, with tightly documented exceptions for other required protocols. Host or perimeter controls should block a workstation connecting directly to external HTTPS destinations even if a local app ignores its proxy settings.

D:

Comparing direct egress observations with proxy records provides evidence of bypass attempts and helps validate that controls operate as intended. The logs reveal clients that communicate with public endpoints without corresponding proxy transactions, giving concrete exceptions to investigate. Detection complements the deny rules and validates their effectiveness rather than relying on an unobserved policy assumption.

Incorrect Answers

A:

Voluntary client settings can be bypassed by alternative applications or malware and are not a sufficient network control on their own. An application can ignore an automatic proxy configuration or directly open sockets, so a voluntary browser setting cannot enforce traffic flow for all endpoints. The bypass is at network egress, not merely a user-interface preference.

C:

Exposing shared proxy credentials creates an impersonation risk and does not force applications to use the proxy policy path. A public proxy credential grants the wrong person an apparent valid identity. Neither possession nor exposure of this secret gives the network a reliable way to deny direct Internet sessions that do not visit the proxy.

E:

Unrestricted direct HTTPS recreates the bypass path and defeats the purpose of enforcing gateway-based web access policy. Allowing all direct connections defeats the approved inspection and authentication path. Non-browser applications should instead use an supported managed route or an explicit narrow exception with logging and expiry.

Question 164

A company uses a public reverse proxy to apply a web application firewall before HTTPS requests reach private application servers. Engineers discover that one origin server also accepts connections directly from any Internet address, bypassing the WAF. Which configuration most directly closes this bypass?

  1. Disable all reverse-proxy WAF inspection, since the origin already terminates its own application requests
  2. Restrict origin ingress to authorized proxy source networks or authenticated upstream links and reject unapproved direct Internet traffic
  3. Permit arbitrary direct origin access but change only the public website display name to match the reverse proxy
  4. Trust every incoming X-Forwarded-For header from any external client as proof the request passed through the approved proxy

Explanation

Correct Answer

B:

Authenticated, restricted proxy-to-origin traffic forces normal inbound requests through the designated policy enforcement hop and blocks direct bypass. An origin firewall or authenticated private connection should permit connections only from the proxy tier; direct public origin requests should fail regardless of their Host or URL fields. This makes the WAF path the enforceable entrance.

Incorrect Answers

A:

Disabling the filtering gateway removes detection and enforcement while leaving the directly reachable origin path exposed. The WAF is the intended inspection point for client requests. Disabling it increases exposure to unvalidated malicious requests, while the origin remains directly reachable and therefore still avoids any reverse-proxy controls.

C:

Renaming the published service does not remove a reachable public origin endpoint or prevent direct network access. DNS names and display branding do not determine reachability. An adversary who learns the underlying origin IP could still send HTTPS requests there and avoid the proxy even if the public name were changed.

D:

Forwarded headers are untrusted when accepted from arbitrary clients and cannot independently prove that traffic passed through the enterprise proxy. Clients can forge forwarded headers unless trusted proxies explicitly add or sanitize them. Trusting a header from arbitrary Internet sources would permit spoofed addresses and would not prove that the WAF inspected the request.

Question 165

An application sits behind a load balancer, and a failed instance is removed from new traffic after an accurate health probe. Users whose shopping carts were kept only in that failed instance’s process memory still lose state. What design improvement addresses the remaining problem?

  1. Disable health checks so every user stays routed toward the failed instance
  2. Increase the load balancer’s TCP timeout indefinitely without changing application state storage
  3. Move required user session state into a resilient shared store or use a validated stateless application design
  4. Route all user requests permanently to a single backend to avoid session consistency problems

Explanation

Correct Answer

C:

Externalizing recoverable session state allows a healthy backend to continue user activity after a node is removed, subject to application consistency design. Externalizing cart state to a replicated session store, database or stateless signed design allows another healthy process to resume the checkout. The application must still manage consistency, expiration and identity binding so carts remain correct and isolated.

Incorrect Answers

A:

Sending requests to an unhealthy node will cause avoidable failures and does not restore the lost in-memory cart contents. Removing health checks would send new sessions to a known failed node and worsen availability. The missing safeguard is recoverable state across nodes, not more persistence in routing to an unhealthy instance.

B:

Longer connection timeouts cannot recover data kept only by a failed process or ensure that replacement servers know the former session contents. TCP idle timeouts govern network connections, not the ownership or durability of an application shopping cart. Even a persistent connection to a failed process cannot return its lost in-memory objects.

D:

One permanent instance would worsen availability and preserves the original single-node session-state failure mode rather than removing it. One permanently selected server creates a single point of failure and removes horizontal scaling. Sticky sessions alone can reduce movement between healthy servers but cannot restore state from a destroyed process without a durable shared copy.

Question 166

A switch mirrors traffic from several high-rate 10-Gb/s source links into one 1-Gb/s SPAN destination. Investigators find gaps in the security capture during bursts while production forwarding continues. What is the most likely monitoring limitation and corrective design step?

  1. The SPAN destination is oversubscribed and can lose mirrored copies; reduce source load or provide sufficient capture or packet-broker capacity and monitor dropped copies
  2. SPAN is guaranteed lossless even when the monitored aggregate rate exceeds the destination-link capacity
  3. A passive IDS automatically repairs the deficit by acting as an inline router for the missing original frames
  4. Disable the SPAN feed and classify all missing events as proof that no suspicious packets traversed the switch

Explanation

Correct Answer

A:

An oversubscribed mirror port may drop copies independently of normal forwarding. Right-size monitored sources and destination capacity and measure capture loss. The aggregate rate of mirrored frames can exceed the destination bandwidth, especially at bursts. Packet brokers, sampling policy, appropriate tap design or adequate capture interfaces must be selected with actual traffic measurements and loss telemetry.

Incorrect Answers

B:

The available monitor egress bandwidth can be much lower than total observed traffic, so a mirrored feed is not inherently a lossless record. A one-gigabit port cannot transmit sustained traffic from several ten-gigabit sources without discarding or reducing copies. Production packet forwarding may still be normal because the mirror is a separate best-effort observation path.

C:

A passive monitoring sensor observes replicated frames rather than recreating lost captures or transparently taking over the original forwarding path. The IDS does not control the original forwarding plane when connected out of band. It cannot retransmit copies it never received or fill evidence gaps simply by claiming an inline prevention role.

D:

A capture gap reduces visibility; it is not evidence that production traffic or malicious activity was absent during that interval. Absence of an event from a lossy capture is not evidence that the event did not occur. Investigators should document the gap, review other telemetry, and avoid making conclusive statements about those intervals.

Question 167

A wired employee laptop authenticated successfully using 802.1X, then its endpoint agent reports that mandatory disk encryption has been disabled. The organization supports dynamic RADIUS authorization changes. Which THREE responses preserve posture-based access control? Choose THREE.

  1. Preserve the existing production authorization indefinitely because the initial EAP authentication was once successful
  2. Disable the posture signal that caused the security finding without changing the encryption setting or access policy
  3. Reassess the current device posture and authorization rather than treating initial identity authentication as permanent compliance
  4. Use an authorized RADIUS Change of Authorization or appropriate reauthentication workflow to apply the changed decision to the active access session
  5. Apply a remediation VLAN or restricted policy until the required encryption posture is restored and verified
  6. Publish the switch-to-RADIUS shared secret to users so that laptops can submit their own favorable access verdicts

Explanation

Correct Answers

C:

Dynamic network access enforcement should consider the up-to-date device health and policy, not only the identity established earlier. Identity authentication and endpoint compliance answer different questions. The current encryption state should be supplied to the policy decision before deciding whether that device still qualifies for the production VLAN.

D:

Supported CoA or reauthentication workflows can re-evaluate and update the authorization state of an already-established 802.1X session. A supported CoA message can update access-session authorization or prompt reauthentication without waiting for the device to disconnect voluntarily. Authorization must originate from the legitimate RADIUS infrastructure and be protected against forged policy changes.

E:

Restricted network assignment allows necessary remediation while reducing sensitive production access until device compliance is re-established. A quarantine or remediation segment limits sensitive network reachability while allowing approved management tools to restore encryption. Once the endpoint reports and independently verifies compliance, policy can permit normal access again.

Incorrect Answers

A:

Authentication at connection start does not necessarily prove the device still satisfies security requirements after a significant posture change. An access decision taken at the initial EAP exchange can become stale if endpoint security posture changes. Continuing privileged reachability after encryption is disabled ignores the dynamically assessed requirement.

B:

Suppressing a real encryption-compliance signal hides the risk without addressing device posture or its appropriate authorization treatment. Suppressing an accurate endpoint-health report would hide noncompliance and allow an unsafe device to remain trusted. The correct response addresses both remediation and reevaluation of the session, not manipulation of monitoring results.

F:

Revealing authentication infrastructure shared secrets would undermine trust and let unauthorized clients impersonate security services. A shared secret protects trust between the network access device and RADIUS service. Revealing it to clients would permit forged service exchanges and allow endpoint users to manufacture their own compliance claims.

Question 168

A wireless client exchanges EAP authentication messages through an access point acting as authenticator. The AP forwards them to a RADIUS server for credential evaluation. Which statement best describes EAP?

  1. It is an Ethernet VLAN ID encoded in the destination MAC
  2. It is the IPv4 protocol that selects a default gateway
  3. It is a generic authentication framework carried by suitable access protocols, not the radio band itself
  4. It is an 802.11 data-encryption cipher that replaces CCMP

Explanation

Correct Answer

C:

EAP defines an extensible method framework used with 802.1X and authentication servers to exchange credentials. EAP supports several authentication methods within suitable lower-layer transports, including 802.1X exchanges carried by an access point to RADIUS. This separation permits the authenticator to relay authentication messages without being the credential database itself.

Incorrect Answers

A:

VLAN identification uses switching and tagging information, not EAP messages hidden in MAC addresses. Ethernet VLAN identification is handled by switching configuration and optional 802.1Q tagging, not by the EAP framework. EAP messages are used to carry authentication exchanges between supplicant and authentication infrastructure.

B:

Gateway selection is an IP routing function and unrelated to how supplicant authentication messages are structured. IP routing and default gateway selection determine how packets leave a subnet, whereas EAP operates in the authentication flow. Completing EAP may influence access assignment, but it does not itself compute IPv4 routing decisions.

D:

EAP supports authentication methods and does not itself define the wireless data cipher used for payload confidentiality. CCMP is a wireless encryption and integrity suite for protected data frames. EAP is an extensible authentication framework used while establishing access and keying, not a replacement for a data-frame encryption cipher.

Question 169

A payment API expects JSON with only accountId and positive amount fields. Attackers submit an unexpected destinationOverride property, and a poorly designed backend might copy arbitrary properties into an internal transfer object. What gateway-level control reduces this input-surface risk while leaving business authorization to the backend?

  1. Enforce a documented positive JSON schema at the API gateway, rejecting unknown properties and invalid field types or bounds before passing approved requests upstream
  2. Allow any HTTPS request to the payment API because transport encryption also proves that every JSON property is permitted
  3. Reject all accountId parameters solely because an account identifier could be sensitive, without consulting the expected API contract
  4. Classify requests only by their TCP port and ignore the JSON fields because property-level attacks are visible only at Layer 3

Explanation

Correct Answer

A:

A positive, schema-based gateway policy can restrict incoming fields to the defined contract, validate expected types and ranges, and reject unrecognized parameters such as destinationOverride. This narrows one route to mass assignment and input manipulation. Gateway validation is defense in depth; the application must still enforce ownership and transfer authorization rather than assuming a schema validates the payee.

Incorrect Answers

B:

HTTPS protects a network connection against some interception and tampering, but does not define permitted application fields or prove the client is entitled to change a destination. An attacker can submit malicious or unexpected JSON over a valid encrypted session. Transport-layer security is therefore not a substitute for schema checks and application authorization.

C:

The accountId property is an expected part of the documented API request; rejecting every such field would prevent ordinary legitimate payments without solving unexpected property acceptance. The right boundary is to validate known properties and apply per-account authorization. Blanket removal of a required identifier does not test the real misuse scenario.

D:

A port rule can determine that traffic uses TCP 443, but all of the ordinary and malicious JSON examples share that transport. Schema and property constraints operate at the application layer and require examining the parsed request. Ignoring the HTTP body cannot detect the unauthorized extra transfer field.

Question 170

A finance department wants to block one unapproved SaaS application while allowing several other services that all use HTTPS on TCP 443. Which filtering capability is needed?

  1. A policy that disables all company HTTP traffic regardless of purpose
  2. An application-aware firewall or secure web gateway capable of distinguishing the relevant services
  3. Only a stateless ACL matching transport port 443
  4. A switch MAC aging timer that changes every client's application ID

Explanation

Correct Answer

B:

Application identification can apply service-specific policy beyond the shared TCP port, subject to encrypted-traffic visibility and policy. Application identification can use sanctioned TLS inspection, endpoint integration, authenticated domain policies, service identity or other appropriate signals. Because the services share port 443, the enforcement point must distinguish more than their transport number.

Incorrect Answers

A:

Blanket blocking HTTPS would interrupt approved business traffic and is not the required selective control. Blocking all HTTP-derived business traffic would disrupt approved services along with the unwanted one. The request is selective control of a SaaS application, so a broad blanket deny fails availability and business requirements.

C:

All the listed SaaS services may share the same port, so a pure transport-port rule cannot differentiate them. A stateless ACL on TCP 443 sees the same transport service for the permitted and unapproved applications. It cannot selectively block one HTTPS application when all are otherwise matched by the same simple port rule.

D:

MAC table aging affects Ethernet forwarding locations rather than distinguishing which cloud app is being accessed. A MAC address aging timer controls when learned Layer 2 forwarding entries expire. It neither identifies the SaaS service inside an HTTPS request nor provides application-layer allow and deny decisions.

CompTIA Security+ (SY0-701) Practice Tests