Learning
Learning
Loading practice session...
AWS Certified Solutions Architect – Associate · Exam domain
88 practice questions in this domain. AI-tutored explanations for every answer.
Sign in to practice all 88 questions with progress tracking and AI explanations.
1. A company needs to grant an application running on an EC2 instance access to S3 without embedding credentials in the code. Which IAM identity type is the BEST solution?
Explanation
IAM Roles attached via instance profiles provide temporary, automatically-rotated credentials to EC2 instances — eliminating the need to manage static keys. IAM Groups only contain users (not instances), and embedding long-term credentials is a security anti-pattern.
2. An administrator wants to enforce MFA for all IAM users before they can perform sensitive operations in the AWS Console. Which approach correctly implements this requirement?
Explanation
IAM policies support the aws:MultiFactorAuthPresent condition key, which enforces MFA before allowing specific API calls. This is the correct preventive control; AWS Config is detective-only and cannot enforce MFA in real time.
3. A security engineer needs to grant a specific IAM role a narrowly scoped policy that will never be reused or attached to any other identity. Which policy type is most appropriate?
Explanation
Inline policies are directly embedded in a single IAM identity and are deleted when the identity is deleted — ideal for strict one-to-one permission bindings. SCPs apply at the AWS Organizations level, not to individual roles.
4. Which IAM policy element explicitly overrides all Allow statements and immediately denies access regardless of any other policy attached to the identity?
Explanation
In IAM, an explicit Deny always overrides any Allow — this is the foundational evaluation logic. NotAction and Condition elements modify scope but do not provide the same guaranteed override that an explicit Deny does.
5. A development team in Account A needs read access to an S3 bucket owned by Account B. Which combination of policies enables cross-account access?
Explanation
Cross-account S3 access requires trust from both sides: an identity-based policy allowing the action, and a resource-based bucket policy granting access to the external principal. SCPs restrict but do not grant permissions.
Practice all 88+ questions in this domain
Start free practice →