A developer wants to automate the testing of a serverless application built with AWS Lambda and Amazon API Gateway. Which AWS service is best suited for running integration tests as part of a CI/CD pipeline?
CodeBuild can execute test scripts and report results.
Why this answer
Option C is correct because AWS CodeBuild can run integration tests in a managed environment; it supports custom test frameworks. Option A is wrong because CodeDeploy is for deployment, not testing. Option B is wrong because CloudFormation is for infrastructure provisioning.
Option D is wrong because CloudWatch is for monitoring and logging, not running tests.