AWS Certified Developer – Associate — Question 249

A developer registered an AWS Lambda function as a target for an Application Load Balancer (ALB) using a CLI command. However, the Lambda function is not being invoked when the client sends requests through the ALB.

Why is the Lambda function not being invoked?

Answer options

Correct answer: C

Explanation

The correct answer is C because without the proper permissions, the ALB cannot invoke the Lambda function. Option A is incorrect since Lambda functions can be targets for ALBs. Option B is false as Lambda functions can be registered through the CLI. Option D is irrelevant to the invocation of the Lambda function.