
Ultimate access to all questions.
Your company is implementing a new serverless application using AWS Lambda and Amazon API Gateway. You need to ensure that the API Gateway has the necessary permissions to invoke the Lambda functions. Which of the following steps should you take to achieve this?
A
Create an IAM role with full access to all Lambda functions and assign it to the API Gateway.
B
Create an IAM role with the minimum required permissions for the API Gateway to invoke the specific Lambda functions and assign it to the API Gateway.
C
Modify the Lambda function's execution role to include permissions for the API Gateway to invoke the function.
D
Use the root account credentials to configure the API Gateway to invoke the Lambda functions.