Free AWS-DEVOPS-ENGINEER-PROFESSIONAL Exam Braindumps (page: 18)

Page 18 of 53

An application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). A DevOps Engineer is using AWS CodeDeploy to release a new version. The deployment fails during the AllowTra c lifecycle event, but a cause for the failure is not indicated in the deployment logs.
What would cause this?

  1. The appspec.yml le contains an invalid script to execute in the AllowTra c lifecycle hook.
  2. The user who initiated the deployment does not have the necessary permissions to interact with the AL
  3. The health checks speci ed for the ALB target group are miscon gured.
  4. The CodeDeploy agent was not installed in the EC2 instances that are part of the ALB target group.

Answer(s): C


Reference:

https://docs.amazonaws.cn/en_us/codedeploy/latest/userguide/codedeploy-user.pdf (399)



A company has a single developer writing code for an automated deployment pipeline. The developer is storing source code in an Amazon S3 bucket for each project. The company wants to add more developers to the team but is concerned about code con icts and lost work. The company also wants to build a test environment to deploy newer versions of code for testing and allow developers to automatically deploy to both environments when code is changed in the repository.
What is the MOST e cient way to meet these requirements?

  1. Create an AWS CodeCommit repository for each project, use the main branch for production code, and create a testing branch for code deployed to testing. Use feature branches to develop new features and pull requests to merge code to testing and main branches.
  2. Create another S3 bucket for each project for testing code, and use an AWS Lambda function to promote code changes between testing and production buckets. Enable versioning on all buckets to prevent code con icts.
  3. Create an AWS CodeCommit repository for each project, and use the main branch for production and test code with different deployment pipelines for each environment. Use feature branches to develop new features.
  4. Enable versioning and branching on each S3 bucket, use the main branch for production code, and create a testing branch for code deployed to testing. Have developers use each branch for developing in each environment.

Answer(s): A


Reference:

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html



A development team is building an ecommerce application and is using Amazon Simple Noti cation Service (Amazon SNS) to send order messages to multiple endpoints. One of the endpoints is an external HTTP endpoint that is not always available. The development team needs to receive a noti cation if an order message is not delivered to the HTTP endpoint.
What should a DevOps engineer do to meet these requirements?

  1. Create an Amazon Simple Queue Service (Amazon SQS) queue. On the SNS topic, con gure a redrive policy that sends undelivered messages to the SQS queue. Create an Amazon CloudWatch alarm for the new SQS queue to notify the development team when messages are delivered to the queue.
  2. Create an Amazon Simple Queue Service (Amazon SQS) queue. On the HTTP endpoint subscription of the SNS topic, con gure a redrive policy that sends undelivered messages to the SQS queue. Create an Amazon CloudWatch alarm for the new SQS queue to notify the development team when messages are delivered to the queue.
  3. On the SNS topic, con gure an HTTPS delivery policy that will retry delivery until the order message is delivered successfully. Con gure the backoffFunction parameter in the policy to notify the development team when a message cannot be delivered within the set constraints.
  4. On the HTTP endpoint subscription of the SNS topic, con gure an HTTPS delivery policy that will retry delivery until the order message is delivered successfully. Con gure the backoffFunction parameter in the policy to notify the development team when a message cannot be delivered within the set constraints.

Answer(s): B

Explanation:


Reference:

https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html



A company is deploying a container-based application using AWS CodeBuild. The Security team mandates that all containers are scanned for vulnerabilities prior to deployment using a password-protected endpoint. All sensitive information must be stored securely.
Which solution should be used to meet these requirements?

  1. Encrypt the password using AWS KMS. Store the encrypted password in the buildspec.yml le as an environment variable under the variables mapping. Reference the environment variable to initiate scanning.
  2. Import the password into an AWS CloudHSM key. Reference the CloudHSM key in the buildpec.yml le as an environment variable under the variables mapping. Reference the environment variable to initiate scanning.
  3. Store the password in the AWS Systems Manager Parameter Store as a secure string. Add the Parameter Store key to the buildspec.yml le as an environment variable under the parameter-store mapping. Reference the environment variable to initiate scanning.
  4. Use the AWS Encryption SDK to encrypt the password and embed in the buildspec.yml le as a variable under the secrets mapping. Attach a policy to CodeBuild to enable access to the required decryption key.

Answer(s): C



Page 18 of 53



Post your Comments and Discuss Amazon AWS-DEVOPS-ENGINEER-PROFESSIONAL exam with other Community members:

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

Steven commented on April 20, 2020
I have a suggestion for your Xengine Test Engine software. Can you provide the Mobiel version of it too?
CANADA
upvote

CertRunner commented on May 20, 2019
As promised to provide feedback on my previous post, I took the exam today and did well. These dumps really help.
UNITED STATES
upvote

Zion commented on March 27, 2019
Just Purchase this material, will be back to give my review!
UNITED STATES
upvote

explo commented on July 08, 2018
verry good
UNITED STATES
upvote

exploguy commented on June 28, 2018
this is pretty good
UNITED STATES
upvote

centos commented on June 12, 2018
Any one using this for 2019 exam yet? Legit? No response from the support team!?>?
UNITED STATES
upvote

muzammal commented on December 10, 2017
I need this in MS word format please
UNITED STATES
upvote

ncik commented on November 07, 2017
This dump is good, I wrote my exam last week and passed.
MALAYSIA
upvote

nick commented on November 07, 2017
Thanks, this is awesome. Good quality and good support.
UNITED STATES
upvote

Diego commented on September 06, 2017
Very good support and very fast. I recommend this to anyone willing to go for a quick pass.
SWITZERLAND
upvote

Rajesh commented on July 17, 2017
Nice to have it and got a good discount
UNITED STATES
upvote