You've developed a Lambda function and now want to debug it, after the execution completes. You add the necessary print statements in the code to assist in the debugging process. You go to Cloudwatch logs but there are no logs for the Lambda function.
Which of the following could be the underlying issue for this?
A. You’ve not enabled versioning for the Lambda function.
B. The IAM role needed for the lambda function to write the logs to Cloudwatch logs does not have the necessary permissions.
C. There is not enough memory assigned to the function.
D. There is not enough time assigned to the function