Cloud Identity and Access: Entra ID, IAM and RBAC Interview Questions
261 multiple-choice tech interview questions on Identity and Access Management in the Cloud: authentication vs authorization, RBAC and ABAC, Entra and Azure RBAC, AWS IAM, Google Cloud IAM, workload identities, privileged access, lifecycle, and identity incident response. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 241 key terms with the flashcards first, then test yourself.
Take the practice test · Flashcards · All study tools
What it covers
- 11.1 Identity fundamentals for the cloud
- 11.2 Access control models and least privilege
- 11.3 Azure RBAC and Microsoft Entra ID
- 11.4 AWS IAM policies and roles
- 11.5 Google Cloud IAM and cross-cloud comparisons
- 11.6 Workload identities and secretless access
- 11.7 Privileged access and governance
- 11.8 Identity lifecycle, directories and provisioning
- 11.9 Monitoring, threats and incident response for identity
Key terms
11.1 Identity fundamentals for the cloud
- Authentication
- Verifying who a user or workload is
- Authorization
- Deciding what an authenticated identity may do
- Least privilege
- Granting only the minimum permissions needed
- MFA
- Multifactor authentication: requiring two or more kinds of evidence
- Principal
- Any identity that can be authenticated and granted permissions
- Non-human identity
- Identities for apps, pipelines and services rather than people
- Identity provider
- A system that authenticates users and issues identity assertions
- Short-lived credentials
- Credentials that expire quickly and are issued on demand
- Request authorization
- IAM evaluating each authenticated API request
- Authorization context
- Who, what action, on which resource, under what conditions
- Implicit deny
- Denying any request not explicitly allowed
- Fine-grained permission
- A single, narrow action a principal may perform
- Control vs data plane
- Managing resources versus accessing their contents
- Shared accounts
- One login used by several people
- Central IdP
- A single workforce identity source for every cloud
- Session duration
- How long a signed-in session stays valid
- CIAM
- Customer identity and access management for public users
- AAL
- NIST levels of authentication strength
- Federated access
- Using an external IdP instead of per-account users
- Device compliance
- Using a device's managed, patched state as an access signal
- Risk-based access
- Adapting sign-in requirements to detected risk
- Need to know
- Access to information only when a task requires it
- Request signing
- Proving key possession by signing each request
- API key
- A simple key identifying a project for some APIs
- Blast radius
- The reach of harm from a compromised identity
- Separate admin accounts
- Distinct identities for privileged and everyday work
- Effective permissions
- The net access a principal actually has
11.2 Access control models and least privilege
- RBAC
- Access through roles that bundle permissions, then assigned to identities
- Discretionary access control
- The resource owner decides who else may access it
- Mandatory access control
- Central label policy the user cannot override
- Role explosion
- A flood of slightly different roles that no one can govern
- Group-based assignment
- Granting roles to a group so access follows membership
- Privilege creep
- Leftover permissions that accumulate over time
- Default deny
- Allow only what a policy explicitly grants
- Standing access
- Permissions that remain in effect until revoked
- Just-in-time access
- Time-bound elevation of privileges when work requires it
- Server-side authorization
- Enforcing permissions in APIs and data, not only in the UI
- Policy as code
- IAM grants kept in version control and reviewed
- Attribute conditions
- Extra limits on a grant based on user or resource attributes
- Tag hygiene
- Keeping resource and identity attributes accurate for access
- RBAC with ABAC
- Roles for verbs, attributes for which resources they apply to
- Wildcard grant
- A policy that allows all actions or all resources
- Access scope
- The resource boundary a permission grant covers
- Narrow scope
- Granting access only on the resources that are needed
- Allow-list condition
- A policy match that permits only listed values
- Horizontal escalation
- Accessing a peer's data without gaining a higher role
- Vertical escalation
- Obtaining a more powerful class of access
- Role purpose
- A written statement of what a role is for
- Short-lived elevation
- Temporary extra rights for occasional admin tasks
- Copying access
- Cloning someone's grants instead of designing for the role
- Read/write role split
- Separate roles for viewing versus changing data
- Policy simulation
- Testing what a policy would allow without applying it
- Console admin rights
- Privileged access used through a cloud portal
- Additive design
- Building a role up from an empty permission set
11.3 Azure RBAC and Microsoft Entra ID
- Role assignment
- Binding a principal to a role at a scope in Azure RBAC
- PIM
- Privileged Identity Management: just-in-time, time-bound admin access
- Conditional Access
- Entra ID policies that enforce requirements based on sign-in signals
- Scope inheritance
- Child resources receive role assignments made at parent scopes
- User Access Administrator
- A built-in role that manages role assignments only
- Reader role
- Built-in Azure role that can view but not change resources or access
- Management group scope
- An Azure RBAC scope that covers many subscriptions
- Azure custom role
- An Azure RBAC role with a permission set you define
- NotActions
- Actions excluded from an Azure role's Actions list
- Assignment condition
- An extra check on an Azure role assignment, often using tags
- Security principal
- The Entra identity that receives an Azure role assignment
- Data-plane role
- An Azure role that authorizes data operations, not just resource management
- Privileged assignment scope
- A wide scope on a role that can change access
- Privileged Azure role
- A role that can change access or own resources
- Directory role
- An Entra role for administering identities and directory settings
- Global Administrator
- The most privileged Entra directory role
- App role
- A role defined on an Entra app and granted to users or clients
- RBAC on groups
- Using an Entra group as the principal of an Azure role assignment
- Eligible assignment
- A privileged role that must be activated to be used
- Root-scope Owner
- An Owner assignment at management group or tenant root
- Assignment tuple
- Principal, role, and scope (plus optional conditions)
- Least-privilege custom role
- A custom Azure role whose Actions are an explicit allow list
- Over-scoped assignment
- A correct-looking role granted at a much wider scope than needed
11.4 AWS IAM policies and roles
- IAM role
- AWS identity assumed for temporary credentials
- Explicit deny
- A policy statement that overrides any allow
- Policy statement
- A block in an IAM policy that allows or denies actions on resources
- NotAction
- An AWS policy element that names actions the statement does not apply to
- Policy variable
- A placeholder in an IAM policy filled from the request context
- Trust policy
- The resource policy on a role that names who can assume it
- Permissions policy
- The identity policy that authorizes a role session's API calls
- AssumeRole
- The STS call that starts a session as an IAM role
- Session policy
- An extra policy that intersects with the role during AssumeRole
- PassRole
- Permission to hand an IAM role to an AWS service
- Service-linked role
- An IAM role predefined for an AWS service to do its work
- Inline policy
- An IAM policy embedded in a single user, group, or role
- Customer managed policy
- A standalone IAM policy you create and version
- Dual-policy check
- Authorization that requires both identity and resource policies
- MFA condition
- An IAM condition that requires MFA on the request
- Role chaining
- Assuming a second role from an existing role session
- Open trust policy
- A role trust that allows almost any principal
- Principal tags
- Tags on an IAM identity used in policy conditions
- AWS root user
- The account's primary owner identity
- GetCallerIdentity
- An STS API that returns the caller's identity
- IAM policy simulator
- A tool to evaluate what an IAM identity is allowed to do
- Tight PassRole
- Restricting PassRole to named roles and services
- Role session name
- An identifier you set when assuming a role
- Application role
- An IAM role assumed by a workload instead of a user key
11.5 Google Cloud IAM and cross-cloud comparisons
- Resource hierarchy
- Org, folders, projects, then resources, where IAM can inherit
- Basic roles
- Primitive Google Cloud roles: Owner, Editor, and Viewer
- Predefined role
- A Google-maintained IAM role for a service or job
- Additive IAM
- Lower-level Google Cloud grants add to parent grants
- Allow-policy binding
- A role granted to principals on a Google Cloud resource
- Public principal
- `allUsers` or `allAuthenticatedUsers` in a Google Cloud IAM policy
- IAM Conditions
- Optional CEL expressions on Google Cloud role bindings
- Deny policy
- A Google Cloud policy that blocks access regardless of allows
- Custom role scope
- The org or project where a Google Cloud custom role is defined
- IAM Recommender
- A Google Cloud helper that suggests tighter roles from usage
- Policy Intelligence
- Google Cloud tools for analyzing IAM policies and access
- Token Creator role
- A role that lets someone create tokens for a service account
- Principal unique ID
- A stable identifier for a Google Cloud identity in IAM bindings
- Billing account IAM
- Roles on a billing account for payments and spend, not project APIs
- Workload identity analogs
- AWS roles, Google service accounts, Azure managed identities
- Deny evaluation
- Explicit or deny-policy blocks beat allows in major clouds
- Hierarchy bindings
- Google Cloud's usual pattern of IAM on a resource or parent
- Guardrail policies
- Org-level caps such as AWS SCPs or Google organization policy
- Time-bound patterns
- PIM, IAM conditions, or temporary elevation, depending on the cloud
- Workforce federation
- Letting employees use an external IdP for Google Cloud access
- External sharing guardrail
- A policy that blocks IAM grants to identities outside the org
- Team-level scope
- Resource groups or projects as the usual place to grant app-team access
- Wide-admin habit
- Reusing a project-wide admin role in every cloud
- Identity guardrail
- A cap on what a principal can receive, such as a boundary policy
- Default workload identity
- A provider-created identity that may be overly privileged
- Cross-cloud scope check
- Comparing equivalent grants and scopes, not just role names
- Directory groups
- Groups from the IdP or cloud directory used as IAM principals
- Role mapping
- Translating a job's access across clouds without copying "admin everywhere"
11.6 Workload identities and secretless access
- Managed identity
- Azure-managed identity for a resource with no stored credentials
- Access review
- Periodic check that users and apps still need their access
- Instance profile
- The AWS attachment that lets an EC2 instance assume a role
- IMDSv2
- A session-oriented EC2 metadata interface that is harder to abuse via SSRF
- Attached service account
- A Google Cloud service account bound to a VM or similar resource
- IAM Roles Anywhere
- An AWS feature that trades a certificate for a role session
- AssumeRoleWithWebIdentity
- The STS API that trades an OIDC token for a role session
- Federated credential
- A trust on an app that accepts a specific external token instead of a secret
- Metadata hop limit
- The IP TTL used to reach a cloud metadata service
- SPIFFE
- A standard for workload identity names and credentials
- Execution role
- An IAM role a compute service assumes on behalf of a function or task
- Task role
- An IAM role assumed by a container task, separate from the host
- Pipeline federation
- Exchanging a CI job's OIDC token for cloud credentials
- Secretless app identity
- A platform-managed identity with no client secret to store
- Standalone key on a VM
- A downloaded service-account key file stored on a compute instance
- IRSA
- IAM Roles for Service Accounts, which bind a pod identity to an IAM role
- Stale federation trust
- An OIDC trust left in place after the workload it was for is gone
- Credential process
- A CLI helper that produces short-lived AWS credentials
- Identity per workload
- A dedicated cloud identity for each application or service
- Host versus workload role
- Separating the node's identity from the application's
- Runtime-issued credentials
- Temporary tokens the platform delivers to a running workload
- Credential log leak
- Writing secrets or tokens to application or console logs
- Certificate credential
- An app credential that uses a key pair instead of a shared secret
- Audience restriction
- A trust check that the token was issued for the intended recipient
- Developer federation
- Interactive sign-in that issues a short-lived dev role session
- Metadata SSRF
- Tricking a server into fetching its metadata service and leaking tokens
- CI OIDC
- A pipeline identity based on a job token, used to fetch cloud credentials
- Tight OIDC subject
- Limiting a federated role to the intended repository and ref
11.7 Privileged access and governance
- Eligible versus standing
- Always-on privilege compared with privilege that must be activated
- Elevation approval
- A second-person check before privileged access is turned on
- Privileged access workstation
- A locked-down device used only for administrative tasks
- Tiered administration
- Separating admin rights by asset sensitivity, such as a Tier 0 model
- No self-approval
- Preventing a person from authorizing their own elevation
- Limited global admins
- Keeping very few standing highly privileged directory admins
- Separate admin path
- Using a distinct, tighter identity when you administer a system
- Shadow admin
- Hidden or indirect privileged access that reviews can miss
- Session recording
- Capturing what happens during a privileged session
- Just enough administration
- Privileged access limited to the needed tasks and duration
- Cloud-native privileged account
- An admin identity created in the cloud directory, not synced
- Automatic de-elevation
- Privileged rights ending when the activation window expires
- Break-glass monitoring
- Alerting whenever an emergency admin account is used
- Privileged access management
- Tools that vault and broker privileged credentials and sessions
- No standing production Owner
- Avoiding always-on Owner or equivalent on production scopes
- Privileged access review
- A review aimed at admin paths, not only app entitlements
- Ticket-linked elevation
- Requiring a change record when activating privileged access
- Temporary elevated access
- Time-limited, approved admin access in AWS organizations
- Protected approval path
- Hardening the channel that authorizes privileged elevation
- Time-bound vendor admin
- Privileged access for a supplier that expires with the engagement
- Admin use restriction
- Limiting where or from which device a privileged role can be used
- Nested admin group
- A group member of another group that holds privileged access
- Phishing-resistant admin MFA
- Strong MFA, such as passkeys, on privileged accounts
- Dual control
- Splitting a sensitive change across two authorized people
- Unused eligibility
- An eligible privileged role that is never or rarely activated
- Privileged access report
- A regular summary of who can administer the estate
11.8 Identity lifecycle, directories and provisioning
- Joiner-mover-leaver
- The identity lifecycle for people joining, changing roles, or leaving
- Authoritative source
- The system whose employee records should drive account lifecycle
- SCIM
- A standard protocol for provisioning identities to applications
- Timely deprovisioning
- Removing or disabling access promptly when it is no longer needed
- Session revocation
- Invalidating outstanding tokens and sessions for an identity
- Orphaned account
- An identity that remains after its owner relationship is gone
- Contractor end date
- A planned expiry on a non-employee's access
- Birthright access
- Default entitlements granted because of someone's job or department
- Mover workflow
- Access changes when a person changes job, team, or location
- Dormant account
- An identity with no recent use
- Identity reconciliation
- A periodic comparison of HR records and directory accounts
- Disable then delete
- Offboarding that deactivates first and removes the object later
- Stable identifier
- A durable ID used to correlate a person across IAM systems
- Non-employee inventory
- A tracked list of vendors, guests, and other external identities
- Rehire process
- How access is restored when a former worker returns
- Dynamic group
- A group whose membership is calculated from user attributes
- App provisioning
- Automatically creating and updating accounts in an application from the IdP
- Access request
- A workflow to obtain non-default entitlements with approval
- Account owner
- A named person responsible for a shared or special identity
- Leaver data handling
- Transferring or retaining a departing person's data under policy
- Group-based licensing
- Assigning product licenses through group membership
- Soft-deleted user
- A directory user kept briefly in a recoverable deleted state
- Workload lifecycle
- Owner, purpose, and retirement for non-human identities
- Day-one access
- The small, automatic set of entitlements a new hire should receive
- Provisioning audit
- Records of create, update, and disable jobs, including failures
- Access certification
- Regular attestation that existing access remains appropriate
- Shared department login
- One password or account used by several people
- Access sponsor
- A responsible employee for an external identity's access
- Leaver runbook
- A checklist of offboarding steps that still need a person
11.9 Monitoring, threats and incident response for identity
- Sign-in versus audit logs
- Authentication events compared with directory or policy change events
- Password spray
- A small set of passwords tried across many identities
- MFA fatigue
- Flooding a user with MFA prompts to get an accidental approval
- Adversary-in-the-middle
- Phishing that proxies a real sign-in to steal a session
- Identity containment
- Revoking sessions and disabling a compromised identity quickly
- Token theft
- Abuse of a stolen session, access, or refresh token
- Recovery-path tampering
- Adding an MFA device or recovery contact to keep access
- Illicit consent
- A malicious application granted OAuth consent to tenant data
- Device-code phishing
- An attacker starts a device-code login and tricks a user into approving it
- App credential addition
- A new secret or certificate added to an application identity
- Golden SAML
- Forging SAML tokens with a stolen signing key
- Cross-log correlation
- Combining IdP sign-in data with cloud activity logs
- ITDR
- Detection and response for identity- and token-based attacks
- Root-use alert
- A notification when a cloud root or equivalent account is used
- Credential stuffing
- Trying leaked username and password pairs at your IdP
- Persistence hunt
- Looking for backdoors left after an identity is compromised
- Legacy auth disable
- Turning off older sign-in protocols that bypass modern MFA
- Impossible travel
- Sign-ins from distant places in a time too short to travel
- Privilege-grant burst
- A sudden cluster of new admin grants or activations
- Identity IR playbook
- A prepared procedure for investigating a compromised identity
- Stolen session
- Reusing a session cookie or token after a password change
- Activation monitoring
- Watching both failed and successful privileged-role activations
- Leaked workload key
- A service-account key or app secret found outside your control
- Forensic log retention
- Keeping identity and activity logs long enough to investigate later
- Federation-change alert
- A notification when a sign-in trust or IdP setting changes
- Out-of-band comms
- Contacting responders without relying on a possibly compromised IdP
- Identity eradication
- Removing the attacker's persistence and restoring a safe sign-in path
- MFA-reset privilege
- The right to change another person's MFA or recovery methods
- Identity after-action
- A review that turns an identity incident into specific improvements
Sample practice questions
What is the difference between authentication and authorization?
- Authentication verifies who you are; authorization decides what you can do
- Authentication decides what you can do; authorization verifies who you are
- They're the same process, just described from two different angles
- Authorization always happens first, and authentication comes after it
Answer: A. Authentication verifies who you are; authorization decides what you can do In cloud platforms, Entra ID or IAM authenticates the caller, then RBAC or policies authorize each action.
What is the principle of least privilege?
- Give everyone admin rights so they never file support tickets
- Grant only the permissions needed, only for as long as needed
- Remove every permission from every user in the organization
- Grant permissions only to people with management titles
Answer: B. Grant only the permissions needed, only for as long as needed Least privilege limits the blast radius when an account or key is compromised.
What three things make up an Azure role assignment?
- A user name, a password and a subscription ID
- A resource, a tag and an Azure Policy definition
- A security principal, a role definition and a scope
- A tenant, a region and a pricing SKU
Answer: C. A security principal, a role definition and a scope Assignments at a higher scope, such as a subscription, are inherited by resource groups and resources below.
What is an AWS IAM role?
- A long-term user account that signs in with a password and access keys
- An identity that trusted entities assume to get temporary credentials
- A named group of IAM users who share the same set of permissions
- A billing account that pays for the resources in an organization
Answer: B. An identity that trusted entities assume to get temporary credentials Roles avoid long-lived access keys; EC2 instance profiles and Lambda execution roles are common examples.
In Google Cloud IAM, what are allow policies bound to?
- Resources in the hierarchy, granting roles to principals
- Only individual Compute Engine virtual machines
- Only billing accounts and their payment profiles
- Network subnets within a VPC in a single region
Answer: A. Resources in the hierarchy, granting roles to principals Policies are inherited down the hierarchy; deny policies can override allows.
What is a managed identity, and why is it preferred for Azure workloads?
- An Azure-managed Entra identity for a resource, with no credentials to store
- A user account that the IT help desk creates, manages and resets for staff
- A shared administrator password that's kept centrally in Azure Key Vault
- A certificate that's installed by hand on each virtual machine in the fleet
Answer: A. An Azure-managed Entra identity for a resource, with no credentials to store The Azure SDK's DefaultAzureCredential picks it up automatically.
What is break-glass (emergency access) account practice?
- A few tightly protected, monitored admin accounts used only if normal access fails
- Giving every developer their own backup admin account for use in emergencies
- Turning off multifactor authentication during outages so admins can sign in
- Sharing the global administrator password with the whole team just in case
Answer: A. A few tightly protected, monitored admin accounts used only if normal access fails Microsoft recommends at least two cloud-only emergency access accounts with phishing-resistant MFA and alerting on use.
What is a joiner-mover-leaver process in IAM?
- A way to name virtual machines, instead of using the intended control
- A network routing design, and that is not the purpose here
- A method for rotating encryption keys only
- Access changes that follow hiring, job changes, and exits
Answer: D. Access changes that follow hiring, job changes, and exits HR or a contractor system should trigger each of those steps.
How do sign-in logs and audit logs usually differ in an identity platform?
- Audit logs only store passwords, and that is not the purpose here
- Sign-in logs only store billing events, instead of using the intended control
- Sign-in logs show authentications; audit logs show directory changes
- They are two names for the same stream, which is not how this control works
Answer: C. Sign-in logs show authentications; audit logs show directory changes You need both to investigate a compromised account.
Why is multifactor authentication (MFA) so effective?
- It encrypts the password before it leaves the user's device
- It makes every user's password longer automatically
- It blocks every kind of phishing attack in every case
- A stolen password alone isn't enough without the second factor
Answer: D. A stolen password alone isn't enough without the second factor Phishing-resistant methods such as passkeys (FIDO2) and certificate-based auth are stronger than SMS codes.
More Cloud and DevOps
- Cloud Fundamentals: IaaS, PaaS, SaaS and Shared Responsibility
- Azure Core Services
- AWS Core Services
- Google Cloud Basics
- Serverless: Azure Functions and AWS Lambda
- Containers and Docker
- Kubernetes
- Infrastructure as Code: Terraform and Bicep
- CI/CD Pipelines: GitHub Actions and Azure DevOps
- Networking: DNS, TCP/IP, Load Balancers and VPNs
- Secrets Management and Key Vault
- Monitoring and Alerting: Application Insights and CloudWatch
- Cloud Cost Management