CompTIA SY0-701 Practice Test 3
Question 20
A Zero Trust policy engine issues an allow decision for a temporary session. A separate component must configure and later tear down the connection using the enforcement point. Which component fills that management role?
- A firewall packet buffer that queues undelivered frames
- A policy administrator that establishes and revokes policy-authorized communication paths
- A security awareness platform that tests employee behavior
- A user password manager that stores long-lived secrets
Explanation
Correct Answer
B:The policy administrator acts on the policy engine’s allow or deny decision. It establishes, manages and terminates the permitted communication path by sending instructions to one or more policy enforcement points and may provide session-specific credentials or tokens. This matches the stated need to create a temporary path and later tear it down without confusing decision calculation with the mechanics of enforcement.
Incorrect Answers
A:A packet buffer temporarily holds data frames or packets to absorb bursts or handle congestion, depending on the device design. Buffering has no authority to create or revoke a policy-authorized access session. The scenario concerns translating a policy-engine decision into gateway/session configuration.
C:A security awareness platform delivers training, simulations and behavioral exercises for staff. It may help reduce risky user actions, but does not orchestrate live policy-authorized sessions between a subject and an application. Its workflow operates outside the connection management described in the Zero Trust design.
D:A password manager securely stores or supplies credentials to authorized subjects, sometimes with sharing and rotation controls. It does not automatically configure the policy enforcement point to set up or revoke a communication path based on an allow or deny decision. Credential management is a supporting security function, not policy administration.
Question 21
A Zero Trust gateway receives a new deny decision for an active session after its device posture becomes noncompliant, but the existing connection stays open and continues transferring data. Which control failure must be fixed?
- The identity provider should give every noncompliant session a permanent role so the gateway stops requesting policy updates
- The enforcement gateway must apply the updated deny decision to active traffic and terminate or reauthorize the session according to policy
- The security team should leave the session active because a password was valid at its original login
- A public DNS TXT record needs to be created before any policy decision can be applied to an existing connection
Explanation
Correct Answer
B:The gateway functioning as the policy enforcement point must apply the policy administrator’s updated instructions to the active session. When device posture changes and the policy engine denies continued access, the gateway should terminate or reauthorize the connection as specified, rather than allow stale traffic to continue. Merely receiving the decision is insufficient; effective enforcement must change actual data-plane behavior.
Incorrect Answers
A:Granting a permanent role to a noncompliant device would weaken the policy by overriding changing security signals with standing permission. It would not repair the fact that the gateway is failing to enforce a newly issued deny decision. Zero Trust assumes sessions can be reassessed rather than trusted indefinitely after initial login.
C:A successful password check at the start of the session establishes an identity at that time; it does not grant permanent access regardless of risk. Device posture can deteriorate, credentials can be revoked and policies can change. The fresh deny decision therefore matters and requires a corresponding gateway action.
D:DNS TXT records carry arbitrary descriptive data for uses such as domain verification or mail-security configuration. They do not constitute the policy-control interface between a Zero Trust decision service and its gateway. Creating a public DNS entry cannot make an existing unauthorized session terminate.
Question 22
A site must keep pedestrians able to reach a reception desk while preventing a vehicle from ramming directly into the building entrance. Which physical safeguard MOST directly meets both requirements?
- A mirrored switch port sending authentication events to a SIEM
- A password rotation reminder for building staff
- A wireless site-survey instrument that measures signal strength
- Fixed bollards spaced for foot traffic but blocking vehicle entry
Explanation
Correct Answer
D:Vehicle-rated fixed bollards are physical barriers intended to block or resist vehicle movement when properly selected and installed. Spacing and pedestrian routes can preserve foot access to reception while preventing a direct vehicle approach. The rating, foundations and spacing must match the threat and applicable safety requirements; simply placing decorative posts is not equivalent to a tested protective installation.
Incorrect Answers
A:A mirrored switch port provides a traffic copy for monitoring or forensic analysis. Such a network control can reveal suspicious authentication or other packets, but cannot prevent a moving vehicle from striking a building. The question asks for a perimeter design that separates pedestrian access from vehicle access.
B:Changing passwords and reminding staff to rotate them protect digital identities and account access. Those administrative or technical measures do not create any physical resistance to a vehicle approaching reception. Even a well-secured building management account would not substitute for a properly engineered crash barrier.
C:A wireless site-survey instrument evaluates RF coverage, interference or channel conditions and may improve building connectivity. It does not present a mechanical obstruction, direct traffic or absorb vehicle impact. Its readings are unrelated to the described forced vehicle-entry risk.
Question 23
A museum needs an intrusion alarm that fires only when weight is placed on a marked floor surface, not when a person merely breaks an optical beam above it. Which TWO statements are correct? Choose TWO.
- The alarm should require a pressure-trigger event if an overhead arm movement must not activate it
- A pressure-sensitive floor mat directly detects applied weight at the monitored surface
- A network firewall rule determines the pressure threshold of the mat
- An infrared beam is the only sensor that measures floor loading directly
- An overhead microphone can measure the same applied floor force without contact
Explanation
Correct Answers
A:A pressure-trigger condition ensures that the alarm responds to force applied on the marked floor surface rather than to movement above it. This directly implements the requirement that an arm breaking a beam should not produce an alarm. Sensor thresholds and debounce behavior may need calibration to avoid incidental low-weight triggers.
B:A pressure-sensitive mat converts physical loading at its surface into a detectable switch or sensor event. Unlike a break-beam detector, it responds to contact and weight where the mat is installed. Placement and required force thresholds determine how reliably it detects a person stepping on the marked area without triggering from movement through empty space.
Incorrect Answers
C:A network firewall filters network traffic according to packet or connection properties. The force threshold for a pressure mat is configured in the mat’s alarm or sensor interface, not in an IP access-control rule. A firewall might protect remote alarm communication but cannot measure mechanical loading.
D:An infrared beam sensor detects light interruption across a path and may react when a hand or object crosses it without touching the floor. It does not directly measure force exerted on a mat. The scenario expressly requires applied floor weight, so optical interruption is not a valid replacement.
E:A microphone detects acoustic pressure waves, not the static physical weight pressing on a floor sensor. Sound from footsteps might correlate with contact, but it does not directly measure applied force or reliably restrict alarms to the marked surface. The case asks for a defined contact-trigger event.
Question 24
A cloud team creates a fake API credential that has never been used in production and plants it in a document. An alert fires when the credential is presented to an external API. What deception technique was used?
- Honeynet, because an entire realistic decoy network was deployed
- Honeytoken, because interaction with an enticing decoy value reveals suspicious activity
- Certificate pinning, because an API client rejected a modified CA chain
- Data masking, because account numbers are hidden from ordinary users
Explanation
Correct Answer
B:A honeytoken is a deliberately planted decoy value, such as a fictitious account, API key or unique document marker, that should not be used in authorized operations. Because the credential has never been validly used in production, an attempt to present it is a useful indicator of suspicious access to the document or secret. The alert must be investigated, since usage may have other explanations, but the deception mechanism is a honeytoken.
Incorrect Answers
A:A honeynet is a collection of decoy machines or services connected as a simulated environment to attract and study intrusion behavior. No such environment is described; only a false API credential was planted in a document. A single planted indicator may be part of a larger deception program, but it does not make the program a honeynet.
C:Certificate pinning makes a client reject a server identity unless a certificate or public key matches an expected value. It addresses certain connection-authenticity risks and does not require planting a fake API secret. The observed alert is triggered by use of bait credentials, not a certificate-chain mismatch.
D:Data masking hides sensitive fields or presents substituted values to users who should not see the originals. The scenario does not describe hiding real account numbers from a display; it describes deliberately exposing a decoy API credential and monitoring for unauthorized use. Masking would not explain the stated trigger event.
Question 25
An emergency firewall ACL update was authorized and deployed overnight. Initial tests show the intended attack traffic is blocked, but engineers have not checked production application reachability or recorded the actual configuration change. Which post-implementation task best completes security change control?
- Close the change automatically because emergency authorization permanently eliminates the need for validation and audit
- Grant the emergency implementer unrestricted standing administrative access to all firewalls as a reward for fast deployment
- Delete the prechange baseline and firewall logs because successful blocking makes earlier configuration history unnecessary
- Compare the deployed rule set with the approved change, test both expected permitted and denied flows, update the baseline and document the results
Explanation
Correct Answer
D:After implementing an emergency security change, compare running firewall configuration with the authorized rule change, verify that unwanted packets are blocked AND required applications can still communicate, and record the test outcome and updated baseline. This detects unintended control or availability effects. NIST security-focused configuration management treats post-deployment verification and documentation as part of completing change control.
Incorrect Answers
A:Authorization permits a controlled emergency change but does not prove it was implemented exactly as approved or that unrelated production traffic still works. Post-implementation review checks actual effects and preserves accountable documentation. Closing the ticket without this assessment could conceal an outage introduced by an overly broad ACL.
B:An urgent deployment does not justify widening the administrator’s privileges indefinitely. Standing unrestricted access increases the attack surface and makes future unauthorized changes easier. Use individually attributable, least-privilege access and time-bound elevation for emergency work, then review the actual firewall rules and application behavior.
C:Deleting the old baseline or change logs removes evidence needed to identify the new rule, reconstruct past behavior or roll back an unexpected service impact. Success against one attack flow does not establish that business applications are unaffected. Keep protected versioned records and assess the full deployed policy before closing the change.
Question 26
An engineer prepares a production firewall change and also has permission to apply it. The organization requires separation of duties for high-impact rule changes. Which authorization arrangement best limits an unnoticed self-approved change?
- Allow the engineer to approve and implement the change alone, provided the action is logged afterwards
- Delete the approval field from the change ticket so the engineer can work without delay
- Require a designated, independent authorized approver to review the change and rollback plan before the engineer implements it
- Permit the engineer to obtain approval retroactively whenever the rule passes an initial connectivity test
Explanation
Correct Answer
C:Separating approval from implementation reduces the chance that one privileged person can introduce a risky rule without review. An authorized second role evaluates impact, testing and rollback before the change is applied, while the engineer remains accountable for logged implementation, operational verification and proper configuration baseline updates.
Incorrect Answers
A:Logging can show that an administrator made a change, but it does not supply an independent decision about whether the change was justified. For a high-impact rule, sole control of request, approval and implementation defeats the intended separation of duties.
B:Removing approval metadata makes the authorization trail weaker rather than protecting production policy. Formal change control should retain who requested, reviewed, authorized and executed the rule update, with an appropriate mechanism for documented emergencies.
D:A network test can prove selected traffic still works while leaving dangerous broad access undetected. Post-deployment evidence and verification supplement authorization, but they do not replace an independent approval where policy requires one before implementation.
Question 27
A VPN cutover will move traffic through a new identity gateway. The team is worried that a SaaS supplier depends on the former source IP and old SAML trust settings. Which THREE checks should be completed before implementation? Choose THREE.
- Delete the only working rollback configuration before starting
- Assume SaaS suppliers will automatically trust a new source IP without notification
- Bypass all SAML and access restrictions during the cutover to guarantee success
- Confirm the service owner's approved outage window and rollback conditions
- Test the vendor authentication path from the proposed cutover environment
- Inventory third-party identity and network dependencies that may change
Explanation
Correct Answers
D:The business service owner should agree on an outage window, expected effect on users and objective rollback conditions. Those conditions determine when engineers should abandon the cutover rather than prolong an authentication outage. A preapproved plan also ensures the correct stakeholders are informed and can authorize recovery.
E:Validating the vendor authentication path from the target environment tests whether the new identity gateway can complete the actual federation and application access flow. It can reveal changed network source addresses, metadata mismatches, certificate or claim issues before production traffic moves. A successful gateway ping alone would not provide the same evidence.
F:Inventorying third-party trust settings, source-IP allowlists, DNS dependencies and network paths identifies which integrations may depend on the old VPN or identity gateway. This step turns a possible supplier outage into a documented test and communication plan. It is especially important because the SaaS provider may need to approve a change outside the enterprise’s direct control.
Incorrect Answers
A:Deleting the only known-good rollback configuration removes a recovery option just before a cutover that could break authentication or supplier connectivity. A viable backout plan should preserve tested configuration and clear decision points. Destroying that baseline would increase both recovery time and business impact if the new gateway fails.
B:SaaS providers sometimes restrict client source addresses and maintain explicit federation trust relationships. A new VPN egress IP or modified SAML metadata can therefore break access even if local gateway tests succeed. Assuming those dependencies update automatically ignores the premise of the question and is not a valid planning check.
C:Bypassing SAML and other access restrictions to force a cutover to succeed would sacrifice authentication and authorization at the moment of a risky infrastructure change. Proper testing should validate the supported identity flow, trust metadata and conditional rules rather than disabling them. Emergency access must still operate under approved, time-bound controls.
Question 28
New IDS signatures will be applied to the payment segment. Previous rule updates have accidentally classified normal transactions as attacks. Which pre-production activity best addresses this risk?
- Replace all signing certificates even though no certificate fault exists
- Replay representative authorized payment flows in a staging environment and measure false positives
- Disable payment logging and install the signatures directly
- Force every business partner onto a new IP range without checking the rules
Explanation
Correct Answer
B:Replaying representative authorized transactions in a staged environment lets the team measure which signatures alert on normal payment protocols and workflows. Engineers can then tune detection rules, document accepted false-positive rates and verify that important attack indicators are still detected. Staging reduces the chance that an overly broad signature will interrupt revenue-critical traffic when deployed.
Incorrect Answers
A:Changing all signing certificates is a disruptive response to a problem that has not been observed. If a certificate mismatch is not causing the false positives, rotation will not validate the IDS detection logic and could introduce new outages. The risk described is legitimate payment traffic being misclassified by signatures.
C:Disabling payment logging would remove visibility while the new signatures are being tested in production, making false-positive or malicious events harder to reconstruct. It also ignores the demonstrated need for safe predeployment validation. Logging and representative staged tests address different controls, and neither should be abandoned.
D:Changing every business partner’s IP address is unrelated to whether an IDS signature incorrectly matches legitimate transaction content. Unnecessary address changes could break partner allowlists and connectivity. The right test is traffic and signature behavior against representative flows, not an unvalidated network renumbering.
Question 29
A staged firewall rule deployment blocks the emergency response dashboard. The change plan defines that application failure as a rollback trigger and retains a known-good configuration. What should the on-call engineer do?
- Treat successful firewall boot as evidence that the user application is healthy
- Execute the approved backout plan and verify restoration of the critical dashboard
- Continue rollout to all sites so configuration stays uniform
- Erase the prior rule set to prevent simultaneous versions
Explanation
Correct Answer
B:The change plan explicitly identifies dashboard failure as a rollback condition and retains a known-good rule set. The on-call engineer should execute that approved backout, verify that the emergency application is reachable again and document the incident and change outcome. Continuing the rollout while the protected service is down would contradict the agreed operational safeguard.
Incorrect Answers
A:A firewall can boot successfully and still block a business-critical application because its filtering policy is wrong. Device health and application-level service health must be verified separately. The stated rollback trigger is failure of the emergency dashboard, so checking only the appliance’s startup condition would miss the relevant impact.
C:Expanding a defective rule change to additional locations increases impact and makes recovery harder. Configuration consistency is valuable only when the target policy works as intended. The site already demonstrates an unacceptable service outage that triggers the preapproved backout process.
D:Deleting the prior rule set destroys evidence and a recovery path precisely when the production change has caused harm. Retaining and restoring a known-good configuration supports controlled rollback. Versioned configurations are normal safeguards during network security changes, not conflicting copies that must be erased.
Question 30
A database security update includes a schema migration that could irreversibly alter production financial records. The change ticket has a maintenance window and stakeholder notification, but no validated recovery procedure. What must be completed before deployment?
- Execute the migration without a restore plan because the service owner has already agreed to the outage window
- Prove that a consistent point-in-time backup or other supported recovery path can restore the application and data if migration fails
- Disable transaction logs and backup verification so the schema migration consumes less storage and finishes faster
- Treat a successful test of the application login screen as sufficient proof that all historical transaction data can be recovered
Explanation
Correct Answer
B:A consistent point-in-time backup, snapshot or vendor-supported database recovery method must be tested against the intended migration and the application’s recovery objectives. The test should prove that both schema and transaction data can be restored to a coherent state after failure. A usable recovery path protects against partial migrations and corruption; a scheduled outage approval alone cannot supply that assurance.
Incorrect Answers
A:An approved maintenance window and tolerance for temporary downtime do not guarantee recovery of financial records after an irreversible schema change. The key risk is data integrity and recoverability, which must be addressed separately from scheduling. Running a destructive migration without validated restoration can cause permanent business data loss.
C:Transaction logs and verified backups may be essential for recovering a consistent database state after a failed migration. Disabling them to save storage could prevent point-in-time recovery and obscure what changed. Performance concerns should be assessed and mitigated without sacrificing the only dependable restoration evidence.
D:A working login screen only demonstrates that one application path responded; it does not prove the integrity or recoverability of historical financial records. A meaningful recovery test must verify the data, schema compatibility and critical business transactions after restoration. Superficial availability evidence cannot replace a backup-and-restore validation.