Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
A developer encounters AccessDeniedException errors after deploying a Lambda function intended to push events to an EventBridge event bus using the SDK. How can they resolve the permission issue?
A
Establish a VPC peering connection for the Lambda function and EventBridge.
B
Update AWS credentials to grant PutEvents permission for EventBridge.
C
Extend the Lambda function's execution role to include the PutEvents permission for EventBridge.
D
Implement a resource-based policy for the Lambda function to permit the PutEvents action for EventBridge.