D1: IAM & Root User Best Practices
AWS Certified Solutions Architect – Associate exam practice questions · 10 flashcards
Question
Root user best practices?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 IAM & Root User Best Practices practice questions and answers
- Root user best practices?Enable MFA, delete root access keys, use only for root-only tasks, strong password, monitor root logins.
- How should administrators access AWS daily?Federated access via IAM Identity Center or IAM roles with MFA — not root, avoid long-term IAM user keys.
- IAM users vs roles for applications?Use roles (temporary credentials) for apps on EC2/ECS/Lambda; never embed access keys.
- IAM groups purpose?Attach policies to groups to manage permissions for many users consistently.
- Principle of least privilege?Grant minimum permissions required; refine with IAM Access Analyzer and last-accessed data.
- Enforcing MFA for sensitive actions?IAM policy condition aws:MultiFactorAuthPresent.
- Permissions boundaries use case?Let developers create roles but cap the permissions those roles can have.
- IAM policy evaluation order?Explicit deny wins; then SCP/RCP/boundary/session limits must allow; then identity or resource policy allow; default deny.
- Shared responsibility for IAM?Customer manages identities, permissions and MFA; AWS secures IAM infrastructure.
- Scenario: EC2 app needs S3 access securely. Design?Attach an IAM role via instance profile with least-privilege S3 policy.