Cloud Identity and Access Management Lab
In modern cloud environments, identity is one of the most important security boundaries. Before a user, administrator, application, or service can interact with a cloud resource, the platform must determine who they are and what they are allowed to do.
Welcome to Lab 09 of the CompTIA Cloud+ practical lab sequence.
In the previous labs, you worked with:
- virtual machines
- segmented cloud networks
- routing
- security groups
- DNS
- block, file, and object storage
- storage security
You have protected network paths and data.
Now you will answer a different security question:
Who should be allowed to access those resources?
This lab introduces practical cloud Identity and Access Management β IAM.
You will build:
Identity βAuthentication βGroup / Role βPolicy βAuthorization βCloud ResourceThe objective is not simply:
Create a cloud user.
The objective is:
Understand how cloud identities receive permissions, how least privilege is implemented, how access is validated, and how IAM problems are systematically troubleshot.
π― Mission Information
Section titled βπ― Mission Informationβ| Item | Details |
|---|---|
| Lab | 09 β Cloud Identity and Access Management |
| Difficulty | Beginner β Intermediate |
| Estimated Time | 75β120 Minutes |
| Certification Alignment | CompTIA Cloud+ |
| Primary Focus | Cloud IAM |
| Previous Lab | 08 β Secure Cloud Storage |
| Career Alignment | Cloud Administrator, Cloud Engineer, Cloud Security Engineer |
| Major Skills | Users, Groups, Roles, Policies, Least Privilege, Authorization |
| Deliverable | Cloud IAM Model + Access Validation Report |
π’ Scenario
Section titled βπ’ ScenarioβYour organization is expanding its cloud environment.
Until now, a small number of administrators have been using broad privileges to manage resources.
The environment now contains multiple teams:
Cloud Environment | βββ Cloud Administrators | βββ Developers | βββ Security Analysts | βββ AuditorsEach team has different responsibilities.
The requirements are:
Cloud Administrators
Section titled βCloud AdministratorsβNeed administrative capabilities for approved cloud infrastructure.
Developers
Section titled βDevelopersβNeed to:
-
view development compute resources
-
manage selected development workloads
They should not manage:
-
organization-wide IAM
-
production security controls
-
billing
Security Analysts
Section titled βSecurity AnalystsβNeed to:
-
review security configuration
-
access appropriate logs
-
investigate security events
They should not normally:
-
deploy business applications
-
modify billing
-
receive unrestricted administrator access
Auditors
Section titled βAuditorsβNeed:
read-only visibility
for selected resources and configurations.
Your manager asks you to create a basic role-based cloud access model.
π― Lab Objectives
Section titled βπ― Lab ObjectivesβBy completing this lab, you should be able to:
-
explain IAM
-
distinguish identity from permission
-
explain authentication
-
explain authorization
-
understand cloud users
-
understand groups
-
understand roles
-
understand IAM policies
-
interpret allow and deny concepts
-
understand least privilege
-
create test users or identities
-
create groups
-
assign permissions through groups or roles
-
validate authorized access
-
validate denied access
-
identify excessive privileges
-
understand privilege creep
-
review IAM access
-
troubleshoot access-denied errors
-
document cloud permissions professionally
-
explain cloud IAM during interviews
π§ Why This Lab Matters
Section titled βπ§ Why This Lab MattersβTraditional security thinking often focused heavily on:
Internet βFirewall βServerModern cloud environments add another critical layer:
Identity βCloud API βCloud ResourcesA user may manage infrastructure without ever directly connecting to the underlying server.
For example:
Cloud Administrator βCloud Console / API βModify FirewallDelete VMCreate StorageChange PermissionsThat makes cloud IAM extremely powerful.
π Core IAM Model
Section titled βπ Core IAM ModelβThink:
WHO βIdentity
HOW VERIFIED βAuthentication
WHAT THEY CAN DO βAuthorization
WHERE THEY CAN DO IT βResource01 β Understand Identity
Section titled β01 β Understand IdentityβAn identity represents an entity interacting with the cloud platform.
Examples include:
-
user
-
administrator
-
application
-
service
-
workload
-
external identity
For this lab, you will primarily focus on:
human identities.
Workload identities will be covered in:
Lab 11 β Workload Identity and Service Account Lab
02 β Understand Authentication
Section titled β02 β Understand AuthenticationβAuthentication answers:
Who are you?
Examples of authentication methods may include:
-
password
-
MFA
-
certificate
-
federation
-
token
π§ Simple Model
Section titled βπ§ Simple ModelβIdentity βCredentials βAuthentication βIdentity Verified03 β Understand Authorization
Section titled β03 β Understand AuthorizationβAuthorization answers:
What are you allowed to do?
Example:
A user successfully signs into the cloud console.
Authentication:
SUCCESSThe user attempts to delete a production VM.
Authorization:
DENIEDbecause the user does not have that permission.
π§ Authentication vs Authorization
Section titled βπ§ Authentication vs AuthorizationβMemorize the distinction conceptually:
Authentication=Who Are You?Authorization=What Can You Do?04 β Understand Cloud Permissions
Section titled β04 β Understand Cloud PermissionsβCloud permissions commonly represent actions such as:
View VMStart VMStop VMCreate VMDelete VMRead StorageWrite StorageModify NetworkManage IAMπ§ Permission Granularity
Section titled βπ§ Permission GranularityβBroad:
Administrator βEverythingMore granular:
Developer βStart / Stop Development VM05 β Understand IAM Policies
Section titled β05 β Understand IAM PoliciesβA policy defines access decisions.
Conceptually:
Identity βPolicy βAction βResourceA policy might conceptually mean:
AllowDeveloper Group
To:View and manage selected development VMs06 β Understand the Four Key IAM Questions
Section titled β06 β Understand the Four Key IAM QuestionsβWhenever reviewing cloud access, ask:
WHO? βIdentity
CAN DO WHAT? βAction
TO WHICH RESOURCE? βResource
UNDER WHICH CONDITIONS? βContextThis model becomes extremely important in cloud security.
07 β Understand Least Privilege
Section titled β07 β Understand Least PrivilegeβLeast privilege means:
Give an identity only the permissions required to perform its responsibilities.
Avoid:
Developer βCloud Administratorif the developer only requires:
Developer βDevelopment VM Managementπ§ Least Privilege Model
Section titled βπ§ Least Privilege ModelβJob Requirement βRequired Actions βRequired Resources βMinimum Permission08 β Understand the Principle of Default Deny
Section titled β08 β Understand the Principle of Default DenyβA secure authorization approach generally follows:
No Permission βNo Accessuntil the required access is granted.
Do not design:
Allow Everything βRemove What Seems DangerousPrefer:
Deny by Default βGrant Required Access09 β Review Your Current Identity
Section titled β09 β Review Your Current IdentityβSign into your cloud lab.
Identify:
Current Identity:
Authentication Method:
Role:
Permission Level:Ask:
Am I currently using a highly privileged administrative identity?
10 β Review Current Administrative Access
Section titled β10 β Review Current Administrative AccessβDetermine what your current identity can do.
Examples:
-
manage compute
-
modify networking
-
modify storage
-
change IAM
-
view billing
π¨ Important
Section titled βπ¨ ImportantβHaving broad access during a learning lab does not mean:
broad access should be standard for enterprise users.
11 β Create an IAM Inventory
Section titled β11 β Create an IAM InventoryβCreate:
| Identity | Type | Purpose | Privilege |
|---|---|---|---|
| Lab Admin | User/Admin | Lab Management | High |
| Developer Test | User | Development | Limited |
| Security Test | User | Security Review | Limited |
| Auditor Test | User | Audit | Read Only |
12 β Create a Developer Test Identity
Section titled β12 β Create a Developer Test IdentityβCreate an approved test identity.
Example:
cloudplus-developer-01Do not share this identity with other users.
13 β Create a Security Analyst Test Identity
Section titled β13 β Create a Security Analyst Test IdentityβExample:
cloudplus-security-0114 β Create an Auditor Test Identity
Section titled β14 β Create an Auditor Test IdentityβExample:
cloudplus-auditor-01π§ Naming Standard
Section titled βπ§ Naming StandardβUse meaningful identity names.
Avoid:
user1testtempabcwhere possible.
15 β Understand Groups
Section titled β15 β Understand GroupsβGroups simplify permission management.
Instead of:
User A β Policy
User B β Policy
User C β Policyyou can use:
User AUser BUser C βDeveloper Group βDeveloper Policyπ§ Group Benefit
Section titled βπ§ Group BenefitβGroups make access:
-
easier to manage
-
more consistent
-
easier to review
-
easier to remove
16 β Create a Developer Group
Section titled β16 β Create a Developer GroupβExample:
cloudplus-developers17 β Create a Security Group
Section titled β17 β Create a Security GroupβExample:
cloudplus-security-analysts18 β Create an Auditor Group
Section titled β18 β Create an Auditor GroupβExample:
cloudplus-auditors19 β Add Users to Groups
Section titled β19 β Add Users to GroupsβAssign:
cloudplus-developer-01 βcloudplus-developerscloudplus-security-01 βcloudplus-security-analystscloudplus-auditor-01 βcloudplus-auditors20 β Build the IAM Architecture
Section titled β20 β Build the IAM ArchitectureβYour model should resemble:
Cloud IAM | +-------------+-------------+ | | | v v v Developers Security Auditors | | | v v v Dev Access Security View Read Only21 β Define the Developer Requirements
Section titled β21 β Define the Developer RequirementsβDocument what the developer requires.
Example:
Developer Needs:
View development VMsStart development VMStop development VMView basic monitoringDeveloper does not require:
Manage IAM
Delete production resources
Modify billing
Change security policies22 β Create the Developer Permission Model
Section titled β22 β Create the Developer Permission ModelβConceptually:
Developer βDevelopment Resources βViewStartStop23 β Scope Developer Access to Resources
Section titled β23 β Scope Developer Access to ResourcesβWhere supported, restrict permissions to:
-
development environment
-
specific project
-
specific resource group
-
specific tagged resources
π§ Resource-Level Access
Section titled βπ§ Resource-Level AccessβBetter:
Developer βDevelopment Resourcesthan:
Developer βAll Cloud Resources24 β Define Security Analyst Requirements
Section titled β24 β Define Security Analyst RequirementsβThe security analyst may require:
View IAMView Security ConfigurationView LogsView Network RulesView Security Alertsbut not necessarily:
Delete VMModify BillingDeploy Business Applications25 β Create the Security Analyst Access Model
Section titled β25 β Create the Security Analyst Access ModelβConceptually:
Security Analyst βSecurity Visibility βLogsIAM ReviewSecurity Configuration26 β Define Auditor Requirements
Section titled β26 β Define Auditor RequirementsβThe auditor requires visibility.
Use:
Auditor βRead OnlyThe auditor should not normally:
-
start workloads
-
stop workloads
-
delete resources
-
change configuration
27 β Create Read-Only Access
Section titled β27 β Create Read-Only AccessβApply an appropriate read-only policy or role in your lab.
π§ Read-Only Principle
Section titled βπ§ Read-Only PrincipleβRead-only access supports:
Visibilitywithout:
Modification28 β Create an IAM Access Matrix
Section titled β28 β Create an IAM Access MatrixβUse:
| Role | View | Create | Modify | Delete | IAM Admin |
|---|---|---|---|---|---|
| Cloud Admin | β | β | β | β | β |
| Developer | β | Limited | Limited | Limited/No | β |
| Security Analyst | β | β | Limited | β | β |
| Auditor | β | β | β | β | β |
Adjust according to your provider and lab.
29 β Sign In as the Developer
Section titled β29 β Sign In as the DeveloperβUse a separate browser profile, private browsing session, or another approved method so you do not confuse administrative and test sessions.
π§ Operational Tip
Section titled βπ§ Operational TipβAlways know:
Which identity am I currently using?
Many cloud mistakes happen because an administrator believes they are operating under a different identity or account.
30 β Test Developer Read Access
Section titled β30 β Test Developer Read AccessβAttempt to:
-
view approved compute resources
-
inspect VM configuration
Expected:
allowed.
31 β Test Developer Start/Stop Access
Section titled β31 β Test Developer Start/Stop AccessβWhere your permissions allow it, start or stop an approved lab VM.
Expected:
allowed.
32 β Test Developer IAM Administration
Section titled β32 β Test Developer IAM AdministrationβAttempt to access or modify IAM administration.
Expected:
denied.
33 β Test Developer Billing Access
Section titled β33 β Test Developer Billing AccessβAttempt to access restricted billing administration if your providerβs permission model supports this test.
Expected:
denied or appropriately restricted.
34 β Record Developer Test Results
Section titled β34 β Record Developer Test Resultsβ| Action | Expected | Result |
|---|---|---|
| View Dev VM | Allow | |
| Start Dev VM | Allow | |
| Stop Dev VM | Allow | |
| Manage IAM | Deny | |
| Modify Billing | Deny |
π§ Important
Section titled βπ§ ImportantβYou are testing:
Authorized Action βAllowedand:
Unauthorized Action βDenied35 β Sign In as the Auditor
Section titled β35 β Sign In as the AuditorβUse the auditor test identity.
36 β Test Auditor Read Access
Section titled β36 β Test Auditor Read AccessβAttempt to:
-
view VM
-
view network
-
view storage
Expected:
allowed.
37 β Test Auditor Modification Access
Section titled β37 β Test Auditor Modification AccessβAttempt a harmless configuration change that should be denied.
For example:
attempt to stop a disposable test VM without confirming the operation if the UI provides a safe authorization check.
Do not disrupt resources unnecessarily.
Expected:
denied.
38 β Test Auditor Resource Creation
Section titled β38 β Test Auditor Resource CreationβAttempt to access the create-resource workflow.
Expected:
denied where access control applies.
39 β Record Auditor Results
Section titled β39 β Record Auditor Resultsβ| Action | Expected | Result |
|---|---|---|
| View VM | Allow | |
| View Network | Allow | |
| View Storage | Allow | |
| Stop VM | Deny | |
| Create Resource | Deny | |
| Delete Resource | Deny |
40 β Test the Security Analyst Identity
Section titled β40 β Test the Security Analyst IdentityβVerify that the security analyst can view appropriate:
-
IAM information
-
security configuration
-
logs
but cannot perform unrelated administrative actions.
41 β Build a Security Analyst Validation Table
Section titled β41 β Build a Security Analyst Validation Tableβ| Action | Expected | Result |
|---|---|---|
| View Security Configuration | Allow | |
| View Logs | Allow | |
| View IAM | Allow/Scoped | |
| Delete VM | Deny | |
| Modify Billing | Deny |
42 β Understand Direct User Permissions
Section titled β42 β Understand Direct User PermissionsβSome cloud environments allow permissions to be assigned directly to individual users.
Conceptually:
User βPolicyThis may be necessary in some situations.
However, large environments often benefit from:
User βGroup / Role βPolicyπ§ Why?
Section titled βπ§ Why?βIt improves:
-
consistency
-
auditability
-
scalability
43 β Identify Direct Permissions
Section titled β43 β Identify Direct PermissionsβReview your test identities.
Ask:
Does this user have permissions assigned outside their expected group or role?
44 β Understand Privilege Creep
Section titled β44 β Understand Privilege CreepβPrivilege creep occurs when users accumulate access over time.
Example:
User Joins Development βDeveloper Access
Later Joins Cloud Project βAdditional Access
Moves Teams βOld Access Never RemovedEventually:
Too Much Access45 β Simulate Privilege Creep
Section titled β45 β Simulate Privilege CreepβIn your lab, review what would happen if a test user were added to:
Developers+AdministratorsDo not keep excessive membership.
π§ Lesson
Section titled βπ§ LessonβPermissions can combine.
Always review:
the identityβs complete effective access.
46 β Remove Unnecessary Group Membership
Section titled β46 β Remove Unnecessary Group MembershipβReturn the test user to the correct group.
47 β Understand Effective Permissions
Section titled β47 β Understand Effective PermissionsβEffective permissions may come from multiple sources:
Direct Permission+Group+Role+Resource Policy+Organization PolicyProvider models vary.
π§ Troubleshooting Question
Section titled βπ§ Troubleshooting QuestionβWhen someone says:
βI donβt understand why this user can access the resource.β
Review:
all permission sources.
48 β Understand Explicit Deny Concepts
Section titled β48 β Understand Explicit Deny ConceptsβSome policy systems support explicit denies.
Conceptually:
Allow+Explicit Deny=DENYThe exact evaluation model depends on the provider.
π§ Important
Section titled βπ§ ImportantβAlways understand your platformβs policy evaluation logic.
49 β Understand Resource Policies
Section titled β49 β Understand Resource PoliciesβAccess can sometimes be granted or restricted at the resource itself.
Example:
Storage Resource βResource Policy βApproved Identity50 β Compare Identity and Resource Policies
Section titled β50 β Compare Identity and Resource PoliciesβConceptually:
Identity Policy=What Can This Identity Do?Resource Policy=Who Can Access This Resource?51 β Revisit the Storage Lab
Section titled β51 β Revisit the Storage LabβReview the secure object storage created in Lab 08.
Ask:
Which identities can currently access it?
52 β Give the Developer Restricted Storage Access
Section titled β52 β Give the Developer Restricted Storage AccessβWhere appropriate, allow the developer to access only a dedicated lab object-storage location.
Do not grant access to all storage resources.
53 β Validate the Storage Scope
Section titled β53 β Validate the Storage ScopeβDeveloper:
Approved Lab Storage βALLOWEDDifferent protected storage:
Restricted Storage βDENIEDπ§ Resource Scoping
Section titled βπ§ Resource ScopingβThis demonstrates:
Same Identity βDifferent Resource βDifferent Authorization Decision54 β Review IAM for Compute Resources
Section titled β54 β Review IAM for Compute ResourcesβAsk whether the developer needs permission to:
View VMStart VMStop VMDelete VMChange NetworkingThese are different actions.
Do not group them together automatically.
55 β Separate Operational and Destructive Permissions
Section titled β55 β Separate Operational and Destructive PermissionsβExample:
Start / Stop VMmay be reasonable for a developer.
But:
Delete VMmay require stronger controls.
π§ Destructive Action Principle
Section titled βπ§ Destructive Action PrincipleβActions such as:
-
delete
-
change security
-
change IAM
-
disable logging
deserve careful privilege review.
56 β Understand Role-Based Access Control
Section titled β56 β Understand Role-Based Access ControlβRBAC maps permissions to roles.
Conceptually:
Job Function βRole βPermissionsExample:
Auditor βRead-Only Role βView Resources57 β Understand Attribute/Condition-Based Access
Section titled β57 β Understand Attribute/Condition-Based AccessβMore advanced environments may consider context such as:
-
department
-
device
-
network
-
time
-
resource tag
Conceptually:
Identity+Resource+Context βAccess DecisionFor Cloud+, understand the principle.
58 β Understand Temporary Access
Section titled β58 β Understand Temporary AccessβNot all privileges need to be permanent.
A stronger model may use:
Request βApproval βTemporary Privilege βTask βPrivilege RemovedThis becomes particularly important for administrators.
You will go deeper in:
Lab 10 β Cloud MFA and Privileged Access
59 β Perform an Access Review
Section titled β59 β Perform an Access ReviewβReview every test identity.
Ask:
Who Is This?
Why Does the Account Exist?
Which Group?
Which Role?
Which Resources?
What Permissions?
Still Required?60 β Create an Access Review Table
Section titled β60 β Create an Access Review Tableβ| Identity | Role | Required? | Access Appropriate? | Action |
|---|---|---|---|---|
| cloudplus-developer-01 | Developer | Yes | ||
| cloudplus-security-01 | Security | Yes | ||
| cloudplus-auditor-01 | Auditor | Yes |
61 β Understand Dormant Accounts
Section titled β61 β Understand Dormant AccountsβAn unused account can still create risk.
Ask:
When was this identity last used?
Cloud environments should have lifecycle processes for:
Create βUse βReview βDisable βDelete62 β Understand Joiner, Mover, Leaver
Section titled β62 β Understand Joiner, Mover, LeaverβA common identity lifecycle is:
Joiner βCreate Required Access
Mover βChange Access
Leaver βRemove Accessπ§ Security Problem
Section titled βπ§ Security ProblemβThe Mover stage is often where privilege creep occurs.
Old access must be removed when responsibilities change.
63 β Simulate a Role Change
Section titled β63 β Simulate a Role ChangeβImagine:
Developer βMoves to Auditor RoleRequired action:
Remove Developer Access βAdd Auditor Accessnot:
Keep Developer+Add Auditor64 β Review Authentication Settings
Section titled β64 β Review Authentication SettingsβFor each identity, review:
-
authentication method
-
password configuration where relevant
-
MFA status
MFA will be explored deeply in the next lab.
65 β Understand Human vs Machine Credentials
Section titled β65 β Understand Human vs Machine CredentialsβHuman users should not generally provide their personal credentials to applications.
Avoid:
Developer Credentials βApplication ScriptPrefer dedicated workload identity mechanisms.
66 β Understand API Credentials
Section titled β66 β Understand API CredentialsβCloud APIs may use:
-
tokens
-
temporary credentials
-
access keys
Long-lived credentials require careful control.
π¨ Never Store Credentials In
Section titled βπ¨ Never Store Credentials Inβ-
source code
-
public repositories
-
screenshots
-
lab documentation
67 β Review Your Local Lab Files
Section titled β67 β Review Your Local Lab FilesβCheck whether any credential information was accidentally stored in:
README.md
scripts
screenshots
configuration filesRemove sensitive information immediately.
68 β Understand IAM Logging
Section titled β68 β Understand IAM LoggingβIAM changes should be auditable.
Important events may include:
User Created
User Deleted
Role Assigned
Policy Changed
Group Membership Changed
Authentication Attempt
Permission Changed69 β Locate IAM Audit Logs
Section titled β69 β Locate IAM Audit LogsβUsing your providerβs supported logging capability, identify where administrative IAM activity is recorded.
70 β Perform a Test IAM Change
Section titled β70 β Perform a Test IAM ChangeβMake a harmless test change such as:
-
add test user to a test group
-
remove the user again
71 β Review the Audit Trail
Section titled β71 β Review the Audit TrailβDetermine whether you can identify:
Who Made the Change?
What Changed?
When?
Which Identity Was Affected?
Was It Successful?π§ Cloud Security Principle
Section titled βπ§ Cloud Security PrincipleβA sensitive IAM change without logging creates a major investigation gap.
72 β Build an IAM Monitoring Scenario
Section titled β72 β Build an IAM Monitoring ScenarioβImagine:
Standard Developer βAdded to Administrator RoleThat event should deserve security attention.
73 β Identify High-Risk IAM Events
Section titled β73 β Identify High-Risk IAM EventsβExamples include:
-
new administrator created
-
MFA disabled
-
privileged role assigned
-
access policy broadened
-
security logging disabled
-
access key created unexpectedly
74 β Understand IAM as an Attack Surface
Section titled β74 β Understand IAM as an Attack SurfaceβA compromised administrator may be able to create:
New Identity βAdministrative Permission βPersistent Cloud AccessIAM changes therefore matter during incident response.
75 β Deliberately Create an Access-Denied Scenario
Section titled β75 β Deliberately Create an Access-Denied ScenarioβUsing your developer test identity, attempt an operation outside its allowed permissions.
Example:
access IAM administration.
Expected:
ACCESS DENIED76 β Troubleshoot the Access-Denied Error
Section titled β76 β Troubleshoot the Access-Denied ErrorβDo not automatically grant administrator access.
Use:
Identity βRequested Action βTarget Resource βAssigned Groups βRoles / Policies βResource Policy βConditions βDeny / Allow77 β Determine Whether Access Is Actually Required
Section titled β77 β Determine Whether Access Is Actually RequiredβBefore changing IAM, ask:
Should this identity be able to perform this action?
This is the most important step.
π§ Troubleshooting vs Security
Section titled βπ§ Troubleshooting vs SecurityβA denied request does not always mean:
IAM is broken.
Sometimes:
IAM is working exactly as intended.
78 β Simulate a Legitimate Missing Permission
Section titled β78 β Simulate a Legitimate Missing PermissionβChoose a harmless lab operation the developer should legitimately perform but temporarily remove that permission.
For example:
View Approved Lab VM79 β Confirm the Failure
Section titled β79 β Confirm the FailureβExpected:
access denied.
80 β Review Effective Permissions
Section titled β80 β Review Effective PermissionsβIdentify the missing permission in the appropriate:
-
group
-
role
-
policy
81 β Restore the Minimum Required Permission
Section titled β81 β Restore the Minimum Required PermissionβDo not grant:
Administratorto solve:
Missing View PermissionGrant only what the job requires.
82 β Validate the Fix
Section titled β82 β Validate the FixβThe developer should now:
View Approved VM βALLOWEDwhile still:
Manage IAM βDENIED83 β Document the IAM Troubleshooting Case
Section titled β83 β Document the IAM Troubleshooting CaseβProblem:Developer cannot view approved lab VM.
Identity:
Required Action:
Target Resource:
Observed Error:
Groups:
Roles:
Policies:
Root Cause:
Corrective Action:
Validation:84 β Troubleshooting Scenario β User Can Log In but Cannot Access VM
Section titled β84 β Troubleshooting Scenario β User Can Log In but Cannot Access VMβRemember:
Authentication β
Authorization βInvestigate permissions.
85 β Troubleshooting Scenario β User Has Role but Still Cannot Access Resource
Section titled β85 β Troubleshooting Scenario β User Has Role but Still Cannot Access ResourceβReview:
Correct Role?
Correct Scope?
Correct Resource?
Explicit Deny?
Resource Policy?
Conditions?86 β Troubleshooting Scenario β User Can Access Too Much
Section titled β86 β Troubleshooting Scenario β User Can Access Too MuchβThis is potentially more serious than access denied.
Review:
Direct Permissions+Group Membership+Roles+Inherited Accessπ§ Important
Section titled βπ§ ImportantβUsers often report:
βI cannot access something.β
They rarely report:
βI can access far too much.β
Access reviews must proactively identify excessive privilege.
87 β Troubleshooting Scenario β Former Team Member Still Has Access
Section titled β87 β Troubleshooting Scenario β Former Team Member Still Has AccessβReview identity lifecycle.
Action may include:
Validate Employment / Role βDisable or Remove Access βReview Credentials βReview Activityaccording to organizational procedures.
88 β Troubleshooting Scenario β Application Uses Employee Credentials
Section titled β88 β Troubleshooting Scenario β Application Uses Employee CredentialsβIdentify this as poor identity architecture.
Recommend moving toward:
dedicated workload identity.
This leads directly into Lab 11.
89 β Troubleshooting Scenario β Administrator Cannot Explain Why Permission Exists
Section titled β89 β Troubleshooting Scenario β Administrator Cannot Explain Why Permission ExistsβThis is a governance issue.
Every privileged permission should ideally have:
-
owner
-
purpose
-
scope
90 β Build the IAM Troubleshooting Framework
Section titled β90 β Build the IAM Troubleshooting FrameworkβUse:
Who? βAuthenticated? βWhich Action? βWhich Resource? βWhich Group? βWhich Role? βWhich Policy? βWhich Scope? βAny Deny? βAccess Decision91 β Perform an IAM Security Assessment
Section titled β91 β Perform an IAM Security AssessmentβReview:
[ ] Every test identity has an owner[ ] Identity purpose documented[ ] Groups used where appropriate[ ] Roles match job responsibilities[ ] Least privilege applied[ ] Broad administrator access reviewed[ ] Direct user permissions minimized[ ] Dormant identities reviewed[ ] Resource scope reviewed[ ] Authentication settings reviewed[ ] IAM logging available92 β Build an IAM Findings Register
Section titled β92 β Build an IAM Findings Registerβ| Finding | Risk | Recommendation | Priority |
|---|---|---|---|
| Developer Has Admin Role | Excessive Privilege | Replace With Scoped Role | High |
| Dormant Account Active | Unauthorized Access | Disable/Review | High |
| Direct Permissions | Hard to Manage | Use Group/Role | Medium |
| No Access Review | Privilege Creep | Implement Periodic Review | Medium |
| IAM Changes Not Monitored | Limited Visibility | Enable Monitoring | High |
93 β Build the Final IAM Architecture
Section titled β93 β Build the Final IAM Architectureβ Cloud IAM | +---------------------+---------------------+ | | | v v v Administrators Developers Auditors | | | v v v Privileged Role Scoped Dev Role Read-Only Role | | | +---------------------+---------------------+ | v Cloud Resources | +-------------------+-------------------+ | | | Compute Storage NetworkYou may also include:
Security Analysts βSecurity Read / Investigation Access94 β Create the IAM Access Matrix
Section titled β94 β Create the IAM Access Matrixβ| Persona | Compute | Network | Storage | Security Logs | IAM | Billing |
|---|---|---|---|---|---|---|
| Admin | Manage | Manage | Manage | View | Manage | Scoped |
| Developer | Scoped Manage | View/Limited | Scoped | Limited | No | No |
| Security Analyst | View | View | View | View | View | No |
| Auditor | Read | Read | Read | Read | Read | No |
95 β Create an Identity Lifecycle Record
Section titled β95 β Create an Identity Lifecycle RecordβFor each identity document:
Identity:
Owner:
Purpose:
Created:
Group:
Role:
Resource Scope:
Last Review:
Expiration / Review Date:96 β Capture Evidence
Section titled β96 β Capture EvidenceβCapture sanitized evidence of:
-
groups
-
role assignments
-
access matrix
-
developer allowed access
-
developer denied access
-
auditor read-only behavior
-
IAM audit event
-
access-denied troubleshooting
Never capture:
-
passwords
-
MFA secrets
-
API keys
-
access tokens
-
private account information
97 β Update the Resource Inventory
Section titled β97 β Update the Resource InventoryβAdd an IAM section:
| Identity / Group | Purpose | Privilege | Status |
|---|---|---|---|
| cloudplus-developers | Development | Scoped | Active |
| cloudplus-security-analysts | Security Review | Scoped | Active |
| cloudplus-auditors | Audit | Read Only | Active |
| cloudplus-developer-01 | Test Developer | Scoped | Active |
| cloudplus-security-01 | Test Security Analyst | Scoped | Active |
| cloudplus-auditor-01 | Test Auditor | Read Only | Active |
98 β Perform Final Validation
Section titled β98 β Perform Final ValidationβVerify:
Developer βRequired Development Action βALLOWVerify:
Developer βIAM Administration βDENYVerify:
Auditor βView Resource βALLOWVerify:
Auditor βModify Resource βDENYVerify:
Security Analyst βSecurity Visibility βALLOWπ§ͺ Final Validation Checklist
Section titled βπ§ͺ Final Validation Checklistβ| Validation | Status |
|---|---|
| Current administrative identity reviewed | |
| Developer identity created | |
| Security analyst identity created | |
| Auditor identity created | |
| Developer group created | |
| Security group created | |
| Auditor group created | |
| Users assigned to groups | |
| Developer permissions scoped | |
| Auditor read-only access configured | |
| Security analyst access scoped | |
| Authorized action tested | |
| Unauthorized action denied | |
| Resource scope tested | |
| Privilege creep understood | |
| IAM access review completed | |
| Identity lifecycle reviewed | |
| IAM logging reviewed | |
| Access-denied scenario tested | |
| Missing permission corrected with least privilege | |
| Findings documented | |
| IAM architecture diagram created |
99 β Cleanup Decision
Section titled β99 β Cleanup DecisionβIf continuing the lab sequence, retain the IAM structure where useful.
However, remove unnecessary training identities when they are no longer required.
Review:
Temporary Users
Temporary Roles
Temporary Policies
Temporary Group MembershipDo not leave unnecessary privileged test identities active.
π― Certification Connection
Section titled βπ― Certification ConnectionβA Cloud+ scenario may say:
A user successfully signs into the cloud console but cannot stop a VM.
Think:
Authentication βSUCCESS
Authorization βCHECK PERMISSIONAnother scenario may say:
A developer only needs to restart development servers but has full administrator access.
Think:
Least privilege.
Another:
The same permissions are manually assigned to 50 users.
Consider:
group or role-based access management.
Another:
An employee changes departments but retains previous permissions.
Think:
Privilege creep and identity lifecycle.
π€ Interview Questions
Section titled βπ€ Interview QuestionsβPractice without notes.
1. What is IAM?
Section titled β1. What is IAM?β2. Authentication vs authorization?
Section titled β2. Authentication vs authorization?β3. What is a cloud identity?
Section titled β3. What is a cloud identity?β4. What is an IAM policy?
Section titled β4. What is an IAM policy?β5. What is a role?
Section titled β5. What is a role?β6. What is a group?
Section titled β6. What is a group?β7. Why use groups instead of assigning every permission individually?
Section titled β7. Why use groups instead of assigning every permission individually?β8. What is least privilege?
Section titled β8. What is least privilege?β9. What is default deny?
Section titled β9. What is default deny?β10. What is role-based access control?
Section titled β10. What is role-based access control?β11. What is resource-level permission?
Section titled β11. What is resource-level permission?β12. What is effective permission?
Section titled β12. What is effective permission?β13. What is privilege creep?
Section titled β13. What is privilege creep?β14. What is an access review?
Section titled β14. What is an access review?β15. What is a dormant account?
Section titled β15. What is a dormant account?β16. What is the joiner-mover-leaver lifecycle?
Section titled β16. What is the joiner-mover-leaver lifecycle?β17. Why are administrator accounts high risk?
Section titled β17. Why are administrator accounts high risk?β18. Why should IAM changes be logged?
Section titled β18. Why should IAM changes be logged?β19. Why should applications avoid employee credentials?
Section titled β19. Why should applications avoid employee credentials?β20. How would you troubleshoot an access-denied error?
Section titled β20. How would you troubleshoot an access-denied error?β21. What is the difference between identity and resource policies?
Section titled β21. What is the difference between identity and resource policies?β22. Why might a user have more access than expected?
Section titled β22. Why might a user have more access than expected?β23. Why is read-only access useful for auditors?
Section titled β23. Why is read-only access useful for auditors?β24. Why should destructive permissions be restricted?
Section titled β24. Why should destructive permissions be restricted?β25. Why is IAM important in cloud security?
Section titled β25. Why is IAM important in cloud security?βπ¨ Scenario Interview Question 1
Section titled βπ¨ Scenario Interview Question 1βA developer can sign in but cannot start the development VM.
Use:
Identity βAuthentication βRole / Group βRequired Action βResource Scope βAuthorizationπ¨ Scenario Interview Question 2
Section titled βπ¨ Scenario Interview Question 2βA developer asks for administrator access because one required operation is currently denied.
Do not grant administrator access immediately.
Determine:
Required Action+Required Resource+Minimum Permissionπ¨ Scenario Interview Question 3
Section titled βπ¨ Scenario Interview Question 3βAn auditor needs to review the cloud environment but must not change anything.
Use:
read-only access.
Validate both:
View βALLOWand:
Modify βDENYπ¨ Scenario Interview Question 4
Section titled βπ¨ Scenario Interview Question 4βA user moved from development to finance but still has cloud-development access.
This is:
privilege creep / identity lifecycle failure.
Review and remove obsolete access.
π¨ Scenario Interview Question 5
Section titled βπ¨ Scenario Interview Question 5βA user has no direct permission but can still access a resource.
Investigate:
-
group membership
-
role
-
inherited permission
-
resource policy
π¨ Scenario Interview Question 6
Section titled βπ¨ Scenario Interview Question 6βA user has the expected role but cannot access one storage resource.
Investigate:
Role βResource Scope βResource Policy βExplicit Deny βEncryption Key if Applicableπ¨ Scenario Interview Question 7
Section titled βπ¨ Scenario Interview Question 7βA cloud application stores an employeeβs administrative credentials in a configuration file.
Recommend:
a dedicated workload identity or service account with scoped permission.
π¨ Scenario Interview Question 8
Section titled βπ¨ Scenario Interview Question 8βThe security team discovers a new administrator account created overnight.
Investigate:
Who Created It? βWhen? βFrom Where? βWhy? βWhich Permissions? βWhat Activity Followed?π¨ Scenario Interview Question 9
Section titled βπ¨ Scenario Interview Question 9βA former contractor account remains enabled after the project ended.
Review:
-
account ownership
-
last use
-
credentials
-
activity
-
removal
π¨ Scenario Interview Question 10
Section titled βπ¨ Scenario Interview Question 10βManagement asks why every cloud user cannot simply have administrator access.
Explain:
-
least privilege
-
accidental changes
-
credential compromise
-
accountability
-
separation of duties
-
blast radius
π§ IAM Interview Framework
Section titled βπ§ IAM Interview FrameworkβUse:
WHO βIdentity
HOW βAuthentication
WHAT βAction
WHERE βResource
WHY βBusiness Requirement
HOW MUCH βLeast Privilege
VERIFY βAccess Test + Auditπ¬ Interview Tip
Section titled βπ¬ Interview TipβAvoid:
βIf access is denied, I would add permissions.β
A stronger answer is:
βI would first confirm the identity, requested action, target resource, and business requirement. I would review the userβs groups, roles, policies, resource scope, resource policies, and any explicit deny conditions. If access is legitimately required, I would grant the minimum permission necessary and then validate that the required operation succeeds while unrelated privileged actions remain denied.β
That demonstrates Cloud Administrator and Cloud Security Engineer thinking.
π Portfolio Deliverables
Section titled βπ Portfolio DeliverablesβKeep sanitized versions of:
1. IAM Architecture Diagram
Section titled β1. IAM Architecture DiagramβShow:
Users βGroups / Roles βPolicies βResources2. IAM Access Matrix
Section titled β2. IAM Access MatrixβDocument:
-
administrators
-
developers
-
security analysts
-
auditors
3. Least-Privilege Validation
Section titled β3. Least-Privilege ValidationβShow:
Required Action βAllowed
Unauthorized Action βDenied4. IAM Access Review
Section titled β4. IAM Access ReviewβDocument:
-
identity
-
role
-
privilege
-
review decision
5. IAM Troubleshooting Record
Section titled β5. IAM Troubleshooting RecordβShow:
Access Denied βPermission Investigation βRoot Cause βLeast-Privilege Correction βValidation6. IAM Findings Register
Section titled β6. IAM Findings RegisterβDocument excessive privileges and remediation recommendations.
π Resume Examples
Section titled βπ Resume ExamplesβInstead of:
Worked with cloud IAM.
Use:
Designed and validated role-based cloud IAM for administrators, developers, security analysts, and auditors using groups, scoped permissions, least privilege, resource-level access controls, and access reviews.
Or:
Tested cloud authorization by validating permitted resource operations and denied privileged actions while troubleshooting group, role, policy, resource-scope, and access-control issues.
Or:
Performed cloud IAM security reviews identifying excessive permissions, dormant identities, privilege creep, direct user permissions, and access-governance gaps.
β Job-Readiness Check
Section titled ββ Job-Readiness CheckβYou should now be able to:
-
explain cloud IAM
-
distinguish authentication from authorization
-
explain users, groups, roles, and policies
-
understand least privilege
-
explain default deny
-
create scoped identities
-
use group-based access
-
build a role-access matrix
-
distinguish read-only from administrative access
-
scope access to specific resources
-
validate required access
-
validate denied access
-
identify excessive privilege
-
explain privilege creep
-
perform an access review
-
understand identity lifecycle
-
explain IAM audit logging
-
troubleshoot access denied
-
troubleshoot excessive access
-
document IAM professionally
π Mission Complete
Section titled βπ Mission CompleteβYou have added the identity layer to your Cloud+ environment.
Your architecture has progressed from:
Network+Compute+Storageto:
Identity βAuthentication βAuthorization βCloud ResourcesYou now understand that cloud access should follow:
Business Requirement βIdentity βRole βMinimum Permission βRequired Resource βValidation βPeriodic ReviewThe key lesson is:
Cloud IAM is not about giving users access. It is about giving the right identity the right access to the right resource for the right reasonβand no more.
π Whatβs Next?
Section titled βπ Whatβs Next?βYou now understand how cloud users, groups, roles, and permissions work.
The next lab strengthens the most sensitive part of the identity model:
privileged access.
You will work with:
-
multi-factor authentication
-
administrator identities
-
privileged roles
-
separate administrative accounts
-
emergency access
-
temporary privilege
-
access reviews
-
privileged-activity monitoring
-
compromised-password scenarios
-
MFA validation
-
privileged-access troubleshooting
You will move from:
Administrator βPassword βCloudto a stronger model:
Administrator βStrong Authentication βMFA βControlled Privileged Role βCloud Resourcesβ‘οΈ Next: Lab 10 β Cloud MFA and Privileged Access Lab