Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
CompTIA · SecurityX CAS-005

Troubleshooting IAM

SecurityX CAS-005 · Lesson 13 of 24 · 1:43:42

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the CompTIA SecurityX (CAS-005) exam. In this lesson: subjects, secrets management, and biometrics, conditional access and cloud trust policies, SAML, OpenID Connect, OAuth, and MFA, and Kerberos, EAP, and 802.1X failures. Includes three original practice questions, with Thornbury Biotech, a fictional biotech company whose security architect designs and runs its security, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

A Monday at the help desk

Monday morning at Thornbury Biotech, the help desk queue is full: single sign-on to the trial app fails for everyone, lab laptops cannot join the wired network, and a nightly job has stopped. A researcher traveling abroad is blocked as well. Each problem sits in a different part of identity and access management, and the logs will show which one.

Subjects and secrets

Access control applies to four kinds of subjects: users, processes, devices, and services, and identities that are not people often outnumber those that are. Many outages and breaches come from secrets: tokens, certificates, passwords, and keys that are hard-coded, shared, or forgotten until they expire. A secrets manager stores them centrally, hands them out at run time, and logs every access, instead of leaving them in code or configuration files. Rotation replaces a secret on a schedule, or after a leak, but it must be coordinated: every consumer needs the new value before the old one stops working, or the application fails. And deletion ends the cycle: once nothing uses an old secret, revoke it and delete it, so it cannot be abused later.

Biometrics and identity proofing

Biometrics are measured by two error rates: the false acceptance rate lets the wrong person in, and the false rejection rate turns the right person away. A stricter setting lowers false acceptance, but raises false rejection, and the point where both rates are equal, the crossover error rate, helps compare systems. When many legitimate users are rejected, check enrollment quality, sensor cleanliness, and conditions like gloves or lighting, before loosening the threshold. Identity proofing comes earlier: before issuing any credential, verify that the person is who they claim to be, with documents, a live check, or an in-person visit, matched to the level of assurance needed. Weak proofing undermines everything after it, because an attacker who passes it gets valid credentials.

Troubleshooting conditional access

When conditional access blocks someone, the sign-in log is the first stop: it shows which policy applied, which condition failed, and why. User-to-device binding ties a session or a token to the device it was issued to, so a token copied to another device fails, which is intended, but a rebuilt device can fail too. Geographic location rules block or challenge sign-ins from unexpected countries, and travelers, VPN exits, and mobile carriers can all make a location look wrong. Time-based rules limit access to working hours, and configuration rules require a compliant, patched device, so an overdue update can lock a user out. Attestation proves the device state, like a health report from the TPM, and a failed attestation after a firmware change is a common cause of new blocks.

Cloud IAM and privileges

In the cloud, two kinds of policies must agree: an access policy says what an identity may do, and a trust policy says who may assume a role in the first place. When a role cannot be assumed, check its trust policy, and when an action is denied, check the access policies, remembering that an explicit deny always wins over an allow. Privileged identity management grants admin roles just in time, for a limited period, with approval and a justification, so nobody keeps standing admin rights. Privileged access management goes further for shared and powerful accounts: it vaults their credentials, checks them out for one session, and can capture what happens during that session. Logging and monitoring tie it together: alert on new admin assignments, failed elevation attempts, and access from unusual places.

Federation and tokens

With SAML, the identity provider sends a signed assertion to the service provider, and most failures come from three places: clocks out of sync, a signing certificate that changed on one side only, or a wrong reply address or audience. OAuth is about authorization: it gives an application a scoped access token to call an API on the user's behalf, and OpenID Connect adds authentication on top, with an ID token that says who the user is. Typical errors are a redirect address that does not match the registration, a token sent to the wrong audience, an expired token, or a missing scope. Single sign-on spreads one failure widely: if the identity provider's signing certificate expires, every federated app breaks at once, so track those dates. And for MFA, repeated push prompts that users approve without thinking signal a fatigue attack, so require number matching, or phishing-resistant methods like passkeys.

Kerberos and network access

Kerberos issues tickets from a key distribution center, and it fails when clocks drift beyond the allowed skew, five minutes by default, when DNS points to the wrong host, or when a service principal name is missing or duplicated. IEEE 802.1X controls network ports: the device, called the supplicant, talks to the switch or access point, called the authenticator, which asks a RADIUS server whether to let it in. The Extensible Authentication Protocol, or EAP, carries the credentials, and EAP-TLS, with certificates on both sides, fails when the client certificate expires, or when the device does not trust the server's certificate. Devices without an 802.1X supplicant, like some lab instruments, need a fallback, like MAC address bypass onto a restricted VLAN. On Wi-Fi, simultaneous authentication of equals, or SAE, replaces the pre-shared key handshake in WPA3, and resists offline password guessing, but older devices that only support WPA2 may need a transition mode.

Recap

Let's recap. Users, processes, devices, and services are all subjects, and their secrets need central storage, coordinated rotation, and deletion. Biometrics trade false acceptance against false rejection, and identity proofing must be strong before credentials are issued. Conditional access blocks are explained in the sign-in log, and cloud roles need both a trust policy and access policies, with PIM and PAM for privileges. SAML fails on clocks, certificates, and addresses, while OAuth and OpenID Connect fail on redirects, audiences, scopes, and expiry. And Kerberos needs synchronized clocks and correct names, 802.1X needs valid EAP certificates, and SAE protects WPA3 Wi-Fi.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. After a scheduled rotation of a database password, Thornbury’s nightly analytics job fails with an authentication error, while people can still sign in. What is the most likely cause?

    • The database server’s TLS certificate expired
    • The users’ MFA settings changed
    • The job still presents the old password
    • A biometric threshold was raised
    Show the answer

    The job still presents the old password

    The rotation was not coordinated, so the job still presents the old password. “The database server’s TLS certificate expired” would break connections for everyone, not just the job. “The users’ MFA settings changed” is about people signing in, and the job does not use MFA. And “A biometric threshold was raised” only affects fingerprint or face readers.

  2. A deployment pipeline in one of Thornbury’s cloud accounts must assume a role in another account, but every attempt fails: not allowed to assume the role. The role’s permissions look correct. What should the admin check?

    • The role’s trust policy
    • The storage bucket’s access policy
    • A time-based conditional access rule
    • The pipeline’s certificate template
    Show the answer

    The role’s trust policy

    The trust policy decides who may assume the role, and the pipeline's identity is probably missing from it. “The storage bucket’s access policy” only controls access to one storage bucket, after a role is assumed. “A time-based conditional access rule” only applies to people signing in. And “The pipeline’s certificate template” is about issuing certificates, not assuming roles.

  3. After the holidays, lab laptops cannot join the wired network, and the RADIUS logs show their client certificates rejected as expired. What should the team fix?

    • The SAML signing certificate
    • The EAP-TLS client certificates
    • The Kerberos clock skew on the servers
    • The SAE settings of the Wi-Fi
    Show the answer

    The EAP-TLS client certificates

    EAP-TLS needs valid client certificates, so renew them, and make sure automatic renewal works. “The SAML signing certificate” is about federation to web applications, not network ports. “The Kerberos clock skew on the servers” is about Kerberos tickets, not 802.1X. And “The SAE settings of the Wi-Fi” only applies to Wi-Fi, while these laptops use wired ports.