
Answer-first summary for fast verification
Answer: The Lambda function lacks the necessary invocation permissions.
The correct answer is C. To allow an ALB to invoke a Lambda function, the Lambda function must have the required permissions, specifically the 'lambda:InvokeFunction' permission. This is typically achieved by adding a resource-based policy to the Lambda function, granting invoke permissions to the ALB. Without these permissions, the ALB will not be able to trigger the Lambda function in response to incoming requests.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Why does an AWS Lambda function not trigger when accessed via an Application Load Balancer (ALB), despite being registered as a target with a CLI command?
A
Lambda functions are incompatible as ALB targets.
B
Registration with an ALB is restricted to the AWS Management Console.
C
The Lambda function lacks the necessary invocation permissions.
D
The ALB is not configured to allow cross-zone requests.