All exams← All CompTIA Security+ Practice notes

Identity & access management: CompTIA Security+ Practice revision notes

Revision notes

What IAM covers

Identity & Access Management (IAM) is about proving who someone is (authentication) and then controlling what they can do (authorisation). Security+ tests both the theory and the specific technologies.

Authentication factors

There are three classic factors: something you know (password, PIN), something you have (smart card, token, phone), and something you are (biometrics - fingerprint, iris, face). A fourth, less tested factor is somewhere you are (geolocation). Multifactor authentication (MFA) means combining factors from at least two different categories - two passwords is NOT MFA, it is just two knowledge factors.

Authentication protocols and standards

  • Kerberos uses tickets and a Key Distribution Centre (KDC); tickets typically expire (commonly 10 hours by default in Windows AD), preventing indefinite reuse.
  • LDAP (port 389, or 636 for LDAPS) is the standard for querying directory services like Active Directory.
  • RADIUS (UDP 1812/1813) and TACACS+ (TCP 49) are AAA protocols for network device and remote access authentication. TACACS+ encrypts the whole packet; RADIUS only encrypts the password.
  • SAML, OAuth 2.0 and OpenID Connect (OIDC) enable federation and single sign-on (SSO) across organisations. SAML uses XML assertions; OAuth issues access tokens; OIDC adds an identity layer on top of OAuth.

Access control models

  • DAC (Discretionary): the resource owner decides who gets access.
  • MAC (Mandatory): access set centrally by security labels/clearance (used in military/government).
  • RBAC (Role-Based): access tied to job role, not the individual.
  • ABAC (Attribute-Based): access decided dynamically from attributes (time, location, device).
  • Rule-Based access control uses if-then rules (e.g. firewall ACLs).

Key principles

  • Least privilege: give users only the access they need to do their job, nothing more.
  • Need to know: even with clearance, only see information relevant to the task.
  • Separation of duties: split critical tasks between two or more people to stop fraud.
  • Just-in-time (JIT) access and privileged access management (PAM) grant elevated rights temporarily, then revoke them.

Common mistakes to avoid

  • Confusing authentication (who you are) with authorisation (what you can do) - a classic exam trap.
  • Forgetting that federation and SSO reduce password fatigue but create a single point of failure if the identity provider is compromised.
  • Assuming biometrics are foolproof - they can be spoofed and cannot be 'reset' like a password if stolen.
  • Not rotating or expiring service account credentials, a top real-world breach cause.

Key facts

Flashcards

What are the three classic authentication factors?
Something you know, something you have, something you are (knowledge, possession, inherence).
tap to reveal
Does using two passwords count as MFA?
No - both factors are 'something you know', so it is not multifactor, just two knowledge checks.
tap to reveal
What port does LDAP use unencrypted, and what does LDAPS use?
LDAP uses port 389; LDAPS (encrypted) uses port 636.
tap to reveal
What is the default maximum Kerberos ticket lifetime in Windows Active Directory?
10 hours by default.
tap to reveal
What ports does RADIUS use and what does it encrypt?
UDP 1812 (auth) and 1813 (accounting); it only encrypts the password, not the whole packet.
tap to reveal
How does TACACS+ differ from RADIUS in encryption?
TACACS+ (TCP port 49) encrypts the entire packet, whereas RADIUS only encrypts the password.
tap to reveal
What is the difference between SAML and OAuth 2.0?
SAML uses XML assertions for SSO authentication; OAuth 2.0 issues tokens for delegated authorisation (not primarily identity).
tap to reveal
What does OpenID Connect (OIDC) add to OAuth 2.0?
An identity/authentication layer, allowing verification of who the user is, not just authorisation.
tap to reveal
Define authentication vs authorisation.
Authentication proves who you are; authorisation determines what you are allowed to do once identified.
tap to reveal
What is Role-Based Access Control (RBAC)?
Access permissions are assigned based on a user's job role rather than to the individual directly.
tap to reveal
What is Attribute-Based Access Control (ABAC)?
Access decisions are made dynamically using attributes like time, location, or device posture.
tap to reveal
What is the principle of least privilege?
Users should be granted only the minimum access necessary to perform their job function.
tap to reveal
What is separation of duties?
Splitting a sensitive task between two or more people so no single individual can complete fraud alone.
tap to reveal
What is just-in-time (JIT) access?
Temporary elevated privileges granted for a task that automatically expire afterward, part of PAM.
tap to reveal
What is the main risk of federated SSO?
The identity provider becomes a single point of failure - if compromised, all federated services are exposed.
tap to reveal
Practice questions

Identity & access management: 5 practice questions

Q1. Which authentication factor category does a hardware token that generates a one-time code belong to?
  • A.  Something you are
  • B.  Something you have
  • C.  Somewhere you are
  • D.  Something you know
Show answer & explanation
✓ Answer: B. Something you have
A hardware token is a physical device the user possesses, so it falls under 'something you have'. Passwords fall under 'something you know', and biometrics fall under 'something you are'. Confusing token possession with knowledge factors is a common exam trap.
Q2. An organisation wants to ensure that no single employee can both create a new vendor and approve payment to that vendor. Which security principle does this enforce?
  • A.  Least privilege
  • B.  Mandatory vacation
  • C.  Job rotation
  • D.  Separation of duties
Show answer & explanation
✓ Answer: D. Separation of duties
Separation of duties splits critical tasks between multiple people to prevent fraud or error by a single individual. Least privilege limits an individual's access, but does not specifically address splitting a process across roles. Mandatory vacation and job rotation are detective controls, not preventive task-splitting controls.
Q3. Which access control model assigns permissions based on job function rather than individual user identity?
  • A.  Role-based access control
  • B.  Discretionary access control
  • C.  Rule-based access control
  • D.  Mandatory access control
Show answer & explanation
✓ Answer: A. Role-based access control
Role-based access control (RBAC) groups permissions by role or job function, simplifying administration when users change positions. Discretionary access control lets resource owners assign permissions individually, and mandatory access control uses fixed security labels set by a central authority. Rule-based control applies conditional rules rather than job roles.
Q4. A security administrator wants to ensure files are only accessible to users whose clearance level meets or exceeds the file's classification. Which access control model best fits this requirement?
  • A.  Role-based access control
  • B.  Attribute-based access control
  • C.  Mandatory access control
  • D.  Discretionary access control
Show answer & explanation
✓ Answer: C. Mandatory access control
Mandatory access control (MAC) enforces access based on fixed classification labels and clearance levels, common in government and military systems. Discretionary access control instead lets the data owner decide who gets access. Role-based control uses job function, not clearance levels, as the basis for access.
Q5. Which term describes the process of proving that a user is who they claim to be?
  • A.  Identification
  • B.  Accounting
  • C.  Authentication
  • D.  Authorization
Show answer & explanation
✓ Answer: C. Authentication
Authentication verifies a claimed identity, typically through a password, token, or biometric. Authorization determines what an authenticated user is permitted to do, and accounting logs the actions taken. Identification is merely the act of asserting an identity, before it is verified.
Test yourself
See the CompTIA Security+ Practice page

More CompTIA Security+ Practice topics