Courseiva

CCNA Identity and Access Management Questions

55 questions · Identity and Access Management · All types, answers revealed

1
MCQhard

A developer is implementing OAuth 2.0 for a mobile app (public client) that needs to access a user's data from a third-party API. To mitigate the authorization code interception attack, which OAuth 2.0 extension should be used?

A.Device code grant
B.Client credentials grant
C.Implicit grant
D.PKCE
AnswerD

Proof Key for Code Exchange (PKCE) enhances the Authorization Code Grant flow, making it secure for public clients like mobile applications that cannot securely store a client secret. It mitigates the authorization code interception attack by requiring the client to generate a cryptographically random `code_verifier` and a `code_challenge` derived from it. The `code_challenge` is sent with the initial authorization request, and the `code_verifier` is later presented when exchanging the authorization code for an access token, proving the client's identity without a shared secret.

Why this answer

PKCE (Proof Key for Code Exchange) is designed for public clients to prevent interception of the authorization code.

2
MCQeasy

Which access control model assigns permissions based on a user's job function?

A.MAC
B.DAC
C.ABAC
D.RBAC
AnswerD

Role-Based Access Control (RBAC) assigns permissions to specific roles, and then users are assigned to one or more roles based on their job functions or responsibilities within an organization. This model simplifies administration by managing permissions at the role level rather than individually for each user, ensuring that users only have the access necessary for their duties. RBAC is widely adopted due to its balance of security, flexibility, and ease of management, directly addressing the question's premise.

Why this answer

Role-Based Access Control (RBAC) uses roles that group permissions according to job functions.

3
MCQmedium

A security policy requires that a user cannot have both the ability to create purchase orders and approve invoices. This is an example of:

A.Separation of duties
B.Need-to-know
C.Least privilege
D.Job rotation
AnswerA

Separation of duties (SoD) is a critical preventative control designed to mitigate the risk of fraud, error, or misuse by ensuring that no single individual possesses all the necessary permissions or capabilities to complete a critical or sensitive transaction end-to-end. This policy directly addresses the requirement that a user cannot have both conflicting responsibilities, thereby preventing a single point of failure or malicious action. It mandates that distinct, high-risk tasks are divided among multiple people.

Why this answer

Separation of Duties (SoD) is a control that prevents a single individual from performing conflicting duties, reducing the risk of fraud.

4
Multi-Selecthard

A security analyst is performing an access review. Which THREE of the following are best practices for user access recertification? (Choose three.)

Select 3 answers
A.Managers confirm that employees still need their current access
B.Remove all access and re-provision as needed
C.Perform recertification annually or more frequently
D.Review access against job roles and responsibilities
E.Automatically approve access if no response
AnswersA, C, D

Managers are uniquely positioned to confirm the ongoing business necessity of an employee's access privileges, as they possess direct insight into daily job functions and responsibilities. This crucial step ensures that access rights align with the principle of least privilege, preventing the accumulation of unnecessary permissions and reducing the overall attack surface within the organization. This verification is fundamental to maintaining a secure access posture.

Why this answer

Recertification should confirm business need, review actual access, and be periodic.

5
Multi-Selecteasy

Which TWO of the following are examples of Type 3 authentication factors? (Choose two.)

Select 2 answers
A.Password
B.Fingerprint
C.Smart card
D.One-time password token
E.Retina scan
AnswersB, E

A fingerprint scan is a classic example of Type 3 authentication, which relies on "something you are." This biometric factor captures unique physiological patterns from an individual's finger to verify identity, providing a high level of non-repudiation compared to knowledge or possession factors.

Why this answer

Type 3 factors are biometrics: fingerprint and retina scan.

6
Multi-Selectmedium

A security analyst is reviewing access controls for a financial application. Which TWO of the following are considered best practices for preventing fraud? (Select TWO.)

Select 2 answers
A.Password complexity
B.Single sign-on
C.Least privilege
D.Two-person control
E.Separation of duties
AnswersD, E

Two-person control, also known as the "two-man rule" or dual control, is a procedural security mechanism requiring the simultaneous involvement and agreement of two authorized individuals to perform a critical or sensitive action. This control prevents a single person from initiating or completing a high-risk transaction or operation, significantly mitigating the risk of fraud, error, or malicious intent by ensuring mutual oversight and accountability. It directly addresses the need for multiple people to complete a sensitive action.

Why this answer

Two-person control (D) is a best practice for preventing fraud because it requires two authorized individuals to perform a critical action, such as approving a high-value transaction or accessing a sensitive system. This ensures collusion is needed to commit fraud, as no single person can complete the action alone. In a financial application, this might involve dual approval for wire transfers over a threshold, directly mitigating insider threats.

Exam trap

The trap here is that candidates often confuse 'least privilege' (a preventive control for limiting access) with 'separation of duties' (a detective/preventive control for fraud), or they incorrectly think 'password complexity' or 'single sign-on' directly prevent fraud when they only address authentication security.

7
MCQmedium

In SAML 2.0, which component is responsible for authenticating the user and generating an assertion?

A.Identity Provider (IdP)
B.Service Provider (SP)
C.Certificate Authority (CA)
D.Relying Party (RP)
AnswerA

The Identity Provider (IdP) is the authoritative entity responsible for authenticating the user's identity within a SAML 2.0 federation. It verifies user credentials against its own identity store (e.g., an LDAP directory or database) and, upon successful authentication, generates a digitally signed SAML assertion containing the user's authentication status and relevant attributes. This assertion is then securely transmitted to the Service Provider, confirming the user's identity without sharing their actual credentials.

Why this answer

The Identity Provider (IdP) authenticates users and creates assertions containing authentication/attribute/authorization data.

8
Multi-Selectmedium

Which TWO of the following are OAuth 2.0 grant types? (Choose two.)

Select 2 answers
A.SAML assertion
B.Client credentials
C.LDAP bind
D.Kerberos ticket
E.Authorization code
AnswersB, E

The Client Credentials grant type is specifically designed for machine-to-machine authentication, where a confidential client (e.g., a service, daemon, or another API) needs to access protected resources on behalf of itself, rather than a specific end-user. In this flow, the client authenticates directly with the authorization server using its own client ID and client secret, receiving an access token that grants it access to resources it is authorized for. This grant is ideal for server-to-server interactions or automated processes where no user interaction is present or required.

Why this answer

Authorization code and client credentials are standard OAuth 2.0 grant types.

9
MCQhard

Which access control model bases decisions on attributes of the user, resource, and environment, and can use Boolean logic to define policies?

A.Role-Based Access Control (RBAC)
B.Discretionary Access Control (DAC)
C.Attribute-Based Access Control (ABAC)
D.Mandatory Access Control (MAC)
AnswerC

Attribute-Based Access Control (ABAC) makes access decisions by evaluating a comprehensive set of attributes associated with the subject (e.g., user's department, clearance level), the object (e.g., resource sensitivity, file type), the action being requested (e.g., read, write), and the environmental context (e.g., time of day, network location). This highly dynamic and granular model uses policies that define rules based on these combined attributes, enabling context-aware authorization beyond static roles or identities.

Why this answer

Attribute-Based Access Control (ABAC) uses attributes and policies to grant access, offering fine-grained control.

10
MCQmedium

An organization wants to enable single sign-on (SSO) across multiple web applications using an XML-based protocol that supports browser redirect flows. Which technology is most appropriate?

A.Kerberos
B.OAuth 2.0
C.OpenID Connect (OIDC)
D.SAML 2.0
AnswerD

SAML 2.0 (Security Assertion Markup Language) is an XML-based standard for exchanging authentication and authorization data between an identity provider and a service provider. It is specifically designed to facilitate browser-based single sign-on (SSO) for web applications across different security domains, allowing users to authenticate once and gain access to multiple services without re-entering credentials. Its robust support for federated identity management makes it a cornerstone for enterprise SSO solutions.

Why this answer

SAML 2.0 is XML-based and uses browser redirects for SSO between IdP and SPs.

11
MCQeasy

Which authentication factor type is a smart card?

A.Somewhere you are
B.Type 2 (something you have)
C.Type 3 (something you are)
D.Type 1 (something you know)
AnswerB

A smart card is a quintessential example of a "something you have" authentication factor because it is a tangible, physical item that the user must possess and present for authentication. This factor relies on the physical control of an object, such as a cryptographic token, USB key, or in this case, a smart card. The card securely stores cryptographic keys or digital certificates, which are accessed only when the card is physically inserted into a compatible reader, thereby proving possession.

Why this answer

A smart card is a Type 2 authentication factor because it falls under the 'something you have' category. The card itself is a physical device that stores a digital certificate or cryptographic key, which the user must possess to authenticate. Unlike knowledge-based or biometric factors, possession of the smart card is the core authentication mechanism, often combined with a PIN (Type 1) for two-factor authentication.

Exam trap

The trap here is that candidates confuse 'something you have' (Type 2) with 'something you are' (Type 3) because smart cards are often used with biometric readers, but the card itself is a possession factor, not a biometric.

How to eliminate wrong answers

Option A is wrong because 'Somewhere you are' is not a standard authentication factor type in the CISSP framework; it is a location-based attribute, not a factor category. Option C is wrong because Type 3 (something you are) refers to biometric characteristics such as fingerprints or iris scans, not a physical token like a smart card. Option D is wrong because Type 1 (something you know) includes passwords, PINs, or passphrases, whereas a smart card is a tangible object, not knowledge.

12
MCQmedium

OpenID Connect (OIDC) extends OAuth 2.0 primarily by adding which capability?

A.Client credential management
B.Authorization delegation
C.Token introspection
D.User authentication
AnswerD

OpenID Connect (OIDC) primarily extends OAuth 2.0 by adding a standardized layer for user authentication. While OAuth 2.0 focuses solely on authorization, allowing a client to obtain delegated access to protected resources, OIDC introduces the concept of an ID Token. This ID Token, a JSON Web Token (JWT), provides verifiable claims about the authenticated user, enabling the client application to confirm the user's identity and retrieve basic profile information.

Why this answer

OpenID Connect (OIDC) is an identity layer built on top of OAuth 2.0 that primarily adds user authentication. While OAuth 2.0 provides authorization delegation (access tokens for resources), OIDC introduces an ID token (a JSON Web Token, JWT) that contains claims about the authenticated user, enabling the client to verify the user's identity. This is defined in the OIDC specification (OpenID Foundation) and is the key differentiator from plain OAuth 2.0.

Exam trap

The trap here is that candidates often confuse OAuth 2.0's authorization delegation (access tokens for resources) with OIDC's authentication (ID tokens for user identity), leading them to incorrectly select 'Authorization delegation' as the primary addition.

How to eliminate wrong answers

Option A is wrong because client credential management is a feature of OAuth 2.0 itself (e.g., client_id, client_secret, client credentials grant type), not something OIDC adds. Option B is wrong because authorization delegation is the core purpose of OAuth 2.0, not an extension provided by OIDC; OIDC adds authentication on top of that delegation. Option C is wrong because token introspection is an OAuth 2.0 extension (RFC 7662) for validating token status, not a feature introduced by OIDC; OIDC uses the UserInfo endpoint for identity claims.

13
MCQmedium

In an OAuth 2.0 authorization code flow with PKCE, what is the primary purpose of the code verifier and code challenge?

A.To encrypt the authorization code
B.To authenticate the end user
C.To ensure the client that requested the code is the same one redeeming it
D.To generate the ID token
AnswerC

This statement accurately describes the core purpose of PKCE. By requiring the client to generate a `code_verifier` and send a transformed `code_challenge` at the beginning of the flow, then present the original `code_verifier` when redeeming the authorization code, PKCE ensures that only the client that initiated the request can successfully exchange the code for tokens. This mechanism effectively prevents authorization code interception attacks, where a malicious application might steal the code and impersonate the legitimate client.

Why this answer

PKCE (Proof Key for Code Exchange) prevents authorization code interception attacks, especially for public clients like mobile apps.

14
MCQeasy

Which of the following is an example of a Type 2 authentication factor?

A.Security question
B.Password
C.Smart card
D.Fingerprint
AnswerC

A smart card is a physical device (something you have).

Why this answer

A Type 2 factor is something you have, such as a smart card or OTP token.

15
MCQmedium

A security administrator is configuring a system that requires users to provide a password and a one-time code from a hardware token. Which authentication method is being implemented?

A.Biometric authentication
B.Step-up authentication
C.Single-factor authentication
D.Multi-factor authentication
AnswerD

Multi-factor authentication (MFA) is the correct choice because it precisely describes an authentication system that requires a user to present two or more independent authentication factors from different categories to verify their identity. By combining distinct types, such as 'something you know' (e.g., a password) and 'something you have' (e.g., a token or smart card), MFA significantly enhances security. This approach ensures that even if one factor is compromised, unauthorized access is prevented due to the requirement for a second, different factor.

Why this answer

Using two different factor types (password and hardware token) constitutes multi-factor authentication (MFA).

16
MCQhard

An attacker has obtained a Kerberos TGT and uses it to request service tickets for any resource in the domain. Which type of attack is this?

A.Replay attack
B.Pass-the-ticket attack
C.Golden ticket attack
D.Kerberos cracking
AnswerB

A Pass-the-Ticket attack leverages a legitimately obtained Kerberos Ticket Granting Ticket (TGT) or its associated session key, which an attacker extracts from memory on a compromised host or user session. With this stolen TGT, the attacker can then request new Service Tickets (STs) from the Key Distribution Center (KDC) for various services, effectively authenticating as the original user without needing their plaintext password. This grants the attacker access to resources the compromised user is authorized to use.

Why this answer

A golden ticket attack involves forging a TGT, but pass-the-ticket uses a legitimate TGT obtained illegally.

17
MCQhard

During a Kerberos authentication process, the client receives a Ticket Granting Ticket (TGT) from the Authentication Server (AS). Later, the client presents the TGT to the Ticket Granting Server (TGS) to request a service ticket. Which of the following best describes the purpose of the TGT?

A.It verifies the client's IP address to prevent replay attacks.
B.It allows the client to request additional service tickets without re-authentication.
C.It encrypts the session key between the client and the target service.
D.It authenticates the user to the target service directly.
AnswerB

The Ticket Granting Ticket (TGT) is a crucial component that facilitates single sign-on within a Kerberos realm. Once a client successfully authenticates to the Authentication Service (AS) and receives a TGT, this ticket serves as proof of their identity to the Ticket Granting Service (TGS). This allows the client to subsequently request service tickets for various network services without needing to re-enter their password or re-authenticate to the KDC for each new service.

Why this answer

The TGT is a credential that proves the user has been authenticated by the AS and is allowed to request service tickets without re-entering credentials.

18
MCQhard

An organization discovers that a former employee's account is still active and has been used to access sensitive data. This is an example of which type of risk?

A.Orphaned account
B.Privilege escalation
C.Social engineering
D.Insider threat
AnswerA

An orphaned account is an active user account that no longer has an associated legitimate user, typically because the employee has left the organization but their account was not properly deprovisioned or disabled. This oversight creates a significant security vulnerability, as the account could be exploited by an attacker or the former employee themselves to gain unauthorized access to systems and data. The discovery of a former employee's active account directly indicates a failure in the organization's identity and access management offboarding process.

Why this answer

An orphaned account is one that remains active after an employee has left, posing a security risk.

19
Multi-Selectmedium

A security administrator is reviewing potential risks associated with orphaned accounts. Which TWO of the following are risks of orphaned accounts?

Select 2 answers
A.Compliance with password policies is weakened
B.Performance degradation of authentication servers
C.Increased logging overhead
D.Attackers can use orphaned accounts to gain unauthorized access
E.Former employees can still access systems
AnswersD, E

Attackers actively seek out orphaned accounts because they often represent overlooked security gaps. These accounts may retain elevated privileges, possess weak or default passwords that were never updated, or simply go unnoticed in routine security audits, making them prime targets for credential stuffing, brute-force attacks, or lateral movement once initial network access is achieved. Exploiting such accounts provides a persistent backdoor for unauthorized access and privilege escalation.

Why this answer

Orphaned accounts are active accounts of former employees or unused accounts, which can be exploited to gain unauthorized access or persist undetected.

20
MCQeasy

Which of the following is an example of a Type 1 authentication factor?

A.OTP token
B.Fingerprint
C.Password
D.Smart card
AnswerC

A password serves as a classic example of a Type 1 authentication factor, representing "something you know." This form of authentication relies on a secret piece of information, such as a string of characters, that only the legitimate user is supposed to possess and recall. Users must cognitively remember and accurately input this credential to prove their identity, making it a foundational element in most access control systems. Its security is directly dependent on its complexity and the user's ability to keep it confidential.

Why this answer

A Type 1 factor is something you know, such as a password, PIN, or security question.

21
MCQhard

An attacker who has compromised the Kerberos Key Distribution Center (KDC) could forge a Ticket Granting Ticket (TGT) to impersonate any user. This type of attack is known as:

A.Golden ticket attack
B.Silver ticket attack
C.Pass-the-ticket attack
D.Kerberos poisoning attack
AnswerA

A golden ticket attack leverages a compromised Kerberos Key Distribution Center (KDC) account's NTLM hash (specifically, the krbtgt account) to forge a valid Ticket Granting Ticket (TGT). This forged TGT grants the attacker unlimited, domain-wide administrative access to all resources within the Active Directory environment. The attacker can impersonate any user, including non-existent ones, and request service tickets for any service without further authentication from the legitimate KDC.

Why this answer

A golden ticket attack involves forging a TGT using the KRBTGT account hash, granting access to any resource in the domain.

22
MCQhard

In OAuth 2.0, which grant type is recommended for a native mobile application that cannot securely store a client secret, and uses PKCE?

A.Client Credentials grant
B.Implicit grant
C.Device Code grant
D.Authorization Code grant with PKCE
AnswerD

The Authorization Code grant with Proof Key for Code Exchange (PKCE) is the recommended and most secure flow for public clients like native mobile applications. PKCE mitigates the authorization code interception attack by requiring the client to generate a cryptographically random `code_verifier` and send its hash (`code_challenge`) during the initial authorization request. The same `code_verifier` must then be presented when exchanging the authorization code for an access token, ensuring only the legitimate client that initiated the request can complete the exchange, even if the code is intercepted.

Why this answer

The Authorization Code grant with PKCE is designed for public clients like mobile apps to prevent interception of the authorization code.

23
MCQmedium

In a Privileged Access Management (PAM) solution, which feature provides temporary elevation of privileges for specific tasks, reducing the risk of standing privileges?

A.Password vaulting
B.Just-in-time (JIT) access
C.Break-glass account
D.Session recording
AnswerB

Just-in-time (JIT) access is a critical security feature within a PAM solution that grants elevated privileges only when needed and for a strictly limited duration. This approach minimizes the attack surface by eliminating standing privileges, ensuring that users possess administrative rights solely for the specific task and time required. Once the task is completed or the predefined time expires, the privileges are automatically revoked, significantly reducing the window of opportunity for credential misuse or compromise.

Why this answer

Just-in-time (JIT) access grants privileges only when needed, reducing the attack surface from permanent privileged accounts.

24
Multi-Selectmedium

Which TWO of the following are characteristics of a Privileged Access Management (PAM) solution? (Choose two.)

Select 2 answers
A.Self-service password reset
B.Session recording
C.Single sign-on for all users
D.Password vaulting
E.OpenID Connect authentication
AnswersB, D

Session recording is a critical characteristic of Privileged Access Management (PAM) systems, capturing video-like records of all activities performed by privileged users during their elevated sessions. This capability provides an immutable audit trail, enabling forensic analysis, compliance reporting, and real-time monitoring of sensitive operations. By documenting every command and action, organizations can ensure accountability and detect unauthorized or suspicious behavior associated with high-risk accounts.

Why this answer

PAM includes password vaulting and session recording; just-in-time access is also a characteristic, but note: the question asks for TWO, so select the correct two.

25
Multi-Selecthard

An organization is implementing a Privileged Access Management (PAM) solution. Which THREE of the following are common features of PAM? (Select THREE.)

Select 3 answers
A.Single sign-on
B.Password vaulting
C.Session recording
D.Just-in-time access
E.Role-based access control
AnswersB, C, D

Password vaulting is a fundamental PAM capability that centralizes the secure storage of privileged account credentials, such as administrator passwords and SSH keys, in an encrypted and isolated repository. It enforces strong password policies, automates credential rotation at defined intervals, and manages the secure retrieval and injection of these credentials into target systems, eliminating direct user knowledge of the actual passwords. This significantly reduces the risk of credential theft and misuse.

Why this answer

PAM typically includes password vaulting, session recording, and just-in-time access. Break-glass accounts are also a feature, but the question asks for three of the most common.

26
Multi-Selectmedium

Which THREE of the following are components of a Privileged Access Management (PAM) solution?

Select 3 answers
A.User self-service password reset
B.Single sign-on for web applications
C.Session recording
D.Just-in-time access
E.Password vaulting
AnswersC, D, E

Session recording is a critical component of Privileged Access Management (PAM) that captures and archives all activities performed during a privileged session. This includes keystrokes, mouse movements, and screen content, providing an immutable audit trail. Such recordings are invaluable for forensic analysis, compliance auditing, and identifying unauthorized or suspicious actions by privileged users, enhancing accountability and security posture.

Why this answer

PAM typically includes password vaulting (secure credential storage), session recording (monitoring privileged sessions), and just-in-time access (elevated privileges on demand).

27
MCQmedium

In Kerberos, which component issues ticket-granting tickets (TGTs) after verifying the user's credentials?

A.Authentication Server (AS)
B.Domain Controller
C.Ticket Granting Server (TGS)
D.Key Distribution Center (KDC)
AnswerA

The Authentication Server (AS) is the initial point of contact for a Kerberos client seeking authentication within a realm. It is responsible for verifying the user's identity, typically by validating a password or other credentials against its secure database. Upon successful authentication, the AS issues a Ticket Granting Ticket (TGT) to the client, which is encrypted with the Ticket Granting Server's (TGS) secret key, allowing the client to request subsequent service tickets without re-transmitting its password.

Why this answer

The Authentication Server (AS) is responsible for issuing TGTs after verifying the user's password or other credentials.

28
MCQeasy

Which of the following is an example of a Type 2 authentication factor?

A.Smart card
B.PIN
C.Password
D.Fingerprint
AnswerA

A smart card represents 'something you have' (Type 2) because it is a physical token that must be possessed by the user to grant access. These cards typically contain an embedded microchip capable of performing cryptographic operations, such as storing digital certificates or generating one-time passwords. Its security relies on the physical control of the device, making it a robust authentication factor, often combined with a PIN for multi-factor authentication.

Why this answer

A smart card is a Type 2 authentication factor because it falls under the category of 'something you have.' Type 2 factors are possession-based, meaning the user must physically possess the token to authenticate. Smart cards store cryptographic keys or certificates and require a card reader to present the credential, making them a classic example of a possession factor.

Exam trap

The trap here is that candidates often confuse a smart card with a PIN or password because both are used together in practice, but the question specifically asks for the factor type of the smart card itself, not the combined authentication method.

How to eliminate wrong answers

Option B is wrong because a PIN (Personal Identification Number) is a Type 1 factor ('something you know'), not a Type 2 factor; it relies on knowledge rather than possession. Option C is wrong because a password is also a Type 1 factor, based on secret knowledge, not on a physical object. Option D is wrong because a fingerprint is a Type 3 factor ('something you are'), using biometric characteristics, not a possession-based factor.

29
MCQmedium

A security architect is designing an authentication system for a healthcare application that requires strong security. The system will use a password and a one-time passcode sent via SMS. How many authentication factor types are being used?

A.Three
B.Four
C.One
D.Two
AnswerD

This option is correct because the authentication system leverages two distinct types of factors to verify a user's identity. The password serves as the 'something you know' factor, requiring the user to recall a secret piece of information. The SMS One-Time Password (OTP), delivered to a registered mobile device, functions as the 'something you have' factor, relying on the user's possession of that specific device. This combination of two different factor categories precisely defines two-factor authentication (2FA).

Why this answer

Password is Type 1 (something you know), SMS OTP is Type 2 (something you have, as the phone is possessed). Only two factor types are used.

30
MCQhard

Which access control model allows the owner of a resource to determine who can access it and what permissions they have?

A.Discretionary Access Control (DAC)
B.Role-Based Access Control (RBAC)
C.Mandatory Access Control (MAC)
D.Attribute-Based Access Control (ABAC)
AnswerA

DAC allows the owner to grant or deny access.

Why this answer

Discretionary Access Control (DAC) allows the resource owner to control access at their discretion.

31
MCQmedium

In Kerberos authentication, what is the purpose of the Ticket Granting Ticket (TGT)?

A.To prove the user's identity to the Ticket Granting Service (TGS)
B.To store the user's password hash
C.To encrypt all communication between client and server
D.To authenticate the user to the resource server directly
AnswerA

The Ticket Granting Ticket (TGT) serves as a crucial credential, issued by the Authentication Server (AS), that the client presents to the Ticket Granting Service (TGS). It contains the user's identity and a session key, encrypted with the TGS's secret key, proving the user has been successfully authenticated by the AS. This allows the TGS to trust the client's request for service tickets without requiring re-authentication to the AS for each new service.

Why this answer

The TGT is obtained from the AS and used to request service tickets from the TGS without re-entering credentials.

32
MCQmedium

An LDAP distinguished name (DN) includes the attribute 'CN=John Doe,OU=Sales,DC=company,DC=com'. What does 'CN' stand for?

A.Country Name
B.Common Name
C.Certificate Name
D.Container Name
AnswerB

'CN' stands for Common Name, which is a fundamental attribute type used in LDAP Distinguished Names (DNs) to identify the most specific or common name of an entry within its immediate parent container. This attribute is widely employed for various object classes, such as users (e.g., "cn=John Doe"), groups, servers, or other resources, providing a human-readable identifier for the directory object. It forms a crucial part of the Relative Distinguished Name (RDN) for many entries.

Why this answer

CN stands for Common Name, which typically represents the user's name or the hostname of a device.

33
Multi-Selecthard

Which TWO of the following are differences between OAuth 2.0 and OpenID Connect (OIDC)?

Select 2 answers
A.OAuth 2.0 supports device code grant, OIDC does not
B.OAuth 2.0 is for authorization, while OIDC is for authentication
C.OIDC is XML-based, while OAuth 2.0 is JSON-based
D.OIDC uses JSON Web Tokens (JWT) for ID tokens, while OAuth 2.0 does not define a token format
E.OAuth 2.0 requires a client secret, OIDC does not
AnswersB, D

This statement is correct and highlights a fundamental distinction. OAuth 2.0 is an authorization framework, primarily concerned with granting delegated access to protected resources without sharing user credentials. Conversely, OpenID Connect (OIDC) is an authentication protocol built on OAuth 2.0, specifically designed to verify the identity of an end-user and obtain basic profile information, issuing an ID Token for this purpose.

Why this answer

OAuth 2.0 is fundamentally an authorization framework (RFC 6749) that grants delegated access to resources, while OpenID Connect (OIDC) is an authentication layer built on top of OAuth 2.0 (specified in OpenID Connect Core 1.0) that verifies the end-user's identity. OIDC extends OAuth 2.0 by adding an ID token (a JWT) that contains claims about the authenticated user, whereas OAuth 2.0 alone does not provide identity information.

Exam trap

The CISSP exam often tests the misconception that OAuth 2.0 is for authentication and OIDC is for authorization, or that they are interchangeable, when in fact OAuth 2.0 is strictly authorization and OIDC is authentication built on top of it.

34
MCQmedium

An organization implements Single Sign-On (SSO) using SAML 2.0. A user attempts to access a cloud application (Service Provider) but is not authenticated. The Service Provider redirects the user to the Identity Provider (IdP) for authentication. Which type of SAML flow is this?

A.AuthN-initiated SSO
B.SP-initiated SSO
C.Assertion-initiated SSO
D.IdP-initiated SSO
AnswerB

SP-initiated SSO occurs when a user attempts to access a protected resource directly from a Service Provider (SP). The SP detects the unauthenticated request, generates a SAML authentication request, and redirects the user's browser to the Identity Provider (IdP) along with this request. After the IdP authenticates the user, it creates a SAML assertion and redirects the user's browser back to the SP, allowing the user to access the requested resource without re-authenticating directly to the SP.

Why this answer

In SP-initiated SSO, the user first tries to access the SP, which then redirects to the IdP.

35
MCQhard

An organization wants to implement single sign-on across multiple web applications using an XML-based protocol that supports identity provider (IdP) and service provider (SP) initiated flows. Which technology should they choose?

A.OpenID Connect
B.OAuth 2.0
C.SAML 2.0
D.Kerberos
AnswerC

SAML 2.0 (Security Assertion Markup Language) is an XML-based standard specifically designed for exchanging authentication and authorization data between an identity provider (IdP) and a service provider (SP). It is widely adopted for enterprise single sign-on (SSO) scenarios, enabling users to authenticate once with an IdP and gain seamless access to multiple SPs without re-entering credentials. Its robust support for both IdP-initiated and SP-initiated flows makes it a strong choice for cross-domain SSO implementations.

Why this answer

SAML 2.0 is an XML-based protocol for SSO that supports both IdP and SP initiated flows and uses assertions.

36
MCQeasy

Which protocol is specifically designed for authorization and not authentication, often using grant types like authorization code and client credentials?

A.SAML 2.0
B.OpenID Connect
C.Kerberos
D.OAuth 2.0
AnswerD

OAuth 2.0 is an authorization framework specifically designed to enable a third-party application to obtain limited access to an HTTP service on behalf of a resource owner. It orchestrates an approval interaction where the user grants specific permissions to the application without ever sharing their credentials with it. This protocol's core purpose is the secure delegation of authority for accessing protected resources, making it an authorization framework rather than an authentication protocol for the end-user.

Why this answer

OAuth 2.0 is an authorization framework that provides delegated access; it does not authenticate the user.

37
MCQmedium

In Kerberos authentication, which component issues a Ticket Granting Ticket (TGT) after verifying the user's credentials?

A.Domain Controller
B.Ticket Granting Server (TGS)
C.Key Distribution Center (KDC)
D.Authentication Server (AS)
AnswerD

The Authentication Server (AS) is the precise Kerberos component responsible for the initial authentication of a user or service principal. Upon successful authentication, typically involving a shared secret (like a password hash), the AS issues a Ticket Granting Ticket (TGT) to the client. This TGT is then used by the client to request service tickets from the Ticket Granting Server (TGS) without needing to re-authenticate with the AS, streamlining subsequent access.

Why this answer

The Authentication Server (AS) verifies the user's credentials and issues a TGT, which the user can then use to request service tickets from the TGS.

38
MCQeasy

In LDAP, what does the Distinguished Name (DN) uniquely identify?

A.An entry in the directory
B.The root of the directory
C.The schema of the directory
D.A group within the directory
AnswerA

The Distinguished Name (DN) serves as the unique identifier for every individual entry within an LDAP directory. It specifies the exact, unambiguous path from the root of the Directory Information Tree (DIT) down to that specific entry, composed of a sequence of Relative Distinguished Names (RDNs). This hierarchical naming ensures that no two entries can share the same DN, guaranteeing absolute uniqueness across the entire directory and enabling precise referencing for all operations.

Why this answer

The DN is the unique identifier for an entry in the LDAP directory, consisting of a sequence of Relative Distinguished Names (RDNs).

39
MCQeasy

Which principle ensures that a user is granted only the permissions necessary to perform their job functions?

A.Need-to-know
B.Least privilege
C.Separation of duties
D.Zero standing privileges
AnswerB

The principle of least privilege mandates that users, programs, or processes are granted only the absolute minimum set of permissions or access rights required to perform their legitimate tasks and nothing more. This fundamental security practice minimizes the attack surface by reducing the potential damage from accidental errors, insider threats, or successful external attacks, as compromised accounts have severely limited capabilities. It directly ensures a user is granted only the necessary permissions.

Why this answer

The principle of least privilege states that users should have the minimum level of access required.

40
MCQmedium

An organization requires users to authenticate with a password and a one-time code sent to their mobile phone. This is an example of which authentication method?

A.Two-step verification
B.Single-factor authentication
C.Step-up authentication
D.Multi-factor authentication
AnswerD

Multi-factor authentication (MFA) is the correct choice because it mandates the use of two or more distinct authentication factor types to verify a user's identity. These factors typically include "something you know" (e.g., password), "something you have" (e.g., token, phone), and "something you are" (e.g., fingerprint). By combining different categories, MFA significantly enhances security, making it exponentially harder for unauthorized individuals to gain access even if one factor is compromised.

Why this answer

Using two different types of factors (password - Type 1, OTP - Type 2) constitutes multi-factor authentication.

41
MCQhard

A security analyst discovers that an attacker has gained domain admin privileges by forging a Kerberos TGT using the KRBTGT account hash. Which attack has occurred?

A.Golden ticket attack
B.Pass-the-ticket attack
C.Silver ticket attack
D.Kerberos brute force attack
AnswerA

Forging TGT with KRBTGT hash is a Golden Ticket attack.

Why this answer

A Golden Ticket attack involves forging a TGT with the KRBTGT hash, granting unrestricted access.

42
MCQhard

An organization implements Privileged Access Management (PAM) and wants to reduce the risk of standing privileges. Which approach grants temporary elevated access only when needed?

A.Session recording
B.Password vaulting
C.Break-glass accounts
D.Just-in-time access
AnswerD

Just-in-time (JIT) access is a core principle of modern Privileged Access Management that grants elevated privileges to users only when they are needed, for the specific task at hand, and for a strictly limited duration. This approach significantly reduces the attack surface by minimizing the time privileged accounts exist with standing access. Once the task is completed or the time limit expires, the elevated privileges are automatically revoked, aligning perfectly with the goal of managing privilege duration.

Why this answer

Just-in-time (JIT) access provides time-limited privileges that are granted on demand, reducing the attack surface.

43
MCQeasy

Which of the following is a lightweight directory access protocol used for accessing and maintaining distributed directory information?

A.OAuth
B.LDAP
C.Kerberos
D.SAML
AnswerB

LDAP (Lightweight Directory Access Protocol) is an open, vendor-neutral, industry-standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network. It provides a standardized method for clients to query and update information in a directory, such as user accounts, groups, and network resources. Its "lightweight" designation refers to its streamlined design compared to its predecessor, X.500 DAP, making it efficient for common directory operations.

Why this answer

LDAP (Lightweight Directory Access Protocol) is used for directory services.

44
MCQmedium

A financial application requires two employees to authorize a wire transfer. Which principle does this implement?

A.Least privilege
B.Separation of duties
C.Need-to-know
D.Zero standing privileges
AnswerB

Separation of duties (SoD) is an administrative control designed to prevent fraud, error, and abuse by distributing critical functions and responsibilities among multiple individuals. This ensures that no single person has complete control over an entire sensitive process, requiring collusion to compromise it. The scenario, demanding two employees to authorize a financial transaction, is a direct and classic implementation of SoD, as it mandates shared responsibility for a high-risk action.

Why this answer

Separation of duties (SoD) is the principle that requires two or more individuals to complete a sensitive transaction, such as a wire transfer, to prevent fraud or error. By mandating two employees to authorize the transfer, the application ensures no single person has unchecked control over the entire process, enforcing a dual-control mechanism. This directly implements the SoD principle, which is a core access control concept in identity and access management.

Exam trap

The trap here is that candidates confuse separation of duties with least privilege, thinking that limiting permissions alone achieves the same goal, but least privilege does not prevent a single user from performing all steps of a critical process.

How to eliminate wrong answers

Option A is wrong because least privilege grants users only the minimum permissions needed to perform their job, but it does not require multiple people to authorize a single action; that is a separate control. Option C is wrong because need-to-know restricts access to information based on necessity for a specific task, not the collaborative authorization of a transaction. Option D is wrong because zero standing privileges (ZSP) removes persistent access rights and grants them just-in-time, but it does not inherently enforce dual authorization for a single operation.

45
Multi-Selectmedium

A security architect is designing a Single Sign-On (SSO) solution for a web application that needs to support authentication and authorization. Which TWO of the following protocols are best suited for this purpose? (Select TWO)

Select 2 answers
A.Kerberos
B.LDAP
C.OpenID Connect (OIDC)
D.SAML 2.0
E.OAuth 2.0
AnswersC, D

OIDC adds authentication to OAuth 2.0.

Why this answer

SAML 2.0 and OpenID Connect (OIDC) are both SSO protocols that provide authentication and authorization. OAuth 2.0 alone provides only authorization.

46
Multi-Selecthard

An organization is implementing OpenID Connect (OIDC) for authentication. Which THREE of the following are components of OIDC? (Choose three.)

Select 3 answers
A.Authorization code flow
B.Kerberos ticket granting ticket
C.UserInfo endpoint
D.SAML assertion
E.ID token
AnswersA, C, E

The Authorization Code flow is the most secure and widely recommended OAuth 2.0 flow for confidential clients, such as web applications, within OpenID Connect. It involves the client redirecting the user's browser to the authorization server, receiving a temporary authorization code, and then exchanging this code directly with the authorization server's token endpoint for ID and access tokens. This method prevents sensitive tokens from being exposed in the user's browser or URL, enhancing security significantly.

Why this answer

OIDC uses ID token, UserInfo endpoint, and OAuth 2.0 authorization framework.

47
MCQmedium

An employee leaves the company, and their user account is not disabled. This creates a security risk known as:

A.Orphaned account
B.Insider threat
C.Privilege creep
D.Separation of duties violation
AnswerA

When an employee departs an organization and their associated user account remains active in the identity provider or directory services without an assigned owner, it is classified as an orphaned account. These accounts pose significant security risks as they lack accountability and are prime targets for unauthorized access or exploitation.

Why this answer

An orphaned account is a user account that remains active in the identity management system after the employee has left the organization. This creates a security risk because the account can be exploited by attackers or former employees to gain unauthorized access to systems, data, or network resources, bypassing access controls that rely on account deactivation.

Exam trap

The trap here is that candidates may confuse 'orphaned account' with 'insider threat' because both involve a former employee, but the question specifically asks for the name of the security risk created by the account itself, not the general threat category.

How to eliminate wrong answers

Option B is wrong because an insider threat is a broader category of risk posed by individuals within the organization (current or former) who misuse their access, but the specific risk of an account not being disabled after departure is defined as an orphaned account. Option C is wrong because privilege creep refers to the gradual accumulation of excessive permissions over time for a user who remains employed, not to an account left active after termination. Option D is wrong because a separation of duties violation occurs when a single user is allowed to perform conflicting tasks (e.g., both creating and approving a purchase order), which is unrelated to the failure to disable a departed user's account.

48
MCQmedium

Which OAuth 2.0 grant type is recommended for a public client (e.g., single-page application) that cannot securely store a client secret?

A.Resource owner password credentials grant
B.Authorization code grant with PKCE
C.Implicit grant
D.Client credentials grant
AnswerB

The Authorization Code Grant with Proof Key for Code Exchange (PKCE) is the recommended flow for public clients, such as mobile and single-page applications. PKCE mitigates the authorization code interception attack by requiring the client to generate a cryptographically random `code_verifier` and a `code_challenge` derived from it. This ensures that only the legitimate client that initiated the authorization request can exchange the authorization code for an access token, even if the code is intercepted.

Why this answer

The authorization code grant with PKCE (Proof Key for Code Exchange) is designed for public clients to prevent interception of the authorization code.

49
MCQhard

An organization is implementing identity management and wants to ensure that when an employee leaves, all access is promptly revoked. Which process is most directly responsible for removing accounts and access rights for a leaver?

A.Privileged access management
B.Access recertification
C.Deprovisioning
D.Separation of duties
AnswerC

Deprovisioning is the critical phase within the identity and access management (IAM) lifecycle that systematically revokes all access rights and disables or deletes user accounts when an individual's relationship with the organization ends or their role changes significantly. This process ensures that former employees or contractors can no longer access corporate resources, mitigating the risk of unauthorized access and data breaches. Effective deprovisioning involves removing access across all connected systems, applications, and physical access controls in a timely and comprehensive manner.

Why this answer

Deprovisioning is the process of removing user accounts and access rights when an employee leaves the organization. It directly addresses the requirement to promptly revoke all access, ensuring that the former employee cannot authenticate or authorize any actions within the system. This process typically involves disabling or deleting the user object in the directory service (e.g., Active Directory) and removing associated permissions from all resources.

Exam trap

The trap here is that candidates may confuse 'Access Recertification' (a periodic review) with the immediate revocation action required for a leaver, or think 'Privileged Access Management' covers all account removal, when it only addresses high-privilege accounts.

How to eliminate wrong answers

Option A is wrong because Privileged Access Management (PAM) focuses on controlling and monitoring access for privileged accounts (e.g., administrators), not on the general removal of all accounts for a leaver. Option B is wrong because Access Recertification is a periodic review process to validate that existing access rights are still appropriate, not an immediate action to remove access upon termination. Option D is wrong because Separation of Duties is a control principle that prevents conflicts of interest by dividing critical tasks among multiple people, not a process for revoking accounts.

50
Multi-Selectmedium

In the context of identity management, which TWO of the following are risks associated with orphaned accounts? (Choose two.)

Select 2 answers
A.Compliance violations
B.Reduced system performance
C.Unauthorized access by former employees
D.Enhanced audit logging
E.Increased help desk calls
AnswersA, C

Regulatory frameworks such as HIPAA, PCI-DSS, and SOX mandate strict access control policies, including the prompt deprovisioning of inactive or terminated user accounts. Failing to identify and disable these orphaned accounts directly violates compliance requirements, potentially resulting in severe financial penalties, failed audits, and legal liabilities for the organization.

Why this answer

Orphaned accounts can be used by former employees or attackers, and may violate compliance.

51
MCQhard

An organization wants to provide just-in-time administrative access to servers, with session recording and password vaulting. Which solution is best suited?

A.Privileged Access Management (PAM)
B.Identity as a Service (IDaaS)
C.Single Sign-On (SSO)
D.Role-Based Access Control (RBAC)
AnswerA

Privileged Access Management (PAM) solutions are specifically engineered to secure, manage, and monitor highly sensitive administrative accounts and access to critical systems. They enforce just-in-time (JIT) access, granting elevated permissions only when an administrator needs them for a specific task and for a limited duration, thereby significantly minimizing the attack surface. PAM also typically includes essential features like session recording, password vaulting, and comprehensive audit trails, which are crucial for compliance and incident response related to high-risk administrative operations.

Why this answer

Privileged Access Management (PAM) provides just-in-time access, session recording, password vaulting, and break-glass accounts.

52
MCQeasy

Which of the following is a process that ensures users periodically confirm they still need access to systems and data?

A.Deprovisioning
B.Separation of duties
C.Recertification
D.Provisioning
AnswerC

Recertification is the essential periodic process of formally reviewing and validating that users' current access rights and privileges remain appropriate and necessary for their assigned job functions. This proactive measure ensures adherence to the principle of least privilege over time, identifying and remediating instances of 'privilege creep' where users accumulate excessive permissions. It significantly reduces the organization's attack surface by eliminating unnecessary access.

Why this answer

Access recertification (or access review) requires users or managers to verify the continued need for access rights.

53
MCQmedium

In LDAP, which attribute uniquely identifies an entry within the directory information tree?

A.Distinguished Name (DN)
B.Relative Distinguished Name (RDN)
C.Organizational Unit (OU)
D.Common Name (CN)
AnswerA

The Distinguished Name (DN) serves as the absolute and unambiguous identifier for every entry within an LDAP directory. It is a sequence of Relative Distinguished Names (RDNs) that traces a unique path from the root of the directory information tree (DIT) down to the specific entry. This hierarchical structure ensures that no two entries can possess the exact same DN, guaranteeing global uniqueness across the entire LDAP directory service.

Why this answer

The Distinguished Name (DN) uniquely identifies each entry in the LDAP directory tree.

54
MCQmedium

A financial institution requires that no single employee can approve a transaction and also reconcile the account. This is an example of which security principle?

A.Separation of duties
B.Least privilege
C.Defense in depth
D.Need to know
AnswerA

Separation of duties is a control designed to prevent fraud, error, and abuse by ensuring that no single individual has complete control over a critical process from start to finish. It mandates that different individuals perform distinct parts of a sensitive task, such as authorizing, recording, and reconciling transactions. This structure prevents a single employee from both initiating and approving a financial transaction, thereby mitigating the risk of unauthorized actions.

Why this answer

Separation of duties (SoD) is the security principle that prevents a single individual from having conflicting responsibilities, such as both approving a transaction and reconciling the account. This reduces the risk of fraud or error by requiring collusion between two or more people to subvert a process. In a financial system, SoD is enforced through access control mechanisms that assign distinct roles (e.g., 'Transaction Approver' and 'Account Reconciler') with mutually exclusive permissions, often implemented via Role-Based Access Control (RBAC) or attribute-based policies.

Exam trap

The trap here is that candidates confuse 'separation of duties' with 'least privilege' because both involve limiting access, but separation of duties specifically addresses conflicting tasks to prevent fraud, not just minimizing permissions.

How to eliminate wrong answers

Option B (Least privilege) is wrong because it focuses on granting only the minimum permissions necessary to perform a job function, not on preventing conflicts of interest or fraud through role separation. Option C (Defense in depth) is wrong because it describes a layered security strategy using multiple controls (e.g., firewalls, IDS, encryption), not a principle that divides critical tasks among different individuals. Option D (Need to know) is wrong because it restricts access to data based on whether it is required for a specific task, but does not address the segregation of conflicting duties like approval and reconciliation.

55
MCQmedium

A security analyst is reviewing access rights and discovers an active account belonging to a former employee who left six months ago. This is an example of:

A.Orphaned account
B.Separation of duties violation
C.Account lockout
D.Privilege escalation
AnswerA

An orphaned account is a user or service account that no longer has an active, accountable owner or associated employee, often due to an employee's departure without proper deprovisioning. When a security analyst discovers such an account during an access rights review, it represents a significant security vulnerability as it could be exploited without detection or used to maintain unauthorized access. These accounts pose a risk because they lack oversight and may retain elevated privileges, making them prime targets for malicious actors. Identifying them is a critical part of regular access reviews and identity lifecycle management.

Why this answer

An orphaned account is one that remains active after the user has left the organization, posing a security risk.

Ready to test yourself?

Try a timed practice session using only Identity and Access Management questions.