Which approach best reduces risk from stolen long-lived credentials in AWS?
Answer
Use AWS STS to issue short-lived, scoped credentials via AssumeRole for workloads
Explanation
Short-lived credentials reduce the window of exposure if they are compromised. AssumeRole with least-privilege and session scoping limits blast radius compared with long-lived static keys.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In an incident investigation, a team wants to ensure that compromised AWS credentials cannot be used for future access. Which action is most effective?
View question →
Passage:
View question →
A company must prevent EC2 instances from retrieving secrets directly from the Secrets Manager API using broad permissions. Which control is most appropriate?
View question →
You need centralized logging for API activity, with retention and the ability to investigate anomalous actions. What is the best solution?
View question →
A workload uses an encrypted S3 bucket, and developers can list objects but occasionally receive AccessDenied when downloading. Which is the most likely cause?
View question →
Which statement best describes how AWS WAF helps mitigate common web application threats?
View question →