A developer is using AWS CodePipeline to automate deployments. The pipeline has a source stage that pulls code from an Amazon S3 bucket. Which TWO actions can the developer take to automatically start the pipeline when new code is uploaded to the S3 bucket? (Choose TWO.)
CloudWatch Events can start a pipeline.
Why this answer
Options A and D are correct. S3 events can trigger Lambda or directly start a pipeline via CloudWatch Events. Option B is incorrect because CodeBuild is used for build, not trigger.
Option C is incorrect because SQS is not a direct trigger for CodePipeline. Option E is incorrect because polling is not automatic.