A company using AWS CodeCommit for source control wants to automate its continuous integration and continuous deployment pipeline on AWS in its development environment. The company has three requirements: There must be a legal and a security review of any code change to make sure sensitive information is not leaked through the source code. Every change must go through unit testing. Every change must go through a suite of functional testing to ensure functionality. In addition, the company has the following requirements for automation: Code changes should automatically trigger the CI/CD pipeline. Any failure in the pipeline should notify devops-admin@xyz.com. There must be an approval to stage the assets to Amazon S3 after tests have been performed. What should a DevOps Engineer do to meet all of these requirements while following CI/CD best practices?
A) Commit to the development branch and trigger AWS CodePipeline from the development branch. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approval. Use Amazon CloudWatch metrics to detect changes in pipeline stages and Amazon SES for emailing devops-admin@xyz.com.
B) Commit to mainline and trigger AWS CodePipeline from mainline. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approval. Use AWS CloudTrail logs to detect changes in pipeline stages and Amazon SNS for emailing devops-admin@xyz.com.
C) Commit to the development branch and trigger AWS CodePipeline from the development branch. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approval. Use Amazon CloudWatch Events to detect changes in pipeline stages and Amazon SNS for emailing devops-admin@xyz.com.
D) Commit to mainline and trigger AWS CodePipeline from mainline. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approval. Use Amazon CloudWatch Events to detect changes in pipeline stages and Amazon SES for emailing devops-admin@xyz.com.
Correct Answer:
Verified
Q125: The Development team has grown substantially in
Q126: A DevOps Engineer is reviewing a system
Q127: A company wants to use Amazon ECS
Q128: A DevOps Engineer is building a multi-stage
Q129: A government agency has multiple AWS accounts,
Q131: A company is using AWS CodeDeploy to
Q132: A DevOps Engineer is deploying an Amazon
Q133: A company runs a three-tier web application
Q134: A company runs an application on Amazon
Q135: A DevOps Engineer at a startup cloud-based
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents