Your team uses Azure and AWS. How do you keep IAM consistent across both?
AdvancedScenarioCloud IAM and Compliance
Answer
Situation read → Different models (AWS IAM policies vs Azure RBAC role assignments), but the same principles.
What I'd do →
- One IdP (Entra ID or Okta) as the source of identity for both; groups drive access.
- Map job functions to AWS permission sets and Azure built-in or custom roles.
- Manage both in Terraform from one repo, with review.
- Use workload identity in both: IRSA/Pod Identity and Azure Workload Identity; no secrets.
- Run a CSPM across both clouds and run access reviews from the IdP.
Why → The IdP group is the common layer, so access reviews and offboarding work the same way in both clouds.
Interview tip → Show you know the equivalents: SCP vs Azure Policy, IAM role vs managed identity.
More on Cloud IAM and Compliance
You find an IAM policy with `"Action": "*", "Resource": "*"` attached to an application role. How do you right-size it?BeginnerYour company has 40 AWS accounts with no central controls. How do you set up preventive guardrails?IntermediateGuardDuty reports `UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS`. What happened and what do you do?AdvancedYour company must pass SOC 2 Type II in six months. What does DevOps own, and how do you automate evidence?IntermediateA partner needs access to one S3 bucket in your account. How do you set up cross-account access safely?IntermediateSomeone logged in with the AWS root user last night. How do you react, and how should you have known?Beginner