An application deployed in an Asia Pacific AWS Region calls AWS STS at the default global endpoint (https://sts.amazonaws.com) and is experiencing intermittent latency. What should the developer do to fix the latency issue?
Choose an answer
Tap an option to check your answer.
Correct answer: Update the application to call a Regional STS endpoint that is closer to the application’s AWS Region..
Why this is the answer
The correct solution is to update the application to call a Regional STS endpoint. AWS STS has both a global endpoint and Regional endpoints. By default, all requests go to the global endpoint (sts.amazonaws.com). However, for applications in specific AWS Regions, using a Regional STS endpoint (e.g., sts.ap-southeast-2.amazonaws.com for Sydney) can significantly reduce latency by ensuring the request doesn't need to traverse long distances to the global endpoint in the US East (N. Virginia) Region. The other options (GetSessionToken, AssumeRoleWithSAML, AssumeRoleWithWebIdentity) are different API operations for obtaining temporary credentials, but they do not address the underlying latency issue related to endpoint proximity.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed