Multiple Choice
A Development team creates a build project in AWS CodeBuild. The build project invokes automated tests of modules that access AWS services. Which of the following will enable the tests to run the MOST securely?
A) Generate credentials for an IAM user with a policy attached to allow the actions on AWS services. Store credentials as encrypted environment variables for the build project. As part of the build script, obtain the credentials to run the integration tests.
B) Have CodeBuild run only the integration tests as a build job on a Jenkins server. Create a role that has a policy attached to allow the actions on AWS services. Generate credentials for an IAM user that is allowed to assume the role. Configure the credentials as secrets in Jenkins, and allow the build job to use them to run the integration tests.
C) Create a service role in IAM to be assumed by CodeBuild with a policy attached to allow the actions on AWS services. Configure the build project to use the role created.
D) Use AWS managed credentials. Encrypt the credentials with AWS KMS. As part of the build script, decrypt with AWS KMS and use these credentials to run the integration tests.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: You need to know when you spend
Q2: What is required to achieve gigabit network
Q4: A DevOps team wants to implement their
Q5: A company gives its employees limited rights
Q6: You need to replicate API calls across
Q7: You have a high security requirement for
Q8: Management has reported an increase in the
Q9: You have been tasked with deploying a
Q10: A DevOps Engineer is working with an
Q11: A root account has created an IAM