CompTIA SY0-701 Practice Test 27
Question 260
A data-loss prevention system flags an encrypted quarterly report sent to an authorized auditor because its subject contains the word “confidential.” Security sees many similar false positives, but real leaks to personal mailboxes must still be blocked. What adjustment is best?
- Turn off all content inspection and recipient controls so authorized encrypted reports are no longer interrupted
- Permit any message with a company sender address regardless of whether the external recipient is approved
- Refine policy using classification, approved recipient identities, encryption context and confirmed incident feedback, then test for missed leaks
- Rely on a static subject-line keyword as the sole detector and automatically quarantine all external financial reporting
Explanation
Correct Answer
C:Context-aware DLP can distinguish approved encrypted disclosures from unapproved exfiltration, while validation must check both false positives and false negatives. Use known authorized auditor identities, document classification and approved encryption to distinguish expected financial reporting from suspicious transfer. Validate the revised rule with true-positive and false-positive cases so unsafe personal destinations remain blocked.
Incorrect Answers
A:Blanket disabling the control reduces false positives only by allowing real sensitive-data transfers to proceed without enforced protections. Disabling recipient checks would let genuine confidential material reach unapproved personal mailboxes. Fix the overly broad rule while preserving the relevant leak-prevention boundary.
B:Sender identity alone does not show that an external destination is authorized to receive a confidential business document. A corporate sender address does not establish that every external recipient is permitted. The attacker or mistaken employee can still disclose sensitive reports.
D:Subject keywords alone are crude and cannot safely distinguish authorized reporting from leakage across varying documents and destinations. A subject keyword ignores the actual recipient approval and content handling. It can block legitimate audit traffic while missing leaks whose subject omits that word.
Question 261
A router generates an unsolicited message to its monitoring platform immediately when interface Gi0/1 changes to down. Which mechanism best matches this event?
- An SNMP trap or notification indicating a network-device state change
- A browser cookie renewal by a user on the same subnet
- An administrator manually polls an unrelated workstation once per day
- A new symmetric encryption key generated by a TLS handshake
Explanation
Correct Answer
A:SNMP notifications can report link-state changes to network monitoring managers as the event occurs. An SNMP trap is an asynchronous device-generated notification to the configured management station. It lets operations detect a link-down event without waiting for the next periodic poll, subject to authenticated monitoring settings.
Incorrect Answers
B:Browser cookies identify web sessions and do not carry router interface-status notifications. Refreshing a user cookie is an application-session operation and does not describe a router-generated interface-state message. A cookie renewal is initiated by application session behavior, whereas the router sent a device state notification.
C:Scheduled polling is request-driven and does not describe an unsolicited real-time device notification. Polling is a request initiated by a management station at intervals, unlike the unsolicited notification stated. The device sent the event proactively.
D:TLS key negotiation secures sessions but does not itself report physical interface failure events. TLS key generation concerns encrypted-session establishment and does not directly signal an Ethernet interface changing to a down state.
Question 262
During a suspected data-exfiltration incident, NetFlow records show a large encrypted outbound transfer to an unknown address. No packet payloads or endpoint file records were captured. Which conclusion is defensible from that evidence alone?
- The exact secret documents sent can be determined from source and destination address, port and byte-count fields alone
- Flow records support who talked to whom and approximate traffic volume, but payload content and data classification require other evidence
- Transport encryption prevents all network devices from observing source addresses, destination addresses or any flow statistics
- The volume record proves the transfer was business-authorized because it used the company’s registered network prefix
Explanation
Correct Answer
B:Traffic-flow summaries provide useful endpoints, time and volume details even under encryption, but they do not independently prove which files were transferred. Flow records can identify communicating endpoints, direction, timing and transfer volume but not prove which files were transferred. Correlate with host processes, cloud logs or DLP records before declaring exfiltration of a specific data class.
Incorrect Answers
A:Basic flow metadata cannot reconstruct encrypted document content or establish its classification; additional endpoint and application evidence is required. Source and destination addresses, ports and byte counts do not expose the plaintext documents carried within an encrypted flow. Content identification requires endpoint, file or decryption evidence.
C:Encryption normally hides application content, not every outer IP header and traffic counter visible to routers that collect flow telemetry. Encryption normally protects application payload, while routers still observe enough packet header and connection metadata to forward traffic. NetFlow can therefore log addresses and volumes.
D:A valid source network prefix says nothing about whether the destination, data type and recipient were permitted under business policy. Using a company IP prefix proves neither business purpose nor approval by the data owner. A compromised account can send unauthorized transfers over ordinary enterprise routes.
Question 263
A company must let customers browse a public support site but permit administrative HTTPS management only from its hardened jump subnet. Which TWO configurations most directly enforce this split? Choose TWO.
- Keep the customer site on a separate approved public endpoint with only its required web ports
- Disable all public read-only customer traffic even though it is an approved service
- Restrict the management listener or firewall rule to source IPs from the authorized jump subnet
- Assume HTTPS encryption removes the need to limit who can reach administrative services
- Publish the administrative interface on every public IP address without authentication
Explanation
Correct Answers
A:A distinct front-end service allows intended customer access without granting reachability to the management plane. Publish only the intended read-only customer support service on its approved listener and use separate network policy for management. Public service access does not authorize administrative access. Customer traffic and privileged management must also use distinct authorization policies and monitoring.
C:A source-scoped allow rule limits reachability of the privileged administrative service to authorized origins. Restrict the administrative endpoint’s source addresses or expose it only through a protected jump route. Authentication and firewall policy should enforce this independently of customer-facing HTTPS availability. Consider both source enforcement and a management service that does not bind publicly on unintended interfaces.
Incorrect Answers
B:Blocking the approved customer service is unnecessary to protect a separately restricted management interface. Blocking the public site would violate its business requirement and does not demonstrate appropriate separation of management traffic.
D:TLS protects traffic in transit but does not determine whether the requesting party is authorized. TLS encrypts a management connection but does not determine who is entitled to start it. Reachability controls and authorization are still required.
E:Unrestricted public management exposure creates additional opportunities to attack privileged controls. Restrict privileged HTTPS to the approved hardened administration network. Exposing admin services to all addresses increases credential-probing and exploit risk. Managing public content does not require publishing the privileged control plane.
Question 264
A DMZ application server must query one internal database using only TCP port 5432. Only the application at 192.0.2.10 should reach database 10.20.5.9. Which proposed firewall rule follows least privilege?
- Permit TCP from 192.0.2.10 to 10.20.5.9 with destination port 5432 and deny other DMZ-to-database traffic
- Permit TCP from the entire DMZ subnet to 10.20.5.9 on port 5432, regardless of which DMZ host is compromised
- Permit TCP from 192.0.2.10 to any server in 10.20.5.0/24 on port 5432, not just the required database
- Permit all TCP and UDP destination ports from 192.0.2.10 to 10.20.5.9 for future compatibility
Explanation
Correct Answer
A:The specified source, destination, protocol and required port constrain the permitted flow to the authorized application-to-database dependency. Limit the DMZ client to the single specified database destination and required TCP 5432 service, and allow only tracked return traffic. This implements minimum network reachability for the approved query path.
Incorrect Answers
B:Trusting the whole DMZ subnet unnecessarily grants database access to unrelated web hosts and increases lateral movement exposure. Allowing the entire DMZ subnet would let another compromised public application use the database connection even though it has no business need.
C:Permitting every server in a database subnet expands the destination attack surface beyond the single approved application dependency. Permitting the full database subnet broadens the target set beyond the one server required by the application. It expands lateral opportunity.
D:Allowing all ports removes service-level restrictions and creates unnecessary pathways despite knowing the one required database protocol. Opening arbitrary ports permits unexpected management or data services to be reached from the DMZ host. Least privilege requires the named service port only.
Question 265
A stateful firewall allows an internal workstation to initiate a TCP HTTPS connection to a permitted outside server. Its default policy blocks unsolicited NEW inbound Internet connections, yet reply packets for the approved session return successfully. Which firewall mechanism explains this behavior?
- Tracking authorized connection state and allowing return packets belonging to established sessions
- Allowing all new inbound TCP port 443 requests from every Internet source without regard to original session direction
- Using only a DNS cache to decide whether the TCP connection is established, without examining transport flow state
- Learning the destination Ethernet MAC address on a switch and treating that Layer 2 lookup as an established firewall session
Explanation
Correct Answer
A:A stateful firewall records approved flow state, including addresses, ports and TCP state information, so the reverse packets can be associated with an already permitted connection. This supports responses to internal client-initiated HTTPS while still denying unrelated inbound connection attempts. Return-flow treatment follows the connection state rather than merely trusting the service port number. A stateful firewall records the permitted outbound connection tuple and permits matching reply packets without admitting unrelated new inbound sessions. Validate timeout and direction rules for the actual protocol.
Incorrect Answers
B:A broad inbound port-443 permit would accept unrelated new connection attempts, contradicting the stated default-deny policy. The fact that the traffic happens to use HTTPS does not demonstrate it belongs to a workstation-initiated approved flow. Stateful correlation avoids opening the entire inbound service to arbitrary sources. Opening every new inbound TCP 443 connection is far broader than allowing return traffic for a specific authorized outbound session. It increases exposure.
C:DNS caching maps names to addresses and does not by itself recognize a TCP SYN, handshake or subsequent transport session. A legitimate DNS answer cannot establish that an incoming segment is part of an authorized outbound flow. Stateful packet inspection needs flow tracking beyond hostname resolution. DNS caching can help map names to addresses but does not establish a TCP session or track sequence of connection state. Firewalls use flow attributes.
D:Ethernet MAC learning decides where frames should be forwarded inside a Layer 2 domain. It is not a transport-layer connection table and cannot determine whether an unsolicited Internet TCP connection is new or belongs to an established session. The firewall must examine packet/session context for that distinction. A switch MAC table decides where Layer 2 frames travel on a segment, not whether an incoming packet belongs to an established transport flow.
Question 266
An inline perimeter security device sees repeated malicious reconnaissance packets matching an established prevention signature. What distinguishes the NIPS from a passive IDS?
- A NIPS automatically repairs all vulnerabilities on destination systems
- The NIPS can enforce a drop or reject decision in the actual packet forwarding path
- An inline prevention device cannot use threat intelligence or signatures
- A NIPS must be disconnected from production traffic and read archived PCAP files only
Explanation
Correct Answer
B:Inline placement allows an intrusion-prevention system to block matching network traffic before delivery. Because the sensor sits in the forwarding path, it can drop, reject or otherwise enforce action on matching traffic under its configured policy. That is the key distinction from an out-of-band IDS that only sees copies.
Incorrect Answers
A:Dropping attempted exploitation does not install patches or correct the targeted vulnerability. NIPS can block packets it sees but cannot automatically fix defective application code or remove every exploitable weakness on a destination host. Patching remains a separate activity.
C:Prevention controls can use signatures, reputation and other detection logic to decide which flows to block. Prevention signatures and threat intelligence are common inputs to an inline device’s decision engine. Being inline affects enforcement, not whether detection content is usable.
D:Reading offline copies describes observation rather than the specified live enforcement position. A device disconnected from the live path cannot directly stop packets already traversing that path. Archived PCAP inspection provides investigation evidence rather than inline prevention.
Question 267
A corporate proxy must refuse requests to domains categorized as malware delivery, even when those sites change IP addresses. Which THREE features support the policy? Choose THREE.
- Disable all log integrity controls so denied URLs can be silently modified later
- Record matched category, user or client context to support investigation and tuning
- A one-time static IP block that is never refreshed when malicious sites relocate
- Accept all new domains by default because blocking by reputation is impossible
- Consult a maintained domain/category-reputation service when evaluating requests
- Enforce approved category or domain-deny policies on outbound web requests
Explanation
Correct Answers
B:Contextual enforcement logs support alert validation, incident handling and review of false positives. Logging the matched category, client and timestamp lets defenders validate the policy and detect false positives or bypass attempts. Restrict logs appropriately because browsing metadata may be sensitive. A safe exception review can then separate a misclassified domain from an unauthorized user bypass.
E:Current domain reputation can track dangerous destinations even as hosting addresses change. A maintained reputation or category service can resolve changing hostnames to security classifications independently of their current IP address. Review confidence and freshness to avoid unnecessary blocking. Because classification services can be wrong, keep override governance and review confirmed false positives.
F:Category and explicit domain rules implement browsing decisions at the proxy or secure gateway. An enforcement point must actually reject requests that match disallowed domains or categories. Reputation lookup alone produces data, not a protective decision, until connected to policy. Verify the rule is enforced for all relevant managed browsers and direct egress paths.
Incorrect Answers
A:Tamperable logs undermine accountability and would not improve the requested malware-domain blocking. Tamper-evident logs preserve the evidence needed for tuning and abuse investigations. Disabling protection would make it easier to conceal why a request was allowed or denied.
C:Static IP-only rules can miss rotating domains and hosts when current reputation classification is needed. Malicious infrastructure can migrate between shared hosts and new addresses. A static IP entry does not reliably follow the domain-level threat classification.
D:Fresh malware domains can be dangerous and require appropriate policy or reputation treatment. Accepting all new domains defeats reputation- and category-based policy. Unknown destinations can be assessed using defined handling rules and additional risk signals.
Question 268
A sales laptop remains off VPN for weeks but must still apply the company's approved browsing restrictions. What control is best aligned?
- Rely entirely on an on-premises gateway that the laptop's Internet traffic never crosses
- Allow uninspected personal proxies regardless of destination risk
- Use an endpoint-aware secure web gateway or managed client that enforces policy on roaming traffic
- Switch off browser security when the laptop is outside company premises
Explanation
Correct Answer
C:Cloud-delivered or endpoint-enforced web filtering can maintain policy while the laptop connects remotely. A roaming secure web gateway client or endpoint agent can enforce cloud-delivered URL and application policy even without a corporate VPN. Check health, tamper resistance and log delivery when connectivity returns. Policy must remain active regardless of whether the employee connects through a hotel, café or home network.
Incorrect Answers
A:An on-premises sensor cannot apply policy to connections that do not traverse its inspection point. An on-premises gateway that never receives this laptop’s traffic cannot enforce its web policy. Remote users need protection on their actual network path.
B:Unmanaged intermediaries can bypass logging and domain controls established by the organization. Permitting personal uninspected proxies creates bypass routes and can hide malicious destinations. The organization should prevent unauthorized proxy changes or route them through governed policy.
D:Security requirements remain relevant during travel rather than ending at the VPN boundary. Turning off browser protections increases exposure to hostile sites and does not make approved policy enforceable on public networks.
Question 269
A school must block gambling websites across all campus browsers without manually tracking changing destination addresses. Which control is appropriate?
- Disabling antivirus scan history on student laptops
- A URL/content-category filter with regularly updated classification information
- A single firewall rule that blocks exactly one old IP address forever
- An operating-system setting that forces all filenames to lowercase
Explanation
Correct Answer
B:Category filtering can follow changing domains and hosting addresses that provide prohibited types of content. Category-based filtering uses regularly maintained classifications so new and migrated gambling domains can be blocked without hand-maintained addresses. Test exceptions for educational sites and enforce the policy across supported browsers.
Incorrect Answers
A:Removing endpoint logs does not enforce browsing restrictions and weakens incident detection. Antivirus scan history is unrelated to preventing access to a changing set of gambling websites. Removing it reduces incident evidence.
C:A lone IP-address block cannot reliably cover a dynamic collection of websites or services. A single old IP may host many sites or no longer serve the restricted category. Address-only rules do not track a changing domain population.
D:Case normalization of local filenames does not classify or block Internet sites by category. Filename case normalization affects local file naming and has no causal relationship to destination web category or URL filtering.
Question 270
A domain administrator must apply restricted PowerShell execution settings to Windows workstations in one organizational unit, not the entire forest. Which method fits?
- Delete the OU and place every user into the forest root
- Change a Windows device hostname while leaving its existing script execution policy unchanged
- Link and scope an approved Group Policy Object to the targeted OU and verify effective policy
- Publish one unrestricted local administrator password for all affected systems
Explanation
Correct Answer
C:A scoped GPO can manage approved execution restrictions for the intended Windows machines. Link the approved GPO to the specified OU, confirm security filtering and inheritance, then inspect resultant policy on representative workstations. This provides centrally controlled enforcement and proof of correct scope. Resultant Set of Policy checks can reveal inheritance or security filtering that prevented the intended computers from receiving it.
Incorrect Answers
A:Organizational restructuring is unnecessary and creates unrelated directory and administrative risks. Use a scoped OU-linked policy instead of restructuring directory membership. Deleting the organizational unit would remove the intended scope rather than safely applying a policy to its members. A GPO can target the existing OU.
B:Device naming changes do not apply the required OU-scoped PowerShell execution restrictions. Changing a computer’s hostname does not set the script execution configuration or other effective PowerShell policy values. It is an identity/label operation.
D:Shared privileged credentials increase security risk and do not distribute a scoped policy. Publishing a shared administrator password creates an unnecessary privilege compromise path and does not enforce PowerShell execution settings. Unique managed credentials should be maintained.