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

Page 6 of 72

A company has containerized all of its in-house quality control applications. The company is running Jenkins on Amazon EC2 instances, which require patching and upgrading. The compliance officer has requested a DevOps engineer begin encrypting build artifacts since they contain company intellectual property.

What should the DevOps engineer do to accomplish this in the MOST maintainable manner?

  1. Automate patching and upgrading using AWS Systems Manager on EC2 instances and encrypt Amazon EBS volumes by default.
  2. Deploy Jenkins to an Amazon ECS cluster and copy build artifacts to an Amazon S3 bucket with default encryption enabled.
  3. Leverage AWS CodePipeline with a build action and encrypt the artifacts using AWS Secrets Manager.
  4. Use AWS CodeBuild with artifact encryption to replace the Jenkins instance running on EC2 instances.

Answer(s): D



An IT team has built an AWS CloudFormation template so others in the company can quickly and reliably deploy and terminate an application. The template creates an Amazon EC2 instance with a user data script to install the application and an Amazon S3 bucket that the application uses to serve static webpages while it is running.

All resources should be removed when the CloudFormation stack is deleted. However, the team observes that CloudFormation reports an error during stack deletion, and the S3 bucket created by the stack is not deleted.

How can the team resolve the error in the MOST efficient manner to ensure that all resources are deleted without errors?

  1. Add a DeletionPolicy attribute to the S3 bucket resource, with the value Delete forcing the bucket to be removed when the stack is deleted.
  2. Add a custom resource with an AWS Lambda function with the DependsOn attribute specifying the S3 bucket, and an IAM role. Write the Lambda function to delete all objects from the bucket when RequestType is Delete.
  3. Identify the resource that was not deleted. From the S3 console, empty the S3 bucket and then delete it.
  4. Replace the EC2 and S3 bucket resources with a single AWS OpsWorks Stacks resource. Define a custom recipe for the stack to create and delete the EC2 instance and the S3 bucket.

Answer(s): B



A company has an AWS CodePipeline pipeline that is configured with an Amazon S3 bucket in the eu-west-1 Region. The pipeline deploys an AWS Lambda application to the same Region. The pipeline consists of an AWS CodeBuild project build action and an AWS CloudFormation deploy action.

The CodeBuild project uses the aws cloudformation package AWS CLI command to build an artifact that contains the Lambda function code’s .zip file and the CloudFormation template. The CloudFormation deploy action references the CloudFormation template from the output artifact of the CodeBuild project’s build action.

The company wants to also deploy the Lambda application to the us-east-1 Region by using the pipeline in eu-west-1. A DevOps engineer has already updated the CodeBuild project to use the aws cloudformation package command to produce an additional output artifact for us-east-1.

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

  1. Modify the CloudFormation template to include a parameter for the Lambda function code’s zip file location. Create a new CloudFormation deploy action for us-east-1 in the pipeline. Configure the new deploy action to pass in the us-east-1 artifact location as a parameter override.
  2. Create a new CloudFormation deploy action for us-east-1 in the pipeline. Configure the new deploy action to use the CloudFormation template from the us-east-1 output artifact.
  3. Create an S3 bucket in us-east-1. Configure the S3 bucket policy to allow CodePipeline to have read and write access.
  4. Create an S3 bucket in us-east-1. Configure S3 Cross-Region Replication (CRR) from the S3 bucket in eu-west-1 to the S3 bucket in us-east-1.
  5. Modify the pipeline to include the S3 bucket for us-east-1 as an artifact store. Create a new CloudFormation deploy action for us-east-1 in the pipeline. Configure the new deploy action to use the CloudFormation template from the us-east-1 output artifact.

Answer(s): C,E



A company runs an application on one Amazon EC2 instance. Application metadata is stored in Amazon S3 and must be retrieved if the instance is restarted. The instance must restart or relaunch automatically if the instance becomes unresponsive.

Which solution will meet these requirements?

  1. Create an Amazon CloudWatch alarm for the StatusCheckFailed metric. Use the recover action to stop and start the instance. Use an S3 event notification to push the metadata to the instance when the instance is back up and running.
  2. Configure AWS OpsWorks, and use the auto healing feature to stop and start the instance. Use a lifecycle event in OpsWorks to pull the metadata from Amazon S3 and update it on the instance.
  3. Use EC2 Auto Recovery to automatically stop and start the instance in case of a failure. Use an S3 event notification to push the metadata to the instance when the instance is back up and running.
  4. Use AWS CloudFormation to create an EC2 instance that includes the UserData property for the EC2 resource. Add a command in UserData to retrieve the application metadata from Amazon S3.

Answer(s): B


Reference:

https://aws.amazon.com/premiumsupport/knowledge-center/opsworks-unexpected-start-instance/



Page 6 of 72



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

Md Nur Hosen commented on September 21, 2024
Preparing for exam
Anonymous
upvote

Takki commented on September 21, 2024
I used the exam dumps to pass my test, and now my brain's convinced it's a genius. Thanks to this dumps—I promise I studied... kinda.
Singapore
upvote

Last-Minute Miracles commented on September 21, 2024
Thanks to this exam dumps and for posting it free.
Anonymous
upvote

Jodah commented on September 21, 2024
I don’t always study, but when I do, I use exam dumps. Now I’m certified.
UNITED KINGDOM
upvote

Khoshy commented on September 21, 2024
Passed this exam today. The questions in this exam dumps PDF is valid.
Anonymous
upvote

bobby commented on September 21, 2024
very useful website for practice tests
Anonymous
upvote

Jenkins commented on September 21, 2024
Who knew success could be downloaded? lol
UNITED STATES
upvote

raba commented on September 21, 2024
nice questions
Anonymous
upvote

Gonzalaes commented on September 21, 2024
AI is the way to go. I suggest everyone getting this certificate. And these dumps are making it very easy.
INDIA
upvote

Davis commented on September 21, 2024
Finished with the textbooks and then used this exam dumps questions and passed.
EUROPEAN UNION
upvote

Rabihu commented on September 21, 2024
Very interesting questions
Anonymous
upvote

Mahesh commented on September 21, 2024
Good for learning the syllabus for preparation for exam
Anonymous
upvote

Martinez commented on September 21, 2024
This exam was so hard, I thought I'd need a miracle. Turns out, exam dumps are the next best thing.
NETHERLANDS
upvote

Gawaad commented on September 21, 2024
@Murtaza Ghafoor, I contacted them and they give me these discount codes: 20%OFF and 50%OFF You get 20% if you buy one exam. You get 50% when you buy 2 or more exams.
Anonymous
upvote

Brien commented on September 21, 2024
I passed my az-900 last month and I prepared myself for the exam from this site. The study material was very helpful
UNITED STATES
upvote

Zee commented on September 21, 2024
Are these useful for CAPM exam in 2024?
SOUTH AFRICA
upvote

Murtaza Ghafoor commented on September 20, 2024
Is there any discount available?
Anonymous
upvote

Louis commented on September 20, 2024
I like too much ! How can I downloaded full exame questions!?
MEXICO
upvote

Gill Brown commented on September 20, 2024
Nice questions
UNITED STATES
upvote

Tina commented on September 20, 2024
I need to emphasis that this exam is extremely HARD! So prepare well or else you will fail. I got lucky and passed mine. But I used these dumps and some other sources.
Singapore
upvote

Learner commented on September 20, 2024
Nice coverage
Anonymous
upvote

Sgggggg commented on September 20, 2024
Exam preparation
Anonymous
upvote