Question 630
A vendor needs to inspect logs in one AWS account for two hours without receiving permanent IAM user keys. After the design change, which result best confirms success?
Explanation
Correct Answer
Session logs and expiration verify temporary delegated access. The observed result follows the intended design: allow a narrowly scoped cross-account role assumed using AWS STS with appropriate trust conditions.
Incorrect Answers
Time-bounded retrieval demonstrates the delegation limit. That check would apply to another condition: a team wants to grant a contractor a single S3 object read without an AWS account identity for the contractor.
The allowed and denied assume-role tests validate trust. That check would apply to another condition: an IAM role must be usable only by EC2, not an arbitrary account principal.
Trust-condition tests verify the protection. That check would apply to another condition: a cross-account vendor role must only be assumable by an authorized supplier, despite risk of the confused-deputy problem.