Design break-glass access for production that is audited, time-bound, and not a shared password.
AdvancedScenarioIAM, Organizations and Multi-Account
Answer
Situation read → Break-glass must exist and be loud; the failure modes are shared credentials and no alarm.
What I'd do →
- Create a dedicated
BreakGlassAdminpermission set in Identity Center, assigned to a small group, with session duration 1 hour - Require MFA with phishing-resistant keys
- EventBridge rule on the
AssumeRoleorCreateCredentialevents for that role pages the on-call and posts to the security channel - Keep two root account credentials sealed offline with hardware MFA for the case SSO itself is down
- Quarterly drill, then review the CloudTrail trail of every use
Why → Auditability plus alerting turns emergency access into an accountable action rather than a backdoor.
Interview tip → Mention you also test it, since untested break-glass fails when needed.
More on IAM, Organizations and Multi-Account
A developer needs read-only access to one S3 bucket from their laptop. How do you grant it without creating long-lived access keys?BeginnerAn EC2 application needs to write to DynamoDB. Where do the credentials come from?BeginnerSecurity wants to know who deleted a production S3 bucket yesterday. How do you find out?BeginnerYou must stop anyone in a member account from disabling CloudTrail, even account admins. What do you use?BeginnerA cross-account role assumption fails with AccessDenied even though the target role trusts the source account. What do you check?IntermediateDesign access for a CI pipeline in GitHub Actions to deploy to AWS without storing AWS keys in GitHub.Intermediate