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

Page 14 of 72

A company is performing vulnerability scanning for all Amazon EC2 instances across many accounts. The accounts are in an organization in AWS Organizations. Each account's VPCs are attached to a shared transit gateway. The VPCs send traffic to the internet through a central egress VPC. The company has enabled Amazon Inspector in a delegated administrator account and has enabled scanning for all member accounts.

A DevOps engineer discovers that some EC2 instances are listed in the "not scanning" tab in Amazon Inspector.

Which combination of actions should the DevOps engineer take to resolve this issue? (Choose three.)

  1. Verify that AWS Systems Manager Agent is installed and is running on the EC2 instances that Amazon Inspector is not scanning.
  2. Associate the target EC2 instances with security groups that allow outbound communication on port 443 to the AWS Systems Manager service endpoint.
  3. Grant inspector:StartAssessmentRun permissions to the IAM role that the DevOps engineer is using.
  4. Configure EC2 Instance Connect for the EC2 instances that Amazon Inspector is not scanning.
  5. Associate the target EC2 instances with instance profiles that grant permissions to communicate with AWS Systems Manager.
  6. Create a managed-instance activation. Use the Activation Code and the Activation ID to register the EC2 instances.

Answer(s): A,B,E



A development team uses AWS CodeCommit for version control for applications. The development team uses AWS CodePipeline, AWS CodeBuild. and AWS CodeDeploy for CI/CD infrastructure. In CodeCommit, the development team recently merged pull requests that did not pass long-running tests in the code base. The development team needed to perform rollbacks to branches in the codebase, resulting in lost time and wasted effort.

A DevOps engineer must automate testing of pull requests in CodeCommit to ensure that reviewers more easily see the results of automated tests as part of the pull request review.

What should the DevOps engineer do to meet this requirement?

  1. Create an Amazon EventBridge rule that reacts to the pullRequestStatusChanged event. Create an AWS Lambda function that invokes a CodePipeline pipeline with a CodeBuild action that runs the tests for the application. Program the Lambda function to post the CodeBuild badge as a comment on the pull request so that developers will see the badge in their code review.
  2. Create an Amazon EventBridge rule that reacts to the pullRequestCreated event. Create an AWS Lambda function that invokes a CodePipeline pipeline with a CodeBuild action that runs the tests for the application. Program the Lambda function to post the CodeBuild test results as a comment on the pull request when the test results are complete.
  3. Create an Amazon EventBridge rule that reacts to pullRequestCreated and pullRequestSourceBranchUpdated events. Create an AWS Lambda function that invokes a CodePipeline pipeline with a CodeBuild action that runs the tests for the application. Program the Lambda function to post the CodeBuild badge as a comment on the pull request so that developers will see the badge in their code review.
  4. Create an Amazon EventBridge rule that reacts to the pullRequestStatusChanged event. Create an AWS Lambda function that invokes a CodePipeline pipeline with a CodeBuild action that runs the tests for the application. Program the Lambda function to post the CodeBuild test results as a comment on the pull request when the test results are complete.

Answer(s): C



A company has deployed an application in a production VPC in a single AWS account. The application is popular and is experiencing heavy usage. The company's security team wants to add additional security, such as AWS WAF, to the application deployment. However, the application's product manager is concerned about cost and does not want to approve the change unless the security team can prove that additional security is necessary.

The security team believes that some of the application's demand might come from users that have IP addresses that are on a deny list. The security team provides the deny list to a DevOps engineer. If any of the IP addresses on the deny list access the application, the security team wants to receive automated notification in near real time so that the security team can document that the application needs additional security. The DevOps engineer creates a VPC flow log for the production VPC.

Which set of additional steps should the DevOps engineer take to meet these requirements MOST cost-effectively?

  1. Create a log group in Amazon CloudWatch Logs. Configure the VPC flow log to capture accepted traffic and to send the data to the log group. Create an Amazon CloudWatch metric filter for IP addresses on the deny list. Create a CloudWatch alarm with the metric filter as input. Set the period to 5 minutes and the datapoints to alarm to 1. Use an Amazon Simple Notification Service (Amazon SNS) topic to send alarm notices to the security team.
  2. Create an Amazon S3 bucket for log files. Configure the VPC flow log to capture all traffic and to send the data to the S3 bucket. Configure Amazon Athena to return all log files in the S3 bucket for IP addresses on the deny list. Configure Amazon QuickSight to accept data from Athena and to publish the data as a dashboard that the security team can access. Create a threshold alert of 1 for successful access. Configure the alert to automatically notify the security team as frequently as possible when the alert threshold is met.
  3. Create an Amazon S3 bucket for log files. Configure the VPC flow log to capture accepted traffic and to send the data to the S3 bucket. Configure an Amazon OpenSearch Service duster and domain for the log files. Create an AWS Lambda function to retrieve the logs from the S3 bucket, format the logs, and load the logs into the OpenSearch Service cluster. Schedule the Lambda function to run every 5 minutes. Configure an alert and condition in OpenSearch Service to send alerts to the security team through an Amazon Simple Notification Service (Amazon SNS) topic when access from the IP addresses on the deny list is detected.
  4. Create a log group in Amazon CloudWatch Logs. Create an Amazon S3 bucket to hold query results. Configure the VPC flow log to capture all traffic and to send the data to the log group. Deploy an Amazon Athena CloudWatch connector in AWS Lambda. Connect the connector to the log group. Configure Athena to periodically query for all accepted traffic from the IP addresses on the deny list and to store the results in the S3 bucket. Configure an S3 event notification to automatically notify the security team through an Amazon Simple Notification Service (Amazon SNS) topic when new objects are added to the S3 bucket.

Answer(s): A



A DevOps engineer has automated a web service deployment by using AWS CodePipeline with the following steps:

1. An AWS CodeBuild project compiles the deployment artifact and runs unit tests.
2. An AWS CodeDeploy deployment group deploys the web service to Amazon EC2 instances in the staging environment.
3. A CodeDeploy deployment group deploys the web service to EC2 instances in the production environment.

The quality assurance (QA) team requests permission to inspect the build artifact before the deployment to the production environment occurs. The QA team wants to run an internal penetration testing tool to conduct manual tests. The tool will be invoked by a REST API call.

Which combination of actions should the DevOps engineer take to fulfill this request? (Choose two.)

  1. Insert a manual approval action between the test actions and deployment actions of the pipeline.
  2. Modify the buildspec.yml file for the compilation stage to require manual approval before completion.
  3. Update the CodeDeploy deployment groups so that they require manual approval to proceed.
  4. Update the pipeline to directly call the REST API for the penetration testing tool.
  5. Update the pipeline to invoke a Lambda function that calls the REST API for the penetration testing tool.

Answer(s): A,E



Page 14 of 72



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

Larry commented on November 13, 2024
Good content
Anonymous
upvote

Dipu commented on November 13, 2024
Great Source , i feel really good questions
Anonymous
upvote

Dipu commented on November 13, 2024
Nice questions
Anonymous
upvote

Nathaniel Okeke commented on November 13, 2024
nice way to practice for the exam
Anonymous
upvote

Ashwini commented on November 13, 2024
I would appreciate for resources you can provide
INDIA
upvote

Ganiyu Ogunlana commented on November 13, 2024
Great Insight into the exams
Anonymous
upvote

Vuyo commented on November 13, 2024
Very Helpful
Anonymous
upvote

Suleman khan commented on November 13, 2024
Huawei is my favourite I'm enjoying these questions
PAKISTAN
upvote

Pandiyan Venkatraman commented on November 13, 2024
good question
Anonymous
upvote

Eb'Oney commented on November 12, 2024
I think the answer here should be B. Split the Logged column by using at as the delimiter
UNITED STATES
upvote

Hadiza commented on November 12, 2024
useful for exam preparation
Anonymous
upvote

Hadiza commented on November 12, 2024
inspiring and educative
Anonymous
upvote

Hadiza commented on November 12, 2024
Highly resourceful
Anonymous
upvote

Naomie commented on November 12, 2024
Good material very helpful.
Anonymous
upvote

dodol commented on November 12, 2024
ok real exam
Anonymous
upvote

PA commented on November 11, 2024
This questions are valid in Canada. I passed the exam.
CANADA
upvote

JP commented on November 11, 2024
Très intéréssant pour valider son apprentissage
SWITZERLAND
upvote

JP commented on November 11, 2024
Good for exam preparation
SWITZERLAND
upvote

K.U commented on November 11, 2024
@Dane, Yes, questions are very similar to content of real exam. I managed to pass the test.
Anonymous
upvote

siva N commented on November 11, 2024
this absolutely make the test easy!!!
INDIA
upvote

Isadora Guimarães commented on November 10, 2024
Very good to study
UNITED STATES
upvote

Noah commented on November 10, 2024
Does this dump include the lab solution as well?
Anonymous
upvote

Cardo commented on November 10, 2024
Helpful explanations
Anonymous
upvote

Anonymous commented on November 10, 2024
Good ONE FOR mcd l2
INDIA
upvote

derar commented on November 10, 2024
The study material was very helpful
Anonymous
upvote

Kavya M T commented on November 09, 2024
Good questions
Anonymous
upvote

Ali commented on November 09, 2024
This dump helped me pass my exam. Relevant content.
Canada
upvote

Bahawan commented on November 09, 2024
This website provides these questions for free which is appreciated. A massing assistance to my preparation.
INDIA
upvote

Rasmita commented on November 09, 2024
This is a good braindumps. So many questions in the exam from this dump.
Anonymous
upvote

Jermy commented on November 09, 2024
I made my exam today and I did good. I did not just use books but used this exam dumps questions and passed good.
FRANCE
upvote

Nitin Kumar commented on November 09, 2024
I signed up for the premium version. I paid for the PDF version and download my documents and started my studies. Satisfied csutomer so far.
UNITED STATES
upvote

Bowen commented on November 09, 2024
Found this site by searching Google 2 months ago. I user the 50% discount sale to buy 2 premium exams. The first one was good and I successfully passed the test. Now I am working on the second exam. I hope I get the same result.
Singapore
upvote

Prathamesh Chandrakant Shembade commented on November 08, 2024
I am eger to write cad exaam
EUROPEAN UNION
upvote

Prathamesh Chandrakant Shembade commented on November 08, 2024
practice for cad
UNITED STATES
upvote