
Answer-first summary for fast verification
Answer: Your application needs to renew the credentials after 1 hour when they expire
Overall explanation Correct option: Your application needs to renew the credentials after 1 hour when they expire AWS Security Token Service (AWS STS) is a web service that enables you to request temporary, limited-privilege credentials for AWS Identity and Access Management (IAM) users or for users that you authenticate (federated users). By default, AWS Security Token Service (STS) is available as a global service, and all AWS STS requests go to a single endpoint at https://sts.amazonaws.com. Credentials that are created by using account credentials can range from 900 seconds (15 minutes) up to a maximum of 3,600 seconds (1 hour), with a default of 1 hour. Hence you need to renew the credentials post expiry.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer has built an online shopping application that is deployed on EC2 instances, which are managed by load balancers to handle traffic. This web application, consistently running the same version, is distributed across multiple EC2 instances organized within an Auto Scaling group to ensure scalability and availability. The application utilizes AWS Security Token Service (STS) to obtain temporary security credentials for AWS service access. However, it has been observed that the application ceases to function after an hour of operation.
What is the most probable reason for this problem?
A
The IAM service is experiencing downtime once an hour
B
A lambda function revokes your access every hour
C
Your IAM policy is wrong
D
Your application needs to renew the credentials after 1 hour when they expire
No comments yet.