Curated

Identity and Access Management (IAM) 2 (5.5–5.6)

0 votes

Questions14

  1. Question 1

    Identity and Access Management (IAM)

    A security manager is planning an access review of a customer database. Which reviewer is BEST placed to confirm that each user's access is still appropriate?

    Show the answer

    Correct answerD. The data owner or the users' line managers

    AWhy not this: The help desk handles credential resets and has no knowledge of whether access is justified.

    BWhy not this: Administrators know the technical setup but not business need, and they would be reviewing their own work.

    CWhy not this: Auditors test the review independently; performing it would compromise their independence.

    DWhy this is right: They know the business need for access, so they can judge whether it is still justified.

    Data owners and line managers understand business need, so they decide whether access remains appropriate. The administrator who manages the accounts lacks that business context, and the same person reviewing their own work weakens separation of duties.

    Open this question
  2. Question 2

    Identity and Access Management (IAM)

    During a quarterly review, an auditor finds that a payroll clerk who moved to accounts payable six months ago still holds payroll approval rights. The HR transfer record was processed on time. Which control failure does this MOST directly show?

    Show the answer

    Correct answerA. Ineffective periodic recertification of user entitlements

    AWhy this is right: Reviews should have caught rights left over after the transfer, so entitlement recertification failed.

    BWhy not this: The account is a user account, so service account ownership is irrelevant to this finding.

    CWhy not this: Logging records use of access but does not detect or remove rights that are no longer justified.

    DWhy not this: Password strength does not affect whether the clerk holds rights beyond the current role.

    Entitlement creep that survives a transfer and is found only by an auditor shows that periodic recertification by managers or owners is not catching stale access. Logging records activity but does not remove excess rights, so it would not fix the problem.

    Open this question
  3. Question 3

    Identity and Access Management (IAM)

    An annual review of service accounts finds 40 accounts with interactive logon rights. Of these, 12 have no named owner, and 5 show no authentication for over a year. Applications may still depend on some. Which action should the security manager take FIRST?

    Show the answer

    Correct answerA. Assign owners, then disable the dormant accounts under change control and monitor for failures

    AWhy this is right: Ownership enables meaningful review, and a controlled, reversible disable limits risk and outage.

    BWhy not this: Rotation does not address unowned or dormant accounts, and deferring ownership leaves them unreviewable.

    CWhy not this: Deleting without confirming dependencies is irreversible and risks breaking production systems.

    DWhy not this: Service accounts are high-risk and must be included in access reviews, not exempted.

    Accounts need accountable owners to be reviewed, and disabling dormant ones in a controlled, reversible way removes risk without breaking dependent applications. Immediate deletion is irreversible and could cause outages, since dependencies are not yet known.

    Open this question
  4. Question 4

    Identity and Access Management (IAM)

    Which statements correctly describe Kerberos authentication in a Windows domain? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. A large clock difference between client and KDC can cause authentication to fail.C. Clients present tickets issued by the Key Distribution Center to services instead of passwords.D. Tickets are protected with symmetric keys shared with the Key Distribution Center.

    AWhy this is right: Timestamps guard against replay, so clock skew beyond the allowed tolerance breaks authentication.

    BWhy not this: Services trust KDC-issued tickets and do not hold or check user passwords, as that would defeat single sign-on.

    CWhy this is right: The KDC issues tickets, and services accept them in place of passwords.

    DWhy this is right: Kerberos is built on symmetric cryptography, with keys shared between principals and the KDC.

    EWhy not this: Kerberos tickets carry a limited lifetime, typically hours, and must be renewed or reissued once they expire.

    Kerberos uses a trusted KDC that issues tickets protected by symmetric keys, and timestamps make clock synchronization essential. Services never validate passwords themselves; that would defeat the single sign-on purpose of tickets. Tickets also have a limited lifetime and expire, typically within hours.

    Open this question
  5. Question 5

    Identity and Access Management (IAM)

    A company wants employees to sign in to a partner's native mobile app with their corporate credentials, and the app must call REST APIs on the user's behalf. The partner must receive a verified identity but never see the passwords. Which standard BEST meets this?

    Show the answer

    Correct answerA. OpenID Connect

    AWhy this is right: OpenID Connect layers an ID token on OAuth 2.0, giving authentication plus API tokens, suited to native apps and no password sharing.

    BWhy not this: OAuth 2.0 alone delegates authorization with access tokens and gives no standard, verified assertion of who the user is.

    CWhy not this: Kerberos cross-realm trust is meant for ticket-based use inside managed networks, not an internet-facing partner mobile app.

    DWhy not this: SAML 2.0 asserts identity but is XML and browser-redirect based, so it fits native apps and REST APIs poorly.

    OpenID Connect adds an identity layer (ID token) to OAuth 2.0, so it authenticates the user and issues API access tokens, and it suits native apps. OAuth 2.0 alone only delegates authorization and does not define how the user is authenticated.

    Open this question
  6. Question 6

    Identity and Access Management (IAM)

    A network team must authenticate administrators to routers and switches. They also need to control which commands each administrator may run, with the whole session payload encrypted. Which protocol BEST fits?

    Show the answer

    Correct answerB. TACACS+

    AWhy not this: Kerberos provides ticket-based authentication but does not authorize individual commands on network devices.

    BWhy this is right: TACACS+ separates AAA functions, authorizes individual device commands and encrypts the whole packet body.

    CWhy not this: LDAPS is a TLS-protected directory access protocol, not a device administration protocol with per-command authorization.

    DWhy not this: RADIUS merges authentication and authorization and encrypts only the password, so it lacks per-command control and full payload encryption.

    TACACS+ separates authentication, authorization and accounting, supports per-command authorization on network devices, and encrypts the entire payload. RADIUS combines authentication and authorization and encrypts only the password in the access request.

    Open this question
  7. Question 7

    Identity and Access Management (IAM)

    An employee moves from the treasury team to the marketing team in the same company. Which two actions BEST complete the transfer? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Remove the treasury entitlements when the transfer takes effectD. Assign marketing access through the marketing role with manager approval

    AWhy not this: an access review is a detective control and should not replace removal at transfer time.

    BWhy this is right: a transfer must end access tied to the old duties at once, which prevents privilege creep.

    CWhy not this: copying a colleague's access carries over unneeded rights and bypasses role definition.

    DWhy this is right: role-based assignment with the new manager's approval gives only the access the new job needs.

    A transfer is a deprovisioning and provisioning event: old access is removed when the move happens, and new access comes from the new role with approval. Waiting for an access review treats cleanup as detection instead of part of the transfer process.

    Open this question
  8. Question 8

    Identity and Access Management (IAM)

    A system administrator is dismissed for cause and will be told at 4 p.m. Which action should the security team take at the moment the administrator is told?

    Show the answer

    Correct answerD. Disable all of the administrator's accounts and end active sessions

    AWhy not this: waiting for paperwork leaves a dismissed administrator with live privileged access.

    BWhy not this: immediate deletion destroys data and evidence that may be needed for investigation or retention.

    CWhy not this: a quarterly review is a periodic detective check, far too late for a dismissal.

    DWhy this is right: disabling accounts and ending sessions at notification closes the risk window and preserves evidence.

    For an involuntary termination, access must be disabled at the moment of notification so the person cannot act against systems. Disabling rather than deleting keeps data and logs for investigation; deleting destroys them, and waiting leaves a window of risk.

    Open this question
  9. Question 9

    Identity and Access Management (IAM)

    A shared service account with domain admin rights runs three production applications, and its owner has left. Which approach BEST reduces risk while avoiding outages?

    Show the answer

    Correct answerA. Map each application's needs, issue separate least-privilege accounts, migrate, then retire the shared one

    AWhy this is right: one account per application with least privilege removes sharing and excess rights, staged to avoid outages.

    BWhy not this: stripping rights untested causes production failures and unplanned outages.

    CWhy not this: a new owner and password leave domain admin rights and shared use untouched.

    DWhy not this: disabling to discover dependencies deliberately causes an outage in production.

    The risks are shared use, excess privilege and no owner. Mapping dependencies, giving each application its own least-privilege account and retiring the shared one fixes all three without surprise failures. Rotating the password and naming an owner leaves the excess rights in place.

    Open this question
  10. Question 10

    Identity and Access Management (IAM)

    A nightly batch job's service account password is hardcoded in a script and has not changed in years. Several former staff members knew it. Which action BEST addresses the credential risk?

    Show the answer

    Correct answerA. Store the credential in a vault that rotates it automatically

    AWhy this is right: vaulting with automatic rotation removes hardcoded secrets and voids passwords former staff know.

    BWhy not this: a review is detective and leaves the exposed, unchanged password in force.

    CWhy not this: tying a job to a person's account breaks when they leave and gives the job human privileges.

    DWhy not this: unattended jobs cannot answer MFA prompts, so this would break the job or be bypassed.

    Service accounts are non-interactive, so their credentials should be held in a secrets vault and rotated automatically, which also invalidates what former staff know. Review alone detects problems but does not change the exposed password.

    Open this question
  11. Question 11

    Identity and Access Management (IAM)

    A log audit shows administrators running sudo to open root shells, after which their commands are not recorded individually. Which change BEST restores accountability for escalated activity?

    Show the answer

    Correct answerB. Restrict sudo to approved commands and record privileged sessions

    AWhy not this: Permanent root logins remove even the sudo log entry and create standing privilege.

    BWhy this is right: Command limits stop open-ended shells, and session recording attributes actions to a named user.

    CWhy not this: Root password rotation does not capture activity inside a shell opened through sudo.

    DWhy not this: Recertification reviews who holds access, but it records nothing about what they do with it.

    The gap is that a root shell hides what happens after escalation. Limiting sudo to approved commands and recording sessions shows what each named user did. Recertification checks entitlements periodically but does not record activity.

    Open this question
  12. Question 12

    Identity and Access Management (IAM)

    What does a role definition establish in role-based access control?

    Show the answer

    Correct answerB. The permissions needed to perform a particular job function

    AWhy not this: Rotation intervals govern credential management for service accounts, not role permissions.

    BWhy this is right: A role bundles the permissions a job function needs, and users receive them by assignment.

    CWhy not this: Certification schedules belong to the access review process rather than to role content.

    DWhy not this: Account expiry is a provisioning setting for an individual account, not part of a role's definition.

    A role definition groups the permissions a job function needs, so users get access by being assigned a role. Expiry dates, certification schedules and rotation intervals are separate lifecycle controls, not part of what a role defines.

    Open this question
  13. Question 13

    Identity and Access Management (IAM)

    A purchasing clerk who can create vendors is promoted to accounts payable approver. Policy forbids one person both creating vendors and approving payments. What should the access team do?

    Show the answer

    Correct answerD. Remove the purchasing role and assign the accounts payable role as defined

    AWhy not this: A merged role bakes the conflicting permissions into one definition, which is exactly what policy forbids.

    BWhy not this: A review detects abuse after the fact but still leaves the prohibited combination of duties.

    CWhy not this: Waiting for recertification leaves the conflict live and lets old access accumulate after the move.

    DWhy this is right: The transition swaps roles, so the vendor-creation rights go and the conflict never arises.

    A role transition replaces the old role with the new one so the person holds only the new role's defined permissions. This also avoids a separation of duties conflict. A monthly review is only a detective compensating control and leaves the conflict in place.

    Open this question
  14. Question 14

    Identity and Access Management (IAM)

    Linux administrators log in with personal accounts but need occasional root-level commands. Which configuration BEST preserves individual accountability?

    Show the answer

    Correct answerD. Personal accounts using sudo, with logs sent to a central server

    AWhy not this: A shared service account used by people breaks attribution just as a shared root account does.

    BWhy not this: A shared account cannot show which person acted, and rotation does not restore attribution.

    CWhy not this: Permanent root access gives standing privilege and no per-command record of use.

    DWhy this is right: Sudo ties each elevated command to a named user, and central logs protect the audit trail.

    With sudo, each elevation is tied to a named user and logged, and sending logs to a central server stops local tampering. A shared root account hides who acted, and rotating its password does not fix that.

    Open this question