Free AWS-Certified-DevOps-Engineer-Professional Exam Braindumps

Pass your Amazon AWS Certified DevOps Engineer Professional exam with these free Questions and Answers

Page 10 of 28
QUESTION 41

A company using AWS CodeCommit for source control wants to automate its continuous integration and continuous deployment pipeline on AWS in its development environment. The company has three requirements:
* 1. There must be a legal and a security review of any code change to make sure sensitive information is not leaked through the source code.
* 2. Every change must go through unit testing.
* 3. Every change must go through a suite of functional testing to ensure functionality. In addition, the company has the following requirements for automation:
* 1. Code changes should automatically trigger the CI/CD pipellline.
* 2. Any failure in the pipeline should notify devops-admin@xyz.com.
* 3. There must be an approval to stage the assets to Amazon S3 after tests have been performed.
What should a DevOps Engineer do to meet all of these requirements while following CI/CD best practices?

  1. A. Commit to the development branch and trigger AWS CodePipeline from the development branc
  2. B. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approva
  3. C. Use Amazon CloudWatch metrics to detect changes in pipeline stages and Amazon SES for emailing devops- admin@xyz.com.
  4. D. Commit to mainline and trigge r AWS CodePipeline from mainlin
  5. E. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approva
  6. F. Use AWS CloudTrail logs to detect changes in pipeline stages and Amazon SNS for emailing devops-admin@xyz.com.
  7. G. Commit to the development branch and trigger AWS CodePipeline from the development branc
  8. H. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approva
  9. I. Use Amazon CloudWatch Events to detect changes in pipeline stages and Amazon SNS for emailing devops- admin@xyz.com.
  10. J. Commit to mainline and trigger AWS CodePipeline from mainlin
  11. K. Make an individual stage in CodePipeline for security review, unit tests, functional tests, and manual approva
  12. L. Use Amazon CloudWatch Events to detect changes in pipeline stages and Amazon SES for emailingdevops-admin@xyz.com.

Correct Answer: C

QUESTION 42

A company is using an AWS CloudFormation template to deploy web applications. The template requires that manual changes be made for each of the three major environments: production, staging, and development. The current sprint includes the new implementation and configuration of AWS CodePipeline for automated deployments.
What changes should the DevOps Engineer make to ensure that the CloudFormation template is reusable across multiple pipelines?

  1. A. Use a CloudFormation custom resource to query the status of the CodePipeline to determine which environment is launche
  2. B. Dynamically alter the launch configuration of the Amazon EC2 instances.
  3. C. Set up a CodePipeline pipeline for each environment to use input parameter
  4. D. Use CloudFormation mappings to switch associated UserData for the Amazon EC2 instances to match the environment being launched.
  5. E. Set up a CodePipeline pipeline that has multiple stages, one for each development environmen
  6. F. Use AWS Lambda functions to trigger CloudFormation deployments to dynamically alter the UserData of the Amazon EC2 instances launched in each environment.
  7. G. Use CloudFormation input parameters to dynamically alter the LaunchConfiguration and UserData sections of each Amazon EC2 instance every time the CloudFormation stack is updated.

Correct Answer: B
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-paramet

QUESTION 43

A DevOps Engineer is deploying a new web application. The company chooses AWS Elastic Beanstalk for deploying and managing the web application, and Amazon RDS MySQL to handle persistent data. The company requires that new deployments have minimal impact if they fail. The application resources must be at full capacity during deployment, and rolling back a deployment must also be possible.
Which deployment sequence will meet these requirements?

  1. A. Deploy the application using Elastic Beanstalk and connect to an external RDS MySQL instance using Elastic Beanstalk environment propertie
  2. B. Use Elastic Beanstalk features for a blue/green deployment to deploy the new release to a separate environment, and then swap the CNAME in the two environments to redirect traffic to the new version.
  3. C. Deploy the application using Elastic Beanstalk, and include RDS MySQL as part of the environment.Use default Elastic Beanstalk behavior to deploy changes to the application, and let rolling updates deploy changes to the application.
  4. D. Deploy the application using Elastic Beanstalk, and include RDS MySQL as part of the environment.Use Elastic Beanstalk immutable updates for application deployments.
  5. E. Deploy the application using Elastic Beanstalk, and connect to an external RDS MySQL instance using Elastic Beanstalk environment propertie
  6. F. Use Elastic Beanstalk immutable updates for application deployments.

Correct Answer: A

QUESTION 44

Your company has multiple applications running on AWS. Your company wants to develop a tool that notifies on-call teams immediately via email when an alarm is triggered in your environment. You have multiple on-call teams that work different shifts, and the tool should handle notifying the correct teams at the correct times. How should you implement this solution?

  1. A. Create an Amazon SNS topic and an Amazon SQS queu
  2. B. Configure the Amazon SQS queue as a subscriber to the Amazon SNS topic.Configure CloudWatch alarms to notify this topic when an alarm is triggere
  3. C. Create an Amazon EC2 Auto Scaling group with both minimum and desired Instances configured to 0. Worker nodes in thisgroup spawn when messages are added to the queu
  4. D. Workers then use Amazon Simple Email Service to send messages to your on call teams.
  5. E. Create an Amazon SNS topic and configure your on-call team email addresses as subscriber
  6. F. Use the AWS SDK tools to integrate your application with Amazon SNS and send messages to this new topi
  7. G. Notifications will be sent to on-call users when a CloudWatch alarm is triggered.
  8. H. Create an Amazon SNS topic and configure your on-call team email addresses as subscriber
  9. I. Create a secondary Amazon SNS topic for alarms and configure your CloudWatch alarms to notify this topic when triggere
  10. J. Create an HTTP subscriber to this topic that notifies your application via HTTP POST when an alarm is triggere
  11. K. Use the AWS SDK tools to integrate your application with Amazon SNS and send messages to the first topic so that on-call engineers receive alerts.
  12. L. Create an Amazon SNS topic for each on-call group, and configure each of these with the team member emails as subscriber
  13. M. Create another Amazon SNS topic and configure your CloudWatch alarms to notify this topic when triggere
  14. N. Create an HTTP subscriber to this topic that notifies your application via HTTP POST when an alarm is triggere
  15. O. Use the AWS SDK tools to integrate your application with Amazon SNS and send messages to the correct team topic when on shift.

Correct Answer: D
Option D fulfils all the requirements
1) First is to create a SNS topic for each group so that the required members get the email addresses.
2) Ensure the application uses the HTTPS endpoint and the SDK to publish messages Option A is invalid because the SQS service is not required.
Option B and C are incorrect. As per the requirement we need to provide notification to only those on-call teams who are working in that particular shift when an alarm is triggered. It need not have to be send to all the on-call teams of the company. With Option B & C, since we are not configuring the SNS topic for each on call team the notifications will be send to all the on-call teams. Hence these 2 options are invalid. For more information on setting up notifications, please refer to the below document link: from AWS
AWS-Certified-DevOps-Engineer-Professional dumps exhibit http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/US_SetupSNS.html

QUESTION 45

A company maintains a stateless web application that is experiencing inconsistent traffic. The company uses AWS CloudFormation to deploy the application. The application runs on Amazon EC2 On-Demand Instances behind an Application Load Balancer (ALB). The instances run across multiple Availability Zones.
The company wants to include the use of Spot Instances while continuing to use a small number of On-Demand Instances to ensure that the application remains highly available.
What is the MOST cost-effective solution that meets these requirements?

  1. A. Add a Spot block resource to the AWS CloudFormation templat
  2. B. Use the diversified allocation strategy with step scaling behind the ALB.
  3. C. Add a Spot block resource to the AWS CloudFormation templat
  4. D. Use the lowest-price allocation strategy with target tracking scaling behind the ALB.
  5. E. Add a Spot Fleet resource to the AWS CloudFormation templat
  6. F. Use the capacity-optimized allocation strategy with step scaling behind the ALB.
  7. G. Add a Spot Fleet resource to the AWS CloudFormation templat
  8. H. Use the diversified allocation strategy with scheduled scaling behind the ALB

Correct Answer: C

Page 10 of 28

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