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

Page 16 of 72

A development team wants to use AWS CloudFormation stacks to deploy an application. However, the developer IAM role does not have the required permissions to provision the resources that are specified in the AWS CloudFormation template. A DevOps engineer needs to implement a solution that allows the developers to deploy the stacks. The solution must follow the principle of least privilege.

Which solution will meet these requirements?

  1. Create an IAM policy that allows the developers to provision the required resources. Attach the policy to the developer IAM role.
  2. Create an IAM policy that allows full access to AWS CloudFormation. Attach the policy to the developer IAM role.
  3. Create an AWS CloudFormation service role that has the required permissions. Grant the developer IAM role a cloudforrnation:* action. Use the new service role during stack deployments.
  4. Create an AWS CloudFormation service role that has the required permissions. Grant the developer IAM role the iam:PassRole permission. Use the new service role during stack deployments.

Answer(s): D



A production account has a requirement that any Amazon EC2 instance that has been logged in to manually must be terminated within 24 hours. All applications in the production account are using Auto Scaling groups with the Amazon CloudWatch Logs agent configured.

How can this process be automated?

  1. Create a CloudWatch Logs subscription to an AWS Step Functions application. Configure an AWS Lambda function to add a tag to the EC2 instance that produced the login event and mark the instance to be decommissioned. Create an Amazon EventBridge rule to invoke a second Lambda function once a day that will terminate all instances with this tag.
  2. Create an Amazon CloudWatch alarm that will be invoked by the login event. Send the notification to an Amazon Simple Notification Service (Amazon SNS) topic that the operations team is subscribed to, and have them terminate the EC2 instance within 24 hours.
  3. Create an Amazon CloudWatch alarm that will be invoked by the login event. Configure the alarm to send to an Amazon Simple Queue Service (Amazon SQS) queue. Use a group of worker instances to process messages from the queue, which then schedules an Amazon EvantBridge rule to be invoked.
  4. Create a CloudWatch Logs subscription in an AWS Lambda function. Configure the function to add a tag to the EC2 instance that produced the login event and mark the instance to be decommissioned. Create an Amazon EventBridge rule to invoke a daily Lambda function that terminates all instances with this tag.

Answer(s): D



A company has enabled all features for its organization in AWS Organizations. The organization contains 10 AWS accounts. The company has turned on AWS CloudTrail in all the accounts. The company expects the number of AWS accounts in the organization to increase to 500 during the next year. The company plans to use multiple OUs for these accounts.

The company has enabled AWS Config in each existing AWS account in the organization. A DevOps engineer must implement a solution that enables AWS Config automatically for all future AWS accounts that are created in the organization.

Which solution will meet this requirement?

  1. In the organization's management account, create an Amazon EventBridge rule that reacts to a CreateAccount API call. Configure the rule to invoke an AWS Lambda function that enables trusted access to AWS Config for the organization.
  2. In the organization's management account, create an AWS CloudFormation stack set to enable AWS Config. Configure the stack set to deploy automatically when an account is created through Organizations.
  3. In the organization's management account, create an SCP that allows the appropriate AWS Config API calls to enable AWS Config. Apply the SCP to the root-level OU.
  4. In the organization's management account, create an Amazon EventBridge rule that reacts to a CreateAccount API call. Configure the rule to invoke an AWS Systems Manager Automation runbook to enable AWS Config for the account.

Answer(s): B



A company has many applications. Different teams in the company developed the applications by using multiple languages and frameworks. The applications run on premises and on different servers with different operating systems. Each team has its own release protocol and process. The company wants to reduce the complexity of the release and maintenance of these applications.

The company is migrating its technology stacks, including these applications, to AWS. The company wants centralized control of source code, a consistent and automatic delivery pipeline, and as few maintenance tasks as possible on the underlying infrastructure.

What should a DevOps engineer do to meet these requirements?

  1. Create one AWS CodeCommit repository for all applications. Put each application’s code in different branch. Merge the branches, and use AWS CodeBuild to build the applications. Use AWS CodeDeploy to deploy the applications to one centralized application server.
  2. Create one AWS CodeCommit repository for each of the applications Use AWS CodeBuild to build the applications one at a time. Use AWS CodeDeploy to deploy the applications to one centralized application server.
  3. Create one AWS CodeCommit repository for each of the applications. Use AWS CodeBuild to build the applications one at a time to create one AMI for each server. Use AWS CloudFormation StackSets to automatically provision and decommission Amazon EC2 fleets by using these AMIs.
  4. Create one AWS CodeCommit repository for each of the applications. Use AWS CodeBuild to build one Docker image for each application in Amazon Elastic Container Registry (Amazon ECR). Use AWS CodeDeploy to deploy the applications to Amazon Elastic Container Service (Amazon ECS) on infrastructure that AWS Fargate manages.

Answer(s): D



Page 16 of 72



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

michrle23 commented on November 08, 2024
The purchase and download is very streamlined. I was able to quickly pay and download my course content. I have now started preparing. Once I finish my exam I will share my experience of the exam.
PAKISTAN
upvote

Dane commented on November 08, 2024
hello there ! can someone confirme that this question are reall quetions and can be a part of exams questions ? thanks a lot. i will take the exams next week but i fell like not ready yet . thanks a lot!
GERMANY
upvote

Anouar commented on November 08, 2024
contenu enrichissant
Anonymous
upvote

Anouar commented on November 08, 2024
Salut ! Quelqu'un a-t-il tenté cet examen récemment ? Si c'est le cas, veuillez me faire savoir si ces questions sont toujours pertinentes et apparaissent dans l'examen sous le même
Anonymous
upvote

Tina commented on November 08, 2024
Looks helpful
Anonymous
upvote

Joseph commented on November 08, 2024
The questions and answers/explanations are very helpful and professional, thank you
Anonymous
upvote

Yadagiri commented on November 08, 2024
good questions
UNITED STATES
upvote

approva commented on November 07, 2024
still preparing
Anonymous
upvote

MAreg commented on November 07, 2024
great questions
POLAND
upvote

MANISH DURAISWAMY commented on November 07, 2024
Good Practices sessions
Anonymous
upvote

Jonhsh commented on November 07, 2024
It's ok to do this quizz
Anonymous
upvote

Joan commented on November 07, 2024
Keep Trying
Anonymous
upvote

ProDumpper commented on November 07, 2024
The questions looks promising and well formatted. But has anyone passed this exam recently? I have heard the exam is very very hard.
Anonymous
upvote

Vin commented on November 07, 2024
Good content
Anonymous
upvote

Mii commented on November 07, 2024
great resource, for the exams Ireland
Anonymous
upvote

Jay Gomes commented on November 07, 2024
Very nice and very good questions
Anonymous
upvote

Jay Gomes commented on November 07, 2024
Nice v nice questions
Anonymous
upvote

Aswin commented on November 07, 2024
Good practice test
INDIA
upvote

Elias commented on November 07, 2024
Really this material supports alot
Anonymous
upvote

DN commented on November 06, 2024
Very helpful
UNITED STATES
upvote

Christine commented on November 06, 2024
Good for practice
Anonymous
upvote

Mike commented on November 06, 2024
Very good website
Anonymous
upvote

Elias commented on November 06, 2024
The revision materials are 100% helpfull.
Anonymous
upvote

Lula commented on November 06, 2024
One of the top exam dumps sites I have ever used. Very clean and decent pricing for the full version.
Singapore
upvote

Paula commented on November 06, 2024
Useful question dumps. I will leave it to that.
Anonymous
upvote

Prabhat Kumar commented on November 06, 2024
Google Google Associate Cloud Engineer
EUROPEAN UNION
upvote

Connor commented on November 06, 2024
This is wild. I did not know these study guides were available online.
UNITED KINGDOM
upvote

Mike commented on November 05, 2024
can anyone explain to me for question 77?
MALAYSIA
upvote

Non-sus user commented on November 05, 2024
good luck y'all
MALAYSIA
upvote

Jondré commented on November 05, 2024
I am writing soon hope this will help me pass first time.
Anonymous
upvote

Farid commented on November 05, 2024
This exam is hard but not as bad as others have stated here. With these question you can pass on first try.
Canada
upvote

Mohammed commented on November 05, 2024
I got a 87.4% in my exam with these questions. Just keep in mind that the full version they sell in PDF format has way way more questions that covers most of the topics in this exam.
UNITED ARAB EMIRATES
upvote

Giordano commented on November 05, 2024
Sono uguali all'esame?
Anonymous
upvote

Luntz commented on November 05, 2024
If you want to just prepare for your exam and then clear it then this is a good source. But not for deep learning.
GERMANY
upvote