AWS Certified Developer Associate (#35)

A company is using AWS CodeBuild to compile a website from source code stored in AWS CodeCommit. A recent change to the source code has resulted in the CodeBuild project being unable to successfully compile the website. How should the Developer identify the cause of the failures?

Modify the buildspec.yml file to include steps to send the output of build commands to Amazon CloudWatch.
Use a custom Docker image that includes the AWS X-Ray agent in the AWS CodeBuild project configuration.
Check the build logs of the failed phase in the last build attempt in the AWS CodeBuild project build history.
Manually re-run the build process on a local machine so that the output can be visualized.