CompTIA SY0-701 Practice Test 29
Question 280
A company administers critical cloud services through a federated corporate identity provider. During an identity-provider outage, ordinary administrators cannot authenticate and cannot recover tenant access through their usual sign-in path. Which PREPARED IAM safeguard best supports emergency administration without making it an everyday sign-in shortcut?
- Maintain tightly secured, monitored emergency administrative identities that are independent of the failed federation path, have usable alternate strong authentication, are tested periodically and are accessed only under documented break-glass procedures
- Require the emergency identity to use the SAME unavailable federated provider as every ordinary administrator, ensuring centralized security policy is never bypassed
- Distribute one permanent privileged password to all employees so any available person can log in during a federation outage without approval or audit
- Disable all privileged sign-in and audit logs during identity-provider outages to reduce troubleshooting overhead and hide unsuccessful attempts
Explanation
Correct Answer
A:Cloud emergency access should retain a path independent of the organization’s normal federation dependencies so identity-provider failure does not create total administrative lockout. Protect this exceptional capability with strong resilient authentication, restricted authorized custodians, monitoring, periodic drills and post-use review. These are exceptional recovery identities, not a replacement for normal just-in-time access. Emergency identities should bypass the unavailable federation dependency while remaining strongly protected, monitored and used only through a logged break-glass procedure. Test them periodically so expiration, conditional access or missing factors do not make the recovery path unusable.
Incorrect Answers
B:If every emergency credential depends on the same unavailable provider, the stated outage can also block the emergency path. Identity resilience requires avoiding a single federation failure mode, while maintaining explicit safeguards for the exceptional account. Consistent policy is valuable but not when it removes the only authorized recovery route. If the emergency account relies on the failed identity provider it cannot restore control during that outage. Independence is the essential resilience property.
C:An unrestricted shared privileged secret sacrifices attribution, controlled custody and safe revocation, and multiplies the attack surface. Emergency administrative access must be deliberately protected and available to designated responders, not a general password handed to all staff. The availability requirement does not justify bypassing every authorization and audit control. A shared privileged password destroys accountability and exposes the tenant to broad compromise. Emergency access should be tightly restricted to named custodians and independent authentication.
D:Disabling logs would undermine accountability and make misuse of exceptional rights harder to detect. A successful emergency access design explicitly monitors and alerts on every use, including test activations. Audit retention and review are especially valuable when the normal sign-in infrastructure is unavailable. Disabling sign-in auditing during an identity crisis conceals who used emergency privileges. Extra monitoring is especially important because break-glass access is powerful.
Question 281
After an employee leaves, centralized SSO login has been disabled, but a long-lived delegated OAuth grant allows a third-party SaaS integration to continue accessing the former employee’s calendar data. What should identity operations verify?
- That the SaaS integration may continue indefinitely because its authorization was granted before employment ended
- That rotating the former user’s local device password automatically deletes every third-party OAuth grant
- That the delegated application grant and existing tokens are revoked at the authorization service, with downstream access confirmed terminated
- That the integration can be given a tenant-wide administrator token to preserve useful calendar functions
Explanation
Correct Answer
C:Deprovisioning must cover delegated grants and existing authorized sessions in integrated applications, followed by evidence that downstream reads stop. Find and revoke the delegated grant, invalidate supported access or refresh tokens and test whether the SaaS integration can still read the former employee’s calendar. Offboarding needs to cover applications beyond the primary SSO credential.
Incorrect Answers
A:Historic consent does not override current access governance. A departed user’s active delegated rights may need explicit revocation. A prior consent is not permanent permission after a user departs. Delegated application access may survive an ordinary login disablement until grants and tokens are revoked.
B:Local password changes do not necessarily invalidate independently issued access and refresh tokens held by a third-party client. Changing a local device password does not necessarily invalidate OAuth authorization held by a separate cloud provider. Revoke the third-party permission at the actual authorization service.
D:Escalating to tenant administrator scope would expand exposure and does not solve the stale departed-user delegation problem. A tenant-wide administrator token would dramatically expand privileges and preserve unauthorized data access. Legitimate integrations should be reassigned through governed service identities rather than inheriting a departed worker’s authority.
Question 282
A contractor joins a group labeled 'Support' and unexpectedly gains write access to production secrets through nested roles. What should the identity team investigate?
- Whether the office firewall uses Ethernet cables of equal length
- Effective entitlements, nested group inheritance and role membership that exceed the contract scope
- Why the user cannot read unrelated public websites on the Internet
- The account's directly assigned role only, ignoring nested group memberships
Explanation
Correct Answer
B:Tracing effective permissions can reveal inherited excess authority and identify roles to reduce or separate. Resolve the principal’s effective permissions across direct and nested groups, role inheritance and resource-specific grants. Compare the resulting write rights with the supplier’s approved role and remove excessive privilege at its source.
Incorrect Answers
A:Cable length does not explain delegated write access within an identity and authorization system. Ethernet cable lengths have no causal relationship to nested group privileges. The question concerns identity authorization inheritance in the production secrets platform.
C:Public web access is distinct from the unexpected permission to modify private production secrets. Browsing unrelated public websites does not explain why a Support group grants write access to production secrets. Investigate the entitlement model instead.
D:Nested security groups can grant effective privileges not visible from only direct role assignments. Checking only the direct assignment misses the nested membership path described in the stem. Access should be evaluated as the resource actually computes it.
Question 283
An applicant requests a high-assurance physical access credential for a secure facility. Which TWO checks support trustworthy identity proofing? Choose TWO.
- Validate identity evidence through approved authoritative sources before issuing the credential
- Let any existing badge holder claim the applicant is trustworthy without records
- Keep one shared facility identity for every applicant to avoid verification delays
- Bind the verified applicant to an individual enrollment record and issuance decision
- Issue a badge based only on a forwarded unauthenticated text message
Explanation
Correct Answers
A:Authoritative documentation and approved verification help establish that the claimant matches a real identity. Trusted documents or authoritative sources help establish that the individual presenting the request has the claimed identity. Verify evidence strength against the facility’s enrollment assurance requirements. Check the evidence against current records and verify the presentation is not forged or reused.
D:A traceable enrollment record links the proofed person to a distinct controlled credential. Bind the proofed person to a unique enrollment record with a documented approval, credentials issued and later lifecycle events. This prevents an otherwise valid badge from being assigned to an unverified claimant.
Incorrect Answers
B:Informal assertions without an accountable verification process create impersonation opportunities. Verified issuance records bind the credential to an actual person. A casual attestation by another badge holder is not a reliable authoritative proof of identity unless a defined verified sponsorship process supports it.
C:Shared identities eliminate reliable attribution and are inappropriate for individual high-assurance access control. A shared identity would erase individual attribution, making audit, revocation and access investigations unreliable. Issue a unique credential per verified applicant.
E:An unauthenticated message cannot provide sufficient assurance for issuance of sensitive physical credentials. An unauthenticated text can be forged or forwarded and provides insufficient identity evidence for a high-assurance facility. The issuer should apply a controlled proofing process.
Question 284
A supplier's staff need temporary access to a joint project, but the supplier already handles staff onboarding and terminations through its own IdP. What identity architecture is preferable?
- Copy every supplier password into the customer's database
- Require the supplier to share its root directory administrator password
- Disable application authorization because the supplier authenticates its staff
- Establish a restricted federation trust and mapped application roles with the supplier IdP
Explanation
Correct Answer
D:Federated trust can accept supplier-authenticated identities while retaining local resource authorization controls. Configure a trusted federation relationship with restricted audience, issuer and claims mapping, then assign least-privilege application roles with expiration. The supplier can manage staff identity lifecycle while the customer governs access to its project.
Incorrect Answers
A:Password copies create additional secrets and inconsistent revocation between partner organizations. Federated authorization avoids unmanaged copies of identity secrets. Copying supplier passwords expands credential exposure and creates two inconsistent identity authorities. Federation is intended to avoid transferring reusable employee secrets.
B:Sharing root administration credentials grants excessive control and defeats institutional boundaries. Mutual trust should use scoped federation rather than shared superuser access. A root directory administrator credential grants far more rights than project collaboration requires. Supplier identity administration should remain under its own organizational control.
C:Authentication alone does not specify what a supplier user may view or change in the application. Authentication proves who the supplier employee is, but the customer still defines which project records and operations are allowed. Application roles and access reviews remain necessary.
Question 285
An employee signs in once through a trusted identity provider, then opens two unrelated business applications without reentering credentials. Which access characteristic is demonstrated?
- Single sign-on using a trusted authentication session across applications
- A single universal administrator role that must grant every user full permissions
- Passwordless physical access without a software identity system
- A firewall state-table entry that assigns application database privileges
Explanation
Correct Answer
A:SSO reuses an authentication result across trusting applications while each may enforce its own roles. An authenticated session from the identity provider can be reused by relying applications, avoiding repeated credential entry. Each application still performs its own authorization checks and may require step-up authentication for sensitive operations.
Incorrect Answers
B:Single sign-on does not mean all applications grant the same or privileged authorization. Single sign-on does not mean all users receive a universal administrator entitlement. Authentication reuse and role assignment are separate security decisions.
C:The described behavior relies on a federated identity session, not a physical door badge. This is a digital IdP session spanning applications, not proof that physical building access has become passwordless. The identity federation is explicitly software based.
D:Network firewall session state does not confer application-level permissions or sign-on status. A firewall state entry tracks packets but does not automatically grant roles in independent business applications. SSO takes place at the identity/session layer.
Question 286
An internal tool must look up employees' organizational units and directory group attributes from a corporate directory. Which protocol commonly serves directory queries?
- A hardware cryptographic key exchange over raw Ethernet frames
- LDAP with appropriate transport security and account permissions
- The Internet Control Message Protocol used for echo diagnostics
- OAuth 2.0 authorization grants delegated API access rather than directory record lookup by itself
Explanation
Correct Answer
B:LDAP supports directory search operations for identities, OUs and groups when deployed with proper security. LDAP is a directory access protocol for searching and retrieving identity and group attributes. Use encrypted transports, service account scoping and query limits rather than permitting anonymous broad directory access.
Incorrect Answers
A:Link-layer key exchange does not provide structured user and group record queries. Raw cryptographic key exchange establishes secrets or peer authentication, not a general-purpose query interface for organizational units and group attributes.
C:ICMP is used for network control and diagnostics, not directory identity queries. ICMP echo tests network reachability but cannot query the directory’s schema or group membership records. Its responses are not application identity objects.
D:OAuth grants access to resources through authorization frameworks and does not itself define directory search syntax. OAuth authorizes a client to use an API but is not a directory query protocol by itself. An OAuth-protected directory API may exist, yet LDAP is the specified traditional directory interface.
Question 287
A calendar application requests permission to read events from a user's account without learning the user's password. Which THREE properties align with delegated OAuth authorization? Choose THREE.
- An access token can convey authorized permissions and limited audience or lifetime
- The access token always proves the user recently performed biometric authentication
- The client must receive the user's reusable password before any token can be issued
- The resource server verifies token validity and permitted scopes before returning events
- The user or policy grants a scoped authorization to the requesting client
- Granting calendar-read access inherently grants the application global administrator rights
Explanation
Correct Answers
A:A scoped token allows resource access under defined restrictions and expiry or audience requirements. A delegated token can carry scopes, expiry and audience restrictions allowing only approved calendar operations. The client should store it securely and avoid treating possession as a universal entitlement. A token may be revoked earlier than its nominal expiry, so an application should handle authorization failure correctly.
D:The protected API checks token claims or introspection and denies operations beyond granted permissions. The calendar API validates token signature or introspection status, expiry, audience and granted scopes before returning protected events. Tokens are authorization artifacts, not a substitute for server-side checks. A resource server must not trust token content merely because an unverified client supplied it.
E:A resource owner or organization can consent to restricted access according to the authorization framework. A user or delegated policy authorizes a bounded action set for a particular client, potentially with consent review and revocation. This avoids unrestricted access to all identity resources. The delegated client should not gain permissions unrelated to the explicitly accepted calendar workflow.
Incorrect Answers
B:OAuth authorization tokens do not universally specify user authentication strength or recency by themselves. Token possession does not inherently prove that a biometric check happened recently; assurance and authentication context require distinct verified claims and policy.
C:Delegated access need not reveal or store the account's reusable password in the client. The OAuth flow can authorize access without giving the client the user’s reusable password. Password collection by third-party apps is precisely the credential exposure delegated authorization avoids.
F:Calendar-read permission does not automatically confer administrative authority over unrelated enterprise resources. Calendar read permissions do not include the administrative functions of the tenant. Least privilege means consent for one resource does not imply elevated rights elsewhere.
Question 288
A SaaS service provider receives a cryptographically signed SAML assertion issued by a trusted identity provider, but that assertion was originally intended for a different SaaS application. Accepting it would permit cross-application token reuse. Which validation is required?
- Trust the signature alone and ignore which service provider the assertion was issued to
- Verify that the signed assertion has the expected audience and recipient for this service provider, along with trusted issuer and applicable time conditions
- Grant all users the most privileged application role whenever they present any assertion from the trusted identity provider
- Replace SAML audience checks with a DNS lookup of the identity provider hostname and accept any matching address
Explanation
Correct Answer
B:The recipient service should validate the intended audience and destination, signature, issuer and relevant time constraints before creating a session. An assertion signed for application A is not a bearer grant for application B merely because both trust the same identity provider. Correct audience binding prevents cross-service assertion replay. Validate trusted issuer, signature, audience, recipient, timestamps and replay conditions for the expected service provider. A signed assertion for another application must be rejected despite mathematical signature validity.
Incorrect Answers
A:A valid signature shows the signed bytes came from the trusted issuer, but it does not prove the token is addressed to the service processing it. Reusing a legitimately signed assertion for another application is a distinct audience-scoping risk that signature verification alone cannot eliminate. A valid IdP signature proves the assertion’s issuer or integrity but does not establish that this SaaS is its intended recipient. Audience restriction prevents token substitution between applications.
C:Authorization permissions are set by the service and its approved role-mapping policy, not inferred as global administrative access from any trusted SAML token. Even after a valid login assertion, the service still must enforce least-privilege roles and resource authorization. Granting the most privileged role to any signed-in user would ignore application entitlement policy. Authentication alone never justifies global authorization.
D:DNS can indicate where a hostname resolves but it does not validate cryptographic assertion audience restrictions, recipient bindings or signed contents. DNS resolution success is unrelated to whether this service is an authorized relying party for the presented SAML assertion. Resolving the IdP DNS name does not bind the SAML token to the relying application. The token’s signed audience and recipient claims control cross-service reuse.
Question 289
A routine review discovers that the central HelpDesk role now includes permission to delete payroll records. None of the individual technicians requested this new privilege, and they still need account-unlock rights. What is the best role-based remediation?
- Disable all HelpDesk identities indefinitely rather than distinguish essential support rights from excessive entitlements
- Ask payroll document owners to grant direct permanent discretionary delete access to all technicians
- Convert the payroll system into anonymous read-write access so no role mappings need maintenance
- Remove the unintended delete entitlement from the role and re-evaluate effective rights for all members
Explanation
Correct Answer
D:A role-wide permission mistake propagates to everyone assigned the role. Correct the role, then test the resulting least-privilege access without revoking required unlock rights. Correct the shared role definition, remove payroll deletion rights and verify the effective access of all affected group members. Review whether existing sessions or tokens need refreshing to apply the change promptly.
Incorrect Answers
A:Removing all accounts would interrupt approved support tasks and does not correct the underlying overly broad role permission assigned across the group. Disabling every help-desk account would interrupt legitimate account-unlock work and ignore the fact that one shared role has excessive permissions.
B:Ad hoc owner grants would further increase unauthorized payroll modification and bypass the intended centrally governed role boundaries. Giving every technician a permanent direct delete grant recreates the original privilege problem and makes later reviews harder. Payroll changes need narrow, accountable authority.
C:Anonymous write access discards individual authorization and would expose the sensitive records more widely than the existing role configuration problem. Anonymous write access would abolish identity-based accountability and expose sensitive records. The correct repair narrows role entitlements.
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.