AWS Certified Developer Associate DVA-C01 – Question429

A company set up a continuous build process that uses AWS CodeBuild and AWS CodeCommit. During he development phase, developers are frequently pushing code and causing significant build failures. The ompany wants a solution that will build code before the developers push the code to the main branch.
Which solution meets these requirements MOST cost-effectively?

A.
Configure am Amazon EC2 instance with the CodeBuild agent to build the code.
B. Configure CodeBuild jobs on AWS for each branch build process.
C. Configure the CodeBuild agent to build the code in the local system.
D. Configure a Jenkins plugin for CodeBuild to run the code build process