Topic 1 Question 200
A company hosts its application on AWS. The company uses Amazon Cognito to manage users. When users log in to the application, the application fetches required data from Amazon DynamoDB by using a REST API that is hosted in Amazon API Gateway. The company wants an AWS managed solution that will control access to the REST API to reduce development efforts.
Which solution will meet these requirements with the LEAST operational overhead?
Configure an AWS Lambda function to be an authorizer in API Gateway to validate which user made the request.
For each user, create and assign an API key that must be sent with each request. Validate the key by using an AWS Lambda function.
Send the user’s email address in the header with every request. Invoke an AWS Lambda function to validate that the user with that email address has proper access.
Configure an Amazon Cognito user pool authorizer in API Gateway to allow Amazon Cognito to validate each request.
ユーザの投票
コメント(15)
- 正解だと思う選択肢: D
KEYWORD: LEAST operational overhead
To control access to the REST API and reduce development efforts, the company can use an Amazon Cognito user pool authorizer in API Gateway. This will allow Amazon Cognito to validate each request and ensure that only authenticated users can access the API. This solution has the LEAST operational overhead, as it does not require the company to develop and maintain any additional infrastructure or code.
Therefore, Option D is the correct answer.
Option D. Configure an Amazon Cognito user pool authorizer in API Gateway to allow Amazon Cognito to validate each request.
👍 5Buruguduystunstugudunstuy2022/12/23 - 正解だと思う選択肢: D👍 4Gabs902022/11/28
- 正解だと思う選択肢: D👍 3k1kavi12022/12/25
シャッフルモード