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?
A . Modify the buildspec.yml file to include steps to send the output of build commands to Amazon CloudWatch.
B . Use a custom Docker image that includes the AWS X-Ray agent in the AWS CodeBuild project configuration.
C . Check the build logs of the failed phase in the last build attempt in the AWS CodeBuild project build history.
D . Manually re-run the build process on a local machine so that the output can be visualized.
Answer: A