A company is developing an application that will be accessed through the Amazon API Gateway REST API. Registered users should be the only ones who can access certain resources of this API. The token being used should expire automatically and needs to be refreshed periodically. How can a Developer meet these requirements?
A) Create an Amazon Cognito identity pool, configure the Amazon Cognito Authorizer in API Gateway, and use the temporary credentials generated by the identity pool.
B) Create and maintain a database record for each user with a corresponding token and use an AWS Lambda authorizer in API Gateway.
C) Create an Amazon Cognito user pool, configure the Cognito Authorizer in API Gateway, and use the identity or access token.
D) Create an IAM user for each API user, attach an invoke permissions policy to the API, and use an IAM authorizer in API Gateway.
Correct Answer:
Verified
Q106: A company has implemented AWS CodePipeline to
Q107: A Developer has a legacy application that
Q108: A Company runs continuous integration/continuous delivery (CI/CD)
Q109: A company wants to migrate an imaging
Q110: A Developer has code running on Amazon
Q112: A Developer wants to insert a record
Q113: A Development team wants to immediately build
Q114: A Developer has discovered that an application
Q115: A Developer has written an Amazon Kinesis
Q116: A Developer implemented a static website hosted
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents