CompTIA SY0-701 Practice Test 30
Question 290
An attribute-based policy permits reading a private software repository only if the signed-in user's project_code equals the repository's project_code AND the endpoint is compliant. An engineer assigned to project Atlas signs in from a compliant device and requests the Boreal repository. What decision follows from the stated policy?
- Permit the read because a compliant endpoint satisfies the full AND rule even when user and repository project codes differ
- Permit the read because successful enterprise authentication automatically overrides a resource attribute condition in every policy
- Deny the repository read because Atlas and Boreal do not match; endpoint compliance satisfies only one required condition
- Approve the read by changing the engineer's group to a generic administrator role without evaluating the policy's explicit repository condition
Explanation
Correct Answer
C:The Boolean AND condition fails because user.project_code differs from resource.project_code even though the device posture predicate is true. Atlas is not Boreal, so the repository condition is false while the device condition is true. The combined policy therefore denies the read without needing an additional discretionary override.
Incorrect Answers
A:When the policy requires both project match and endpoint compliance, satisfying only the device predicate does not establish a valid authorization decision. A logical AND condition requires every predicate to be true. Device compliance cannot compensate for a project-code mismatch; the repository authorization must still fail.
B:Identity verification establishes who submitted the request but does not eliminate independent resource-access conditions set by the authorization policy. Authentication verifies an engineer’s identity but does not override the resource attribute policy. A successful sign-in does not confer access to unrelated project code.
D:Adding standing privileged membership without a valid exception process would bypass the explicit project attribute check, rather than satisfy it. Granting a generic administrator role to bypass the explicit ABAC rule would violate least privilege and sidestep the required project isolation.
Question 291
A classified document is labeled Top Secret. An employee with a lower clearance asks its owner for access, but the mandatory label policy refuses the request. What explains the outcome?
- The document owner must always be allowed to override a centrally enforced classification policy
- Directory group membership can never affect classified document access
- The employee's physical office location makes all clearances equivalent
- Mandatory access control enforces security labels and clearance independently of the owner's wishes
Explanation
Correct Answer
D:A centrally defined label policy can deny access even when the data owner would prefer to share. Mandatory access control evaluates the object’s classification label against the subject’s clearance and applicable compartments. A lower-cleared employee is denied despite the document owner’s willingness to share it.
Incorrect Answers
A:Under MAC, subject clearance and object classification limit what sharing choices an owner can make. Mandatory clearance enforcement is centrally controlled; the owner cannot grant access above a requester’s authorized level merely by approving it.
B:Groups may support parts of authorization, but cannot override the stated mandatory label condition. Group membership may still supply additional roles or compartments, but it cannot override a mandatory security label and insufficient clearance in this scenario.
C:Physical co-location does not nullify required clearance and information-flow restrictions. Office location does not change the classification comparison. Access depends on subject clearance and applicable authorization, not the room where the request originates.
Question 292
The owner of an unclassified project folder adds a colleague as a reader and can later remove that permission without central clearance policy intervention. Which authorization approach is illustrated?
- Cryptographic nonrepudiation produced by signing every file access
- A geofencing check on the employee's VPN address
- A mandatory classification rule enforced regardless of owner choice
- Discretionary access control where the object's owner manages access permissions
Explanation
Correct Answer
D:DAC permits a resource owner to grant or revoke access within the operating system's model. Under discretionary access control the owner or authorized manager controls the object’s access list. The colleague’s reader permission is granted and later revoked by the permitted owner rather than fixed by mandatory classification.
Incorrect Answers
A:Digital signatures may provide evidence of origin but do not grant filesystem read privileges. Signing a file can establish integrity and origin under appropriate trust; it does not describe an owner granting discretionary read permission to a colleague.
B:Network location conditions are unrelated to the described owner-granted read permission. A geofencing restriction examines request location or risk and is not the decision mechanism by which the folder owner maintains an access control list.
C:A mandatory label system would not center routine access decisions exclusively on owner discretion. A mandatory label would constrain sharing independently of the owner’s choices. The stem expressly says the owner may grant and revoke without such a central restriction.
Question 293
A privileged operations console must be inaccessible from 19:00 to 07:00 for all employees regardless of job title. Which TWO policy features enforce this restriction? Choose TWO.
- Apply a central authorization rule that denies requests outside the approved window
- Use a time-of-day condition on the protected application or access gateway
- Grant full access at any hour to everyone with a valid password
- Replace all identities with one service account that has no login-hour tracking
- A static allowlist of valid user accounts that never evaluates request time
Explanation
Correct Answers
A:A centrally enforced window can deny requests consistently independent of departmental job roles. A central deny rule outside the defined schedule applies consistently to accounts regardless of role and ensures no employee can bypass it merely by holding a valid password. Implement the deny policy for new requests and persistent sessions so preexisting logins cannot evade the schedule.
B:Conditional authorization can test request time before allowing access to the privileged console. Check authoritative gateway or application time at each access request, including time zones and session expiry where applicable. A permitted login before 19:00 must not silently retain prohibited access afterward. Record the evaluated timezone and any daylight-saving transition to make denied-access decisions auditable.
Incorrect Answers
C:Valid authentication does not remove the organization-wide time restriction. Time-of-day rules can deny access despite a correct password. Successful authentication answers who is present but does not override the time condition. Granting round-the-clock access violates the specified rule.
D:Shared service credentials reduce accountability and do not implement the stated hours policy. One shared identity destroys attribution and cannot implement reliable per-user session policy. It does not repair the missing clock-based authorization.
E:Account membership alone cannot deny all users outside a permitted hour range unless the authorization decision also evaluates time. An account allowlist has no information about whether the request occurs between 19:00 and 07:00. Time must be evaluated explicitly.
Question 294
A cloud service only needs to read objects in storage bucket invoices-archive. Its current policy permits all actions on all buckets. What is the correct change?
- Delete service logs so privileged access cannot be audited
- Restrict policy actions to the required object-read operation and the specific bucket resources
- Add write and delete permissions to the wildcard resource for operational convenience
- Keep wildcard access because the service has already authenticated
Explanation
Correct Answer
B:Explicit actions and bucket scope minimize unintended access while preserving the business workflow. Scope the service identity to necessary object-read actions on invoices-archive, with no unrelated bucket, write or administrative permissions. Test application behavior after reducing access to ensure legitimate reads still work. Avoid broad list, write or delete permissions when the workload reads only named invoice objects.
Incorrect Answers
A:Removing logs makes misuse harder to detect without reducing the excessive cloud permissions. Deleting logs only obscures which broad privileges the workload exercised. The access policy should be narrowed while retaining usage evidence.
C:Write and delete permissions extend beyond the described read-only service purpose. Wildcard writes and deletes enlarge the impact of a compromised service credential. The requirement is read-only access to one bucket.
D:Authentication confirms service identity but does not justify unrestricted authorization over unrelated storage. Authentication establishes an identity, not a justified authorization to all storage services. The actual business use should determine permitted actions and resources.
Question 295
A privileged maintenance grant is scheduled to expire at 18:00, but the access gateway leaves an already-established administrator session authorized until manual logout. What must the privileged-access design additionally enforce?
- Extend every approved privilege grant indefinitely whenever an administrator connects before the expiry time
- Rely on the desktop clock display rather than authoritative gateway/session controls to end privileged access
- Terminate or reauthorize the active privileged session and any relevant tokens when the time-limited grant expires
- Stop recording privileged session activity because the account was initially approved for a short maintenance window
Explanation
Correct Answer
C:Just-in-time privileges must be time-bounded in practice, including revoking still-active authorization or sessions after the approved window. Expire or reevaluate active privileged sessions, relevant access tokens and gateway authorizations at the grant boundary. Otherwise the user can continue operating beyond the approved change window despite a formally expired request.
Incorrect Answers
A:A maintenance approval defines bounded access. Existing connections should not silently bypass the expiration of the authorized privileged grant. An access approval is time-bounded and should not turn permanent simply because the admin established a session just before expiry. That creates a trivial bypass.
B:An endpoint clock cannot by itself enforce centralized entitlements or expire credentials and sessions at the authoritative access control point. Client desktop time is untrusted and can be changed. Enforcement must rely on authoritative session and token controls, not a local clock label.
D:Session recording remains important during privileged access; disabling records cannot enforce privilege expiration or improve post-maintenance accountability. Deleting session audit records weakens accountability for elevated operations. Retain logs and preserve enforcement of the time limit even during an extended session.
Question 296
A mobile login requires a memorized password and a PIN created by the same user. Which factor analysis is accurate?
- Any second string typed after a password automatically becomes a biometric factor
- The PIN is possession because the employee normally types it on a phone
- Both values are knowledge factors and do not by themselves provide two-factor authentication
- These are two independent MFA factors because the credentials have different text lengths
Explanation
Correct Answer
C:Password plus memorized PIN combines two knowledge secrets rather than independent authentication categories. Both the password and PIN rely on secrets the user knows, so this is two knowledge credentials rather than two independent factor categories. True MFA combines different types such as knowledge and possession or inherence.
Incorrect Answers
A:Biometric factors measure inherent traits and cannot be created by entering another remembered string. Biometric factors measure something inherent to the user, such as fingerprint characteristics; entering a second memorized string does not create inherence.
B:A user-memorized PIN remains knowledge even when entered on a portable device. A PIN is knowledge even when entered on a mobile device. Possession would involve proving control of a cryptographic authenticator or physical token, not merely the phone keyboard.
D:Factor independence is based on what the user knows, has or is, not textual variety. Length and text formatting do not change factor category. Two different memorized secrets can still be compromised together through the same phishing interaction.
Question 297
A workstation's fingerprint sensor is damaged, but its owner still needs secure login without copying biometric templates to another device. Which THREE practices are appropriate? Choose THREE.
- Verify recovery identity through the defined enrollment or help-desk assurance workflow
- Share one fallback recovery PIN across the entire department to avoid separate tickets
- Disable authentication for every user until the sensor is repaired
- Use an approved recovery factor or backup authenticator that meets the application's assurance requirement
- Revoke the affected device factor or re-enroll it after controlled repair if supported
- Post the employee's old fingerprint template in a shared ticket for vendor recovery
Explanation
Correct Answers
A:Assured identity verification helps prevent attackers abusing the recovery channel to seize accounts. A documented recovery check should establish that the person requesting a fallback is the rightful account owner. Help-desk staff must apply the required assurance rather than trust an unverified voice or message.
D:An approved alternate authenticator can restore access without undermining the required factor strength. Use a separately registered authenticator, one-time recovery mechanism or approved alternative that satisfies policy. It should not require exporting biometric templates to another device. Recovery tokens should be single-use or otherwise narrowly scoped, with audit evidence of use.
E:Controlled revocation and reenrollment limit trust in a damaged or replaced authentication component. Remove a nonfunctional biometric factor from the active configuration and re-enroll only after trusted repair and identity confirmation. This prevents stale biometric enrollment from becoming a hidden weak point. Re-enrollment must require a verified user and trusted repaired device, not copying prior templates.
Incorrect Answers
B:Department-wide fallback secrets defeat individual accountability and create a single shared failure point. A department-wide fallback PIN could let anyone impersonate colleagues and removes individual revocation. Recovery credentials should be unique and protected.
C:Disabling authentication globally is disproportionate and creates unnecessary unauthorized access opportunities. Use scoped identity proofing and recovery controls, not blanket disablement. Blanket denial of every user is not proportionate when only one sensor failed and an approved recovery process exists. Recovery should be scoped to the affected identity and device.
F:Biometric templates are sensitive and should not be exposed in a shared support ticket. Biometric templates are sensitive and cannot be treated as ordinary support-ticket attachments. Sharing them would add privacy and impersonation risk without repairing the sensor.
Question 298
A phishing site exactly copies a company's login page. A user's browser-based security key refuses to authenticate at that imitation domain. What property explains this protection?
- A password length policy guarantees the copied page cannot display a login form
- Origin binding makes phishing-resistant credentials unusable for an unregistered imitation website
- IP fragmentation prevents authentication when the browser reaches a new domain
- Hidden Wi-Fi SSIDs prevent all off-site credential phishing pages from loading
Explanation
Correct Answer
B:WebAuthn or FIDO authenticators cryptographically bind the credential to a registered relying-party origin. A FIDO/WebAuthn security key cryptographically binds an assertion to the legitimate relying-party origin. A lookalike domain receives no valid assertion for the real service even if the page looks identical. The legitimate domain is checked as part of the challenge response, unlike a password that can be copied into a lookalike page.
Incorrect Answers
A:Long passwords remain vulnerable to deceptive collection when the victim types them into a fake site. Password length does not prevent attackers from cloning a login page’s HTML or visual design. Strong secrets can still be captured by a convincing phishing website.
C:Packet fragmentation is unrelated to registered authentication origins and cryptographic phishing resistance. IP fragmentation affects packet delivery and has no relationship to a web authenticator’s origin verification. The refusal comes from identity protocol checks.
D:SSID visibility has no reliable control over Internet domains used for phishing. Hiding a Wi-Fi SSID neither blocks remote websites nor authenticates their origins. The attack fails because the credential is bound to the real domain.
Question 299
An employee signs in using a passkey stored in a supported device authenticator. The web service verifies a challenge without receiving a reusable password. What remains secret on the authenticator?
- The public key that the relying-party server publishes to all employees
- Every other employee's memorized login password
- The web site's wildcard administrative access token without expiration
- A private signing key used to authenticate a challenge under the appropriate relying-party identity
Explanation
Correct Answer
D:The authenticator retains the private key and uses it to generate proof for the correct service. The authenticator protects the private key and uses it to sign a fresh challenge bound to the expected relying party. The service verifies the signature with the registered public key without receiving a reusable password.
Incorrect Answers
A:Public keys are intentionally shared for verification and do not need to remain secret. The public key is meant to be available to the relying party for verification; secrecy of that value is not the basis of passkey protection.
B:An individual cryptographic credential does not contain other employees' account passwords. A private key authenticates one identity; it is not a password dump. Other employees’ passwords are unrelated to this user’s authenticator. No reusable personal password needs to be collected by the relying party.
C:Passkey sign-in does not require an unrestricted administrative bearer token stored on every device. A wildcard administrator token is not part of standard passkey authentication. It would represent unrelated authorization with excessive privilege.
Question 300
HR records an employee's departure. What automated security workflow should use this authoritative event?
- Disable the corporate asset register until the final payroll run
- Automatically publish the employee's credentials in the team ticket
- Grant the former employee temporary administrator rights to every application
- Trigger identity and entitlement deprovisioning, revoke sessions and log failures for follow-up
Explanation
Correct Answer
D:HR-driven provisioning automation can remove directory roles, downstream access and tokens promptly with accountable logging. Treat the trusted HR departure event as a signal to disable accounts, remove group and SaaS entitlements, revoke supported sessions and verify completion. Track failures or asynchronous integrations so lingering access is not silently missed.
Incorrect Answers
A:Asset tracking remains necessary for recovery of devices and cannot substitute for access revocation. Disabling an asset register would remove device custody and offboarding visibility. HR departure should instead trigger identity and resource-access changes.
B:Credential publication increases exposure and does not close active application sessions. Reset credentials and invalidate active tokens through controlled procedures. Publishing credentials is an exposure of secrets, not a deprovisioning operation. Offboarding must invalidate old access and preserve a minimal secure audit trail.
C:New privileges contradict termination and would expand unauthorized access paths. Termination should revoke entitlements and outstanding sessions. Automatic broad administrator privileges would be the opposite of terminating access for a former employee. It creates immediate unauthorized capability.