Question 123:
A company has set up the following structure to ensure that their S3 buckets always have logging enabled. If there are any changes to the configuration to an S3 bucket, a config rule gets checked. If logging is disabled, a Lambda function is invoked. This Lambda function will again enable logging on the S3 bucket. Now there is an issue being encountered with the entire flow. You have verified that the Lambda function has been invoked. But when logging is disabled for the bucket, the lambda function does not enable it again. Which of the following could be an issue?
Answer options:
A.The AWS Config rule is not configured properly. B.The AWS Lambda function does not have appropriate permissions for the bucket. C.The AWS Lambda function should use Node.js instead of python. D.You need to use the API gateway to invoke the lambda function.