
Ultimate access to all questions.
An IT company utilizes AWS CodePipeline to automate its software release processes. The development team is looking to enhance this setup by developing a Lambda function that will trigger notifications whenever there are state changes within the CodePipeline.
As an AWS Certified Developer Associate, what steps would you recommend to connect the Lambda function to the appropriate event source within the CodePipeline?
A
Use the CodePipeline console to set up a trigger for the Lambda function
B
Use the Lambda console to configure a trigger that invokes the Lambda function with CodePipeline as the event source
C
Set up an Amazon CloudWatch alarm that monitors status changes in Code Pipeline and triggers the Lambda function
D
Set up an Amazon CloudWatch Events rule that uses CodePipeline as an event source with the target as the Lambda function