Certified Developer Associate 2019 -- 2

A company is creating a REST service using an Amazon API Gateway with AWS Lambda integration. The service run different versions for testing purposes.
What would be the BEST way to accomplish this?

  • A. Use an x-Version header to denote which version is being called and pass that header to the Lambda function(s)
  • B. Create an API Gateway Lambda authorizer to route API clients to the correct API version
  • C. Create an API Gateway resource policy to isolate versions and provide context to the Lambda function(s)
  • D. Deploy the API versions as unique stages with unique endpoints and use stage variables to provide further context

A company wants to implement authentication for its new REST service using Amazon API Gateway. To authenticate the calls, each request must include HTTP headers with a client ID and user ID. These credentials must be compared to authentication data in an Amazon DynamoDB table.
What MUST the company do to implement this authentication in API Gateway?

  • A. Implement an AWS Lambda authorizer that references the DynamoDB authentication table
  • B. Create a model that requires the credentials, then grant API Gateway access to the authentication table
  • C. Modify the integration requests to require the credentials, then grant API Gateway access to the authentication table
  • D. Implement an Amazon Cognito authorizer that references the DynamoDB authentication table
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

猜你喜欢

转载自www.cnblogs.com/cloudrivers/p/11656863.html
今日推荐