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

Page 11 of 72

A DevOps engineer is building a multistage pipeline with AWS CodePipeline to build, verify, stage, test, and deploy an application. A manual approval stage is required between the test stage and the deploy stage. The development team uses a custom chat tool with webhook support that requires near-real-time notifications.

How should the DevOps engineer configure status updates for pipeline activity and approval requests to post to the chat tool?

  1. Create an Amazon CloudWatch Logs subscription that filters on CodePipeline Pipeline Execution State Change. Publish subscription events to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the chat webhook URL to the SNS topic, and complete the subscription validation.
  2. Create an AWS Lambda function that is invoked by AWS CloudTrail events. When a CodePipeline Pipeline Execution State Change event is detected, send the event details to the chat webhook URL.
  3. Create an Amazon EventBridge (Amazon CloudWatch Events) rule that filters on CodePipeline Pipeline Execution State Change. Publish the events to an Amazon Simple Notification Service (Amazon SNS) topic. Create an AWS Lambda function that sends event details to the chat webhook URL. Subscribe the function to the SNS topic.
  4. Modify the pipeline code to send the event details to the chat webhook URL at the end of each stage. Parameterize the URL so that each pipeline can send to a different URL based on the pipeline environment.

Answer(s): C



A company’s application development team uses Linux-based Amazon EC2 instances as bastion hosts. Inbound SSH access to the bastion hosts is restricted to specific IP addresses, as defined in the associated security groups. The company’s security team wants to receive a notification if the security group rules are modified to allow SSH access from any IP address.

What should a DevOps engineer do to meet this requirement?

  1. Create an Amazon EventBridge (Amazon CloudWatch Events) rule with a source of aws.cloudtrail and the event name AuthorizeSecurityGroupIngress. Define an Amazon Simple Notification Service (Amazon SNS) topic as the target.
  2. Enable Amazon GuardDuty and check the findings for security group in AWS Security Hub. Configure an Amazon EventBridge (Amazon CloudWatch Events) rule with a custom pattern that matches GuardDuty events with an output of NON_COMPLIANT. Define an Amazon Simple Notification Service (Amazon SNS) topic as the target.
  3. Create an AWS Config rule by using the restricted-ssh managed rule to check whether security groups disallow unrestricted incoming SSH traffic. Configure automatic remediation to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic.
  4. Enable Amazon Inspector. Include the Common Vulnerabilities and Exposures-1.1 rules package to check the security groups that are associated with the bastion hosts. Configure Amazon Inspector to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic.

Answer(s): C



A DevOps team manages an API running on-premises that serves as a backend for an Amazon API Gateway endpoint. Customers have been complaining about high response latencies, which the development team has verified using the API Gateway latency metrics in Amazon CloudWatch. To identify the cause, the team needs to collect relevant data without introducing additional latency.

Which actions should be taken to accomplish this? (Choose two.)

  1. Install the CloudWatch agent server side and configure the agent to upload relevant logs to CloudWatch.
  2. Enable AWS X-Ray tracing in API Gateway, modify the application to capture request segments, and upload those segments to X-Ray during each request.
  3. Enable AWS X-Ray tracing in API Gateway, modify the application to capture request segments, and use the X-Ray daemon to upload segments to X-Ray.
  4. Modify the on-premises application to send log information back to API Gateway with each request.
  5. Modify the on-premises application to calculate and upload statistical data relevant to the API service requests to CloudWatch metrics.

Answer(s): A,C



A company has an application that is using a MySQL-compatible Amazon Aurora Multi-AZ DB cluster as the database. A cross-Region read replica has been created for disaster recovery purposes. A DevOps engineer wants to automate the promotion of the replica so it becomes the primary database instance in the event of a failure.

Which solution will accomplish this?

  1. Configure a latency-based Amazon Route 53 CNAME with health checks so it points to both the primary and replica endpoints. Subscribe an Amazon SNS topic to Amazon RDS failure notifications from AWS CloudTrail and use that topic to trigger an AWS Lambda function that will promote the replica instance as the master.
  2. Create an Aurora custom endpoint to point to the primary database instance. Configure the application to use this endpoint. Configure AWS CloudTrail to run an AWS Lambda function to promote the replica instance and modify the custom endpoint to point to the newly promoted instance.
  3. Create an AWS Lambda function to modify the application’s AWS Cloud Formation template to promote the replica, apply the template to update the stack, and point the application to the newly promoted instance. Create an Amazon CloudWatch alarm to trigger this Lambda function after the failure event occurs.
  4. Store the Aurora endpoint in AWS Systems Manager Parameter Store. Create an Amazon EventBridge (Amazon CloudWatch Events) event that defects the database failure and runs an AWS Lambda function topromote the replica instance and update the endpoint URL stored in AWS Systems Manager Parameter Store. Code the application to reload the endpoint from Parameter Store if a database connection fails.

Answer(s): D



Page 11 of 72



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

cron commented on November 23, 2024
care to share those who bought this exam guide? more power
Anonymous
upvote

Lakshminarsimhan.R commented on November 23, 2024
The questions and answers are good in this portal, kindly please add comments as well for answers, so that it will be very hepful.
Anonymous
upvote

Naredn commented on November 22, 2024
Best practices at one place
Anonymous
upvote

max commented on November 22, 2024
thanks, i appreciate it
CANADA
upvote

Fefe commented on November 22, 2024
Great so far
Anonymous
upvote

sami commented on November 22, 2024
is the quation real exam?
GERMANY
upvote

sami commented on November 22, 2024
is The Quation from real exam or not
GERMANY
upvote

sam commented on November 22, 2024
practice for cad
RESERVED
upvote

James commented on November 21, 2024
I love this
CANADA
upvote

siii commented on November 21, 2024
great resources for exam
INDIA
upvote

Tom commented on November 21, 2024
Can anyone confirm if these questions are still valid?
SOUTH AFRICA
upvote

Harshit Soni commented on November 21, 2024
Good explanation
INDIA
upvote

Devopsengineer commented on November 21, 2024
review my knowledge to take an exam
UNITED STATES
upvote

gopu singh commented on November 21, 2024
ok ok ok ok
INDIA
upvote

huiyi commented on November 21, 2024
Great dumps to practice
Anonymous
upvote

Harshit Soni commented on November 21, 2024
Questions looks technical and authentic
INDIA
upvote

FN commented on November 21, 2024
Great work team!
ITALY
upvote

raj commented on November 20, 2024
it is good comare to other sites
Anonymous
upvote

bpop commented on November 20, 2024
@Patak when did you take the exam?
UNITED STATES
upvote

Rab commented on November 20, 2024
Useful reference
Anonymous
upvote

Pallavi commented on November 20, 2024
Preparing for certification
EUROPEAN UNION
upvote

John Okediji commented on November 20, 2024
I like it. It's helping me prepare well for my exam.
Anonymous
upvote

aam commented on November 20, 2024
great lesson
Anonymous
upvote

Ajay commented on November 20, 2024
Best exam questions & answers
Anonymous
upvote

Diago commented on November 19, 2024
Unless you use these so called exam dumps to prepare for your exam you are not going to be able to pass your exam. The questions are tricky, confusing and very hard.
Brazil
upvote

Soman commented on November 19, 2024
Hay Guys, I just got my first certificate. This exam dumps worked well... but I also studied prior to coming across this site.
UNITED KINGDOM
upvote

Mike commented on November 19, 2024
In my opinion, they work well for me, but it depends on how you approach them. My method isn't about memorizing the exact questions and answers from the practice tests to use on the real exam. Instead, I focus on understanding why I got certain questions wrong so I can deepen my comprehension of the material.
EUROPEAN UNION
upvote

Mohan commented on November 19, 2024
I did not want to not to book my test and walk into a test center without being prepared as this exam is very hard. So I studied and used the full/paid version of these questions and passed my exam.
India
upvote

Shu commented on November 19, 2024
Considerably good.
UNITED STATES
upvote

Ji commented on November 19, 2024
Gute Vorbereitung auf DITS
GERMANY
upvote

EdvinO commented on November 19, 2024
Took the test today and passed. I learned a lot from practicing these questions
NETHERLANDS
upvote

Person McPersonface commented on November 19, 2024
Just took the exam. Many of these questions are on it. Best to study this hard!
FRANCE
upvote

Dior commented on November 19, 2024
Hi i'm about to pass my exam this week and hope that it will work for meD
Anonymous
upvote

Dipu commented on November 19, 2024
Awesome and really good questions to pass the exam if we lean the Solution details
Anonymous
upvote