Correct answer - "Give AWS CodeBuild permission to upload the build output to your Amazon S3
bucket" : If you choose ProjectArtifacts and your value type is S3 then the build project stores
build output in Amazon Simple Storage Service (Amazon S3). For that you will need to give AWS
CodeBuild permissions to upload.
"Configure AWS CodeBuild to store output artifacts on EC2 servers" - EC2 servers are not a valid
output location
"Give AWS CodeCommit permission to upload the build output to your Amazon S3 bucket" - AWS
CodeCommit is the repository that holds source code and has no control over compiling the source
code
"Contact AWS Support to allow AWS CodePipeline to manage build outputs" - You can set AWS
CodePipeline to manage its build output locations instead of AWS CodeBuild.