Free AWS Certified DevOps Engineer - Professional DOP-C02 Exam Braindumps (page: 18)

Page 18 of 72

A development team uses AWS CodeCommit, AWS CodePipeline, and AWS CodeBuild to develop and deploy an application. Changes to the code are submitted by pull requests. The development team reviews and merges the pull requests, and then the pipeline builds and tests the application.

Over time, the number of pull requests has increased. The pipeline is frequently blocked because of failing tests. To prevent this blockage, the development team wants to run the unit and integration tests on each pull request before it is merged.

Which solution will meet these requirements?

  1. Create a CodeBuild project to run the unit and integration tests. Create a CodeCommit approval rule template. Configure the template to require the successful invocation of the CodeBuild project. Attach the approval rule to the project's CodeCommit repository.
  2. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to match pullRequestCreated events from CodeCommit. Create a CodeBuild project to run the unit and integration tests. Configure the CodeBuild project as a target of the EventBridge (CloudWatch Events) rule that includes a custom event payload with the CodeCommit repository and branch information from the event.
  3. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to match pullRequestCreated events from CodeCommit. Modify the existing CodePipeline pipeline to not run the deploy steps if the build is started from a pull request. Configure the EventBridge (CloudWatch Events) rule to run the pipeline with a custom payload that contains the CodeCommit repository and branch information from the event.
  4. Create a CodeBuild project to run the unit and integration tests. Create a CodeCommit notification rule that matches when a pull request is created or updated. Configure the notification rule to invoke the CodeBuild project.

Answer(s): B



A company has an application that runs on a fleet of Amazon EC2 instances. The application requires frequent restarts. The application logs contain error messages when a restart is required. The application logs are published to a log group in Amazon CloudWatch Logs.

An Amazon CloudWatch alarm notifies an application engineer through an Amazon Simple Notification Service (Amazon SNS) topic when the logs contain a large number of restart-related error messages. The application engineer manually restarts the application on the instances after the application engineer receives a notification from the SNS topic.

A DevOps engineer needs to implement a solution to automate the application restart on the instances without restarting the instances.

Which solution will meet these requirements in the MOST operationally efficient manner?

  1. Configure an AWS Systems Manager Automation runbook that runs a script to restart the application on the instances. Configure the SNS topic to invoke the runbook.
  2. Create an AWS Lambda function that restarts the application on the instances. Configure the Lambda function as an event destination of the SNS topic.
  3. Configure an AWS Systems Manager Automation runbook that runs a script to restart the application on the instances. Create an AWS Lambda function to invoke the runbook. Configure the Lambda function as an event destination of the SNS topic.
  4. Configure an AWS Systems Manager Automation runbook that runs a script to restart the application on the instances. Configure an Amazon EventBridge rule that reacts when the CloudWatch alarm enters ALARM state. Specify the runbook as a target of the rule.

Answer(s): D



A DevOps engineer at a company is supporting an AWS environment in which all users use AWS IAM identity Center (AWS Single Sign-On). The company wants to immediately disable credentials of any new IAM user and wants the security team to receive a notification.

Which combination of steps should the DevOps engineer take to meet these requirements? (Choose three.)

  1. Create an Amazon EventBridge rule that reacts to an IAM CreateUser API call in AWS CloudTrail.
  2. Create an Amazon EventBridge rule that reacts to an IAM GetLoginProfile API call in AWS CloudTrail.
  3. Create an AWS Lambda function that is a target of the EventBridge rule. Configure the Lambda function to disable any access keys and delete the login profiles that are associated with the IAM user.
  4. Create an AWS Lambda function that is a target of the EventBridge rule. Configure the Lambda function to delete the login profiles that are associated with the IAM user.
  5. Create an Amazon Simple Notification Service (Amazon SNS) topic that is a target of the EventBridge rule. Subscribe the security team’s group email address to the topic.
  6. Create an Amazon Simple Queue Service (Amazon SQS) queue that is a target of the Lambda function. Subscribe the security team's group email address to the queue.

Answer(s): A,C,E



A company wants to set up a continuous delivery pipeline. The company stores application code in a private GitHub repository. The company needs to deploy the application components to Amazon Elastic Container Service (Amazon ECS). Amazon EC2, and AWS Lambda. The pipeline must support manual approval actions.

Which solution will meet these requirements?

  1. Use AWS CodePipeline with Amazon ECS. Amazon EC2, and Lambda as deploy providers.
  2. Use AWS CodePipeline with AWS CodeDeploy as the deploy provider.
  3. Use AWS CodePipeline with AWS Elastic Beanstalk as the deploy provider.
  4. Use AWS CodeDeploy with GitHub integration to deploy the application.

Answer(s): B



Page 18 of 72



Post your Comments and Discuss Amazon AWS Certified DevOps Engineer - Professional DOP-C02 exam with other Community members:

hassan commented on October 01, 2024
Hoping the Dumps will help
CANADA
upvote

Fred commented on October 01, 2024
Thank you for putting together these questions. The PDF was great but the test engine needs a lot of enhancement.
UNITED KINGDOM
upvote

Solomon commented on October 01, 2024
I passed the SAAC03 on Saturday. These guys are doing a great job on this platform and they deserve the credit. Their questions are valid and thoroughly reviewed. I recommend subscribing to Freebrain dumps
Anonymous
upvote

Jeff commented on October 01, 2024
Question 11 is Form Choice (Answer D) - explanation is examining the answer
CANADA
upvote

Cleo commented on October 01, 2024
great resource, for the exams Ireland
Anonymous
upvote

shilpa commented on October 01, 2024
hi neee help in preparation of my exam
Anonymous
upvote

Petro UA commented on October 01, 2024
hate DNS questions. So need to practice more
UNITED STATES
upvote

Trying Out commented on September 30, 2024
useful to learn and prep for integ architect
Anonymous
upvote

Nope commented on September 30, 2024
Prince2 v6, about 10% of the answers are wrong
UNITED KINGDOM
upvote

Viney commented on September 30, 2024
Brilliant!!! Spot on questions. Passed with on the first go. Can't say thank you enough.
Italy
upvote

A commented on September 30, 2024
Good questiond
Anonymous
upvote

MM commented on September 30, 2024
is there anyone who wrote and pass using this dump?
SOUTH AFRICA
upvote

Chris commented on September 30, 2024
This is a very good resource. Reliable and cheap.
UNITED STATES
upvote

DeMalio commented on September 30, 2024
Very helpful and very accurate. Could not have passed this exam without this exam dump. Very grateful.
UNITED STATES
upvote

Pragati commented on September 30, 2024
Useful Resources
Anonymous
upvote

Dan commented on September 30, 2024
hi Thanks could you provide scenario based questions ?
FRANCE
upvote

Ashitosh commented on September 30, 2024
I m Ashitosh
JAPAN
upvote

Chipo Musenge commented on September 30, 2024
These revision are so insightful.
Anonymous
upvote

Han commented on September 30, 2024
I found the questions very helpful. I saw most users are saying that this exam is very hard. So I am trying every option to prepare and pass.
Anonymous
upvote

Lucas commented on September 30, 2024
Thank you! Great material
ISRAEL
upvote

Alejandro commented on September 30, 2024
My exam is coming up this week. I have prepared using this exam dumps. Let's see how it goes and I will share my result here.
UNITED STATES
upvote

Mary commented on September 29, 2024
This is a great material to study
COLOMBIA
upvote

Lorry commented on September 29, 2024
Hello users of this website, This exam is easy to pass with this study guide. All practice questions are the same as the real exam. I passed and got 93%.
Anonymous
upvote

Rizwan commented on September 29, 2024
It's very useful information in the reveal solutions.
Anonymous
upvote

Rizwan commented on September 29, 2024
I am trying to learn question and answer to attempt Exam tomorrow morning.
Anonymous
upvote

Elon commented on September 29, 2024
Hi! Has anyone attempted this exam recently? If so, please let me know if these questions are still relevant and appearing in the exam in the same format.
Anonymous
upvote

B commented on September 28, 2024
first time user, is this reliable
Anonymous
upvote

Parm commented on September 28, 2024
Good questions so far
UNITED STATES
upvote

Parm commented on September 28, 2024
Very good questions so far
UNITED STATES
upvote

Parminder commented on September 28, 2024
Good questions
UNITED STATES
upvote

Suresh G commented on September 28, 2024
Good content.
UNITED STATES
upvote

EG commented on September 28, 2024
Correct and explained answers. Thank you.
Anonymous
upvote

Haleem commented on September 28, 2024
This exam dump came to my rescue. Questions were very close to actual exam and I passed with 84%.
UNITED KINGDOM
upvote

krithika commented on September 28, 2024
Helpful ,Thank for the resources
Anonymous
upvote