exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 95 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 95
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company using AWS CodeCommit for source control wants to automate its continuous integration and continuous delivery pipeline on AWS in its development environment. The company has three requirements:

1. 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.
2. Every change must go through unit testing.
3. Every change must go through a suite of functional testing to ensure functionality.

In addition, the company has the following requirements for automation:

1. Code changes should automatically trigger the CI/CD pipeline.
2. Any failure in the pipeline should notify [email protected].
3. 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 Cl/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 [email protected].
  • 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 [email protected].
  • 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 [email protected].
  • 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 [email protected].
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nsvijay04b1
Highly Voted 2 years, 4 months ago
Selected Answer: C
Always Commit to the development branch not on mainline and trigger AWS CodePipeline from the development branch. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approval. Amazon CloudWatch Events to detect changes in pipeline "CodePipeline Stage Execution State Change" and Target a Amazon SNS topic.
upvoted 6 times
...
easytoo
Most Recent 2 years, 1 month ago
c-c-c-c-c-c-c--c-c-c-
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: C
B and D: what is "from mainline" ? A: CloudWatch metrics does not help to detect changes in pipeline stages
upvoted 2 times
...
Bulti
2 years, 3 months ago
Selected Answer: C
C is correct.
upvoted 2 times
...
Imstack
2 years, 4 months ago
CCCCCCCCCCCCCCCCCCCCCCCC
upvoted 1 times
...
saggy4
2 years, 4 months ago
Selected Answer: C
A and D - SES instead of SNS B - Cloudtrail does not logs for failed pipeline runs C - is the correct answer, SNS for email and Cloudwatch Events for failed triggers
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago