Correct answer - "Enable S3 and CloudWatch integration" : If there is any build output, the build
environment uploads its output to an Amazon S3 bucket. While the build is running, you can use
the AWS CodeBuild console, AWS CLI, or AWS SDKs, to get summarized build information from AWS
CodeBuild and detailed build information from Amazon CloudWatch Logs.
Incorrect:
"Use AWS Lambda integration" - Lambda is always a great way to use boto3 library to read logs
programmatically but the work has been done for you with S3 and CloudWatch
"Use CloudWatch Events" - You can integrate CloudWatch Events with CodeBuild however since we are
looking for logs only CloudWatch logs already has what we need
"Use Kinesis" - Amazon Kinesis makes it easy to collect, process, and analyze real-time,
streaming data so you can get timely insights and react quickly to new information but an
overkill for our requirement
For more information visit