Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 152 Topic 16 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 152 Topic 16 Discussion

DVA-C02 Exam Topic 16 Question 152 Discussion:
Question #: 152
Topic #: 16

A developer is working on an application that uses a microservices architecture. The developer needs to grant an AWS Lambda function access to make calls to an Amazon API Gateway HTTP API. The HTTP API requires authentication.

Which solution will meet these requirements?


A.

Create a JSON Web Token (JWT) authorizer for the HTTP API. Create a new IAM identity provider (IdP). Configure the Lambda function ' s execution role to allow the Lambda function to access the IdP.


B.

Enable IAM authorization for the HTTP API route. Configure the Lambda function ' s IAM role policy to allow the Lambda function to access the API.


C.

Configure the HTTP API route to require API keys. Add an API key to the Lambda function environment variables.


D.

Create a resource-based policy for the Lambda function that allows the Lambda function to access the HTTP API.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.