SAA-C03 · Question #197
A company is developing a public web application that needs to access multiple AWS services. The application will have hundreds of users who must log in to the application first before using the…
The correct answer is B. Create an IAM role that has the access permissions the web application requires. Configure the. Option Bis the correct solution because: AWS Security Token Service (STS)allows the web application to request temporary security credentials that grant access to AWS resources. These temporary credentials are secure and short- lived, reducing the risk of misuse. Using STS and…
Question
A company is developing a public web application that needs to access multiple AWS services. The application will have hundreds of users who must log in to the application first before using the services. The company needs to implement a secure and scalable method to grant the web application temporary access to the AWS resources. Which solution will meet these requirements?
Options
- ACreate an IAM role for each AWS service that the application needs to access. Assign the roles
- BCreate an IAM role that has the access permissions the web application requires. Configure the
- CUse AWS IAM Identity Center to create a user pool that includes the application users. Assign
- DCreate an IAM user that has programmatic access keys for the AWS services. Store the access
How the community answered
(61 responses)- A10% (6)
- B84% (51)
- C3% (2)
- D3% (2)
Explanation
Option Bis the correct solution because: AWS Security Token Service (STS)allows the web application to request temporary security credentials that grant access to AWS resources. These temporary credentials are secure and short- lived, reducing the risk of misuse. Using STS and IAM roles ensures scalability by enabling the application to dynamically assume roles with the required permissions for each AWS service. Option A: Assigning IAM roles directly to instances is less flexible and would grant the same permissions to all applications on the instance, which is not ideal for a multi-service web Option C: AWS IAM Identity Center is used for managing single sign-on (SSO) for workforce users and is not designed for granting programmatic access to web applications. Option D: Storing long-term access keys, even in AWS Systems Manager Parameter Store, is less secure and does not scale well compared to temporary credentials from STS.
Community Discussion
No community discussion yet for this question.