100% Latest & Updated CompTIA SY0-701 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 270
A system file changes unexpectedly and there is no approved maintenance request. What control gives administrators evidence that the live file differs from a trusted version?
- Monitor file timestamps and owner names without maintaining a trusted content digest or approved version baseline.
- Clear the integrity baseline whenever a modification is observed.
- Trust the file because its filename matches the original.
- Compare the file's current digest and metadata against the approved baseline and alert on unauthorized drift.
Explanation
Correct Answer
D:The difference can identify unreviewed modification independent of the running application's own claims. Hash and metadata comparison against an approved reference detects drift outside the normal change workflow. Correlate alarms with signed deployment records to distinguish authorized updates from potential compromise.
Incorrect Answers
A:Modification time and ownership can help triage an unexpected edit, but attackers or routine tooling may preserve or alter those metadata values. They cannot reliably prove the bytes on disk still match the approved system file. Comparing cryptographic digests and relevant metadata with a protected baseline provides stronger integrity evidence.
B:Automatically redefining the baseline hides unauthorized changes rather than investigating them. If every observed change automatically becomes the new baseline, unauthorized edits will be accepted as normal. Only authorized releases should update the trusted reference after review.
C:A malicious replacement can retain the same name while changing executable content. Names are easy to preserve during malicious replacement. Integrity comparison must use a trustworthy baseline, cryptographic digest and relevant metadata instead of relying on the directory entry alone.
Question 271
A Windows fleet needs consistent password lockout and device configuration rules, but technicians apply local policies differently across departments. Which central mechanism fits?
- Issue a detailed workstation-hardening checklist to technicians but leave each site's local policy enforcement manual and unmonitored.
- Deploy reviewed Group Policy settings to the appropriate computer and user organizational units.
- Deploy the lockout values through a management script to laptops only, leaving domain-joined desktops on inconsistent local settings.
- Create a valid GPO in an empty staging organizational unit and assume production devices inherit it automatically.
Explanation
Correct Answer
B:Central enforcement reduces manual drift while limiting policies to the affected managed population. Apply reviewed Group Policy objects to the organizational units containing the relevant computer and user accounts, validate precedence and inheritance, and inspect effective policy results. This enforces fleet rules while documenting deliberate scope exceptions.
Incorrect Answers
A:A checklist makes the intended settings clearer and can reduce accidental omissions, but it still relies on each technician to apply and retain the same rules. The question describes configuration drift across departments. Centrally deployed, targeted Group Policy provides actual enforcement and repeated application, with validation of the resultant configurations.
C:A managed script can set registry or local security values on the devices it actually reaches, so it offers partial automation. The scenario specifies a Windows fleet across departments, not laptops alone, and changing only that subset leaves inconsistent domain-joined desktops untouched. OU-scoped Group Policy gives a centrally governed assignment path for the appropriate computers and users.
D:A valid GPO is not sufficient merely because it exists in Active Directory. Policy applies according to link scope and processing, so a GPO attached only to an empty staging OU does not reach production computers elsewhere. Properly link the reviewed settings to the OUs containing the intended fleet and verify the resulting policy application on endpoints.
Question 272
A Linux web service becomes compromised, but policy requires it to be unable to open employees' home-directory files even with its usual service privileges. What OS control boundary supports this?
- Switch SELinux from enforcing to permissive mode so denials are logged but not applied to the web daemon.
- Set discretionary mode bits on home folders but leave the web-service SELinux type broadly permitted to access them.
- Enforce an SELinux policy that denies the daemon's type access to home directories.
- Enable file-access auditing for the web daemon while leaving its existing read permissions unchanged.
Explanation
Correct Answer
C:Mandatory type rules constrain processes even if ordinary Unix group permissions might otherwise permit a read. Assign the web process an appropriate confined domain and deny reads of employee home directory types, then test legitimate service operations. SELinux mandatory policy can block the compromised daemon despite permissive Unix ownership conditions.
Incorrect Answers
A:Permissive mode is useful for diagnosing which SELinux policy rules would deny an application, so an administrator might consider it during testing. But it only reports would-be denials; it does not stop the compromised web daemon from opening files that discretionary controls permit. The requested boundary must remain enforced, with a properly confined daemon type and explicit denies for employee home-directory content.
B:Unix discretionary permissions are a useful initial boundary and might block reads by an ordinary unprivileged service account. The question concerns an additional policy confinement boundary after a service compromise. Permissions alone can be bypassed by a process obtaining broader discretionary authority, whereas a targeted SELinux mandatory-access rule can deny the daemon type regardless of ordinary account ownership.
D:Access auditing may help responders detect or reconstruct unauthorized home-directory reads after a service compromise, and it can support investigations. Detection is not the preventive mandatory boundary the question demands. If the web daemon still has effective read permission, it can access sensitive files before any alert is handled. Enforcing SELinux type confinement denies the attempted access instead of merely recording it.
Question 273
A corporate laptop successfully authenticates to a wired switch using 802.1X, but posture checks show it has not received a critical endpoint security update. The switch still places it on a protected payroll VLAN. Which NAC decision is needed?
- Admit every authenticated laptop to payroll regardless of patch or endpoint-control state.
- Assign a restricted remediation VLAN and allow production access only after the laptop passes the required posture recheck.
- Trust the laptop's hostname as proof the missing critical update is installed.
- Remove the posture-check integration so no devices can be classified noncompliant.
Explanation
Correct Answer
B:Valid device identity is insufficient when the separate managed-update requirement has failed; remediation access preserves a safe recovery path. Move the known device to a restricted remediation network where it can obtain updates, then re-evaluate endpoint compliance before allowing sensitive payroll access. This distinguishes successful authentication from current device health.
Incorrect Answers
A:Authentication establishes identity but does not prove compliance with the required endpoint security baseline. 802.1X only authenticates the endpoint identity. The separate missing critical update means the stated posture policy has failed, so admission to a payroll VLAN would ignore an explicit security acceptance condition.
C:Device naming cannot replace the measured security-agent and patch evidence used for NAC posture. A hostname is user-changeable metadata and cannot establish an installed patch level. NAC needs trustworthy management or vulnerability signals to evaluate posture, not a familiar device label.
D:Disabling the control would hide the detected lapse and continue exposing sensitive payroll services. Disabling posture collection removes evidence of missing updates and allows unpatched endpoints to access high-value services. The detector is doing its job by identifying a remediable security state.
Question 274
EDR confirms an active malware process on a remote workstation that is calling external hosts. The defender wants to stop network spread while preserving controlled evidence access. Which feature is suited?
- Revoke the logged-in user’s remote-access session but leave the infected workstation’s network connections active.
- Enable broad remote desktop access for any help-desk user.
- Trigger endpoint isolation that blocks ordinary connections but retains the approved response channel.
- Uninstall the EDR agent before any examination.
Explanation
Correct Answer
C:Host-scoped containment interrupts malicious communications while analysts preserve process and event evidence. Apply endpoint isolation that blocks ordinary inbound/outbound connections while preserving a controlled EDR management link for authorized response. Preserve process and network telemetry and verify the malware's external communications stopped.
Incorrect Answers
A:Revoking a user session may close one interactive entry route and is sensible after credential compromise. Here EDR has already confirmed an active local malware process communicating with external hosts. Unless the workstation itself is isolated, that process can keep using permitted network connections and may continue propagation.
B:Additional incoming management paths may give the malware or an attacker more reach. Broad remote desktop access adds management exposure to an already compromised host. Response channels should be deliberately restricted so responders can collect evidence without offering the attacker additional entry paths.
D:Removing the sensor destroys valuable context and may release the host from containment controls. Removing EDR can discard memory, process-tree and alert history and may terminate network containment. Retain the sensor until evidence preservation and controlled remediation are complete.
Question 275
A suspected attack begins on an endpoint, uses a federated identity and changes permissions in a cloud workload. Which operational view can connect these environments?
- Trust the federation token solely because it was digitally signed.
- Use an XDR workflow that links the process, authenticated principal and cloud API calls.
- Review endpoint, identity and cloud alerts in separate dashboards without linking session identifiers or correlated event times.
- Review only identity-provider sign-in failures and the endpoint host's malware verdict without accessing cloud audit APIs.
Explanation
Correct Answer
B:Cross-platform correlation exposes how one compromise propagated across multiple security control planes. Correlate endpoint execution, federated principal, token/session context and cloud permission-changing API calls on a common timeline. Cross-domain evidence links one compromise path across otherwise separate monitoring systems.
Incorrect Answers
A:A genuine token can be stolen or abused and must be interpreted with session behavior. A valid signed token establishes issuer authenticity within its checks, not that the associated account's current behavior is benign. Stolen sessions can make apparently legitimate identity assertions while executing malicious cloud actions.
C:Each dashboard can contain accurate local evidence, but this incident crosses from a host process through a federated identity to cloud API activity. Separate alert queues do not show whether those events belong to one attacker sequence. Correlating principal, process, session and cloud calls through an integrated detection workflow supplies the missing cross-environment context.
D:Identity-provider and endpoint signals can help attribute a suspect session, so they are relevant ingredients. However, the attack also changes permissions in a cloud workload, and those actions are recorded in cloud control-plane logs. Omitting that feed prevents correlating endpoint execution with the federated principal and the resulting API changes.
Question 276
A user tries to email a file containing multiple passport numbers to a personal address. Corporate policy prohibits that transfer. Which prevention rule should handle it?
- Reject or quarantine the message when the protected passport pattern and disallowed destination coincide.
- Store a copy of the email in the sender's drafts after delivery.
- Approve transfer whenever the email uses TLS.
- Inspect only email body text with DLP while exempting attached files from passport-number matching.
Explanation
Correct Answer
A:Content-aware checks prevent sensitive identity records from leaving through an unapproved mail route. Match restricted passport-number patterns and destination classification together before sending, then quarantine or reject the message according to policy. This stops the sensitive data from reaching the personal account rather than merely recording the disclosure afterward.
Incorrect Answers
B:Retention cannot prevent disclosure that already occurred to the personal address. Saving a draft copy after delivery cannot retract the message or prevent the recipient from retaining attachments. Prevention requires evaluation at the transmission boundary before successful external handoff.
C:Encryption secures delivery to the destination but does not make a forbidden recipient authorized. TLS can securely deliver data to a recipient who is nevertheless forbidden to receive it. Confidential transport and authorization of external data sharing are separate security properties.
D:Body scanning can prevent disclosure when users paste identifiers into a message, so it is a legitimate narrower control. The scenario says the passport numbers reside in an attached file. Excluding attachments leaves the prohibited content undetected and allows transfer to the personal destination; the rule must correlate sensitive content and recipient.
Question 277
Endpoints keep resolving a known malware command domain through the organization's corporate DNS service. Which defensive DNS policy can interrupt the callback route?
- Block a single resolved IP address at the edge while retaining normal DNS resolution for the malicious hostname.
- Return a policy block for the domain and log which clients attempted to resolve it.
- Disable DNS logging for high-risk destinations only.
- Keep resolving the malicious hostname for every client to avoid tickets.
Explanation
Correct Answer
B:Protective DNS cuts off a common command route and provides affected-host evidence for incident triage. Configure a deny response for the confirmed command domain, log requesters and investigate endpoints that continue to seek it. Test that policy applies to approved resolver traffic while recognizing alternate DNS and direct-IP paths may require additional controls.
Incorrect Answers
A:Blocking the currently resolved address can disrupt one known connection and might help during an urgent response. Command infrastructure can rotate addresses or use shared hosting, so a single IP filter does not reliably prevent future callbacks from a domain that the corporate DNS service continues resolving. A protective DNS policy can stop resolution of the malicious name itself and record attempts.
C:Removing attempts obscures compromised hosts while failing to enforce a block. Suppression of high-risk DNS logs hides which endpoints may already be compromised. The organization needs requester evidence to prioritize host inspection after it cuts off the callback route.
D:Continued resolution allows infected endpoints to locate the attacker infrastructure. Continuing to resolve a known command endpoint leaves infected systems a way to find attacker infrastructure. Convenience cannot justify preserving the very network dependency that enables communication.
Question 278
At a regional hospital, a new administrator's account arrives with database-export privileges before the data owner reviews the access request. Which change in onboarding would eliminate that authorization gap?
- Audit new employee privileges once a year without restricting the initial grant.
- Generate random usernames for each newly hired administrator.
- Require an approved role and resource-specific authorization before issuing the database-export entitlement.
- Let the administrator's manager grant every application permission indefinitely.
Explanation
Correct Answer
C:The owner decision connects the privileged grant to a documented need instead of assuming that employment alone authorizes exports. Enforce approval for the precise export permission before provisioning and log the role/resource decision. This keeps hospital data-owner control separate from account creation so employment does not automatically confer sensitive data extraction rights.
Incorrect Answers
A:A delayed review leaves the unnecessary export path open before anyone verifies its legitimacy. Annual review cannot repair the authorization gap at onboarding, when the account can immediately export sensitive database records. Access should be conditioned on a resource-specific approved request before the entitlement exists.
B:Random identifiers do not determine whether a specific privilege was appropriately authorized. A random username distinguishes identity records but does not limit database privileges. Authorization requires a documented relationship between the user's operational duties, requested export function and data owner's approval.
D:A broad blanket grant bypasses the resource owner's decision about the particularly sensitive export capability. A manager may sponsor employment but cannot necessarily authorize every protected resource. Blanket grants would bypass the person accountable for patient data and make unused high-impact privileges persist indefinitely.
Question 279
A contractor leaves an engineering firm on Friday. Their directory account is disabled, yet a previously issued VPN token and a third-party console session still work on Monday. What should the departure process do?
- Revoke federated sessions, VPN tokens and service entitlements as part of a verified offboarding workflow.
- Revoke the contractor's VPN token but leave the still-valid vendor console and federation sessions active until their normal expiry.
- Change the contractor's email display name but retain their tokens.
- Wait for all tokens to expire naturally because the directory is disabled.
Explanation
Correct Answer
A:Disabling an employee’s primary directory account does not always invalidate previously issued VPN tokens, relying-party sessions or local entitlements in vendor systems. The proposed verified offboarding workflow explicitly revokes those remaining access paths. This is necessary because a former employee might otherwise retain usable credentials after the directory change appears complete.
Incorrect Answers
B:VPN token revocation closes one remote-access path and is an appropriate component of offboarding. The scenario independently confirms a third-party console session remains usable, so VPN-only termination cannot eliminate the contractor's remaining authorized footholds. A complete deprovisioning run must revoke or invalidate each relying-party session and entitlement, then verify denial.
C:A cosmetic directory update has no bearing on remote-session validity or authorization checks. Display names are presentation fields that do not alter token validity or service permissions. A valid session can continue to act regardless of what the directory now calls its owner.
D:Long-lived sessions can preserve access during precisely the period when offboarding should remove it. Natural expiration may be hours or days away and leaves the confirmed residual access active. Revoke sessions through the issuer and relying services immediately and verify both VPN and third-party console denial.
Question 280
Staff at a logistics company repeatedly type different passwords into twelve internal tools. The company wants the tools to accept one corporate authentication event without sharing those passwords. Which pattern is appropriate?
- Synchronize a copy of each user's corporate password into all twelve applications through an account-provisioning service.
- Have every application store the user's complete corporate password locally.
- Integrate applications with corporate single sign-on through a supported identity provider.
- Use a managed password vault to autofill twelve separate application credentials after the employee signs into the vault.
Explanation
Correct Answer
C:The identity service handles the login event while each application can still enforce its own permission rules. Use supported SSO protocols such as SAML or OIDC with trusted identity-provider verification, individual sessions and app-specific authorization. The corporate event authenticates the employee while each tool retains control of permitted functions.
Incorrect Answers
A:Central account provisioning can reduce administrative work, so this approach appears superficially convenient. Copying reusable passwords into each application's own verifier does not create a single federated authentication event; it multiplies stores that could expose those secrets. The stated objective is to reuse the corporate identity-provider sign-in without sharing passwords to applications.
B:Replicating credentials expands compromise locations instead of delegating authentication securely. Duplicating complete passwords into twelve applications expands theft and password-reuse exposure. Federation should delegate authentication to a trusted provider rather than distribute credential secrets to every service.
D:A central vault can help users store complex passwords and reduce repeated typing, so it improves credential hygiene. It does not make the twelve applications trust the same corporate authentication assertion: separate reusable passwords still exist and are presented to each tool. Federated single sign-on supplies the shared identity event requested by the stem.
CompTIA Security+ (SY0-701) Practice Tests