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

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

Page 5 of 28
QUESTION 16

A DevOps Engineer is building a multi-stage pipeline with AWS CodePipeline to build, verify, stage, test, and deploy an application. There is a manual approval stage required between the test and deploy stages. The development team uses a team chat tool with webhook support.
How can the Engineer configure status updates for pipeline activity and approval requests to post to the chat tool?

  1. A. Create an AWS CloudWatch Logs subscription that filters on "detail-type": "CodePipeline PipelineExecution State Change." Forward that to an Amazon SNS topi
  2. B. Add the chat webhook URL to the SNS topic as a subscriber and complete the subscription validation.
  3. C. Create an AWS Lambda function that is triggered by the updating of AWS CloudTrail event
  4. D. When a "CodePipeline Pipeline Execution State Change" event is detected in the updated events, send the event details to the chat webhook URL.
  5. E. Create an AWS CloudWatch Events rule that filters on "CodePipeline Pipeline Execution State Change." Forward that to an Amazon SNS topi
  6. F. Subscribe an AWS Lambda function to the Amazon SNS topic and have it forward the event to the chat webhook URL.
  7. G. Modify the pipeline code to send event details to the chat webhook URL at the end of each stage.Parametrize the URL so each pipeline can send to a different URL based on the pipeline environment.

Correct Answer: C

QUESTION 17

A healthcare provider has a hybrid architecture that includes 120 on-premises VMware servers running RedHat and 50 Amazon EC2 instances running Amazon Linux. The company is in the middle of an all-in migration to AWS and wants to implement a solution for collecting information from the on-premises virtual machines and the EC2 instances for data analysis. The information includes:
- Operating system type and version
- Data for installed applications
- Network configuration information, such as MAC and IP addresses
- Amazon EC2 instance AMI ID and IAM profile
How can these requirements be met with the LEAST amount of administration?

  1. A. Write a shell script to run as a cron job on EC2 instances to collect and push the data to Amazon S3. For on-premises resources, use VMware vSphere to collect the data and write it into a file gateway forstoring the data in S3. Finally, use Amazon Athena on the S3 bucket for analytics.
  2. B. Use a script on the on-premises virtual machines as well as the EC2 instances to gather and push the data into Amazon S3, and then use Amazon Athena for analytics.
  3. C. Install AWS Systems Manager agents on both the on-premises virtual machines and the EC2 instances.Enable inventory collection and configure resource data sync to an Amazon S3 bucket to analyze the data with Amazon Athena.
  4. D. Use AWS Application Discovery Service for deploying Agentless Discovery Connector in the VMware environment and Discovery Agents on the EC2 instances for collecting the dat
  5. E. Then use the AWS Migration Hub Dashboard for analytics.

Correct Answer: C

QUESTION 18

A Development team is currently using AWS CodeDeploy to deploy an application revision to an Auto Scaling group. If the deployment process fails, it must be rolled back automatically and a notification must be sent.
What is the MOST effective configuration that can satisfy all of the requirements?

  1. A. Create Amazon CloudWatch Events rules for CodeDeploy operation
  2. B. Configure a CloudWatch Events rule to send out an Amazon SNS message when the deployment fail
  3. C. Configure CodeDeploy to automatically roll back when the deployment fails.
  4. D. Use available Amazon CloudWatch metrics for CodeDeploy to create CloudWatch alarm
  5. E. Configure CloudWatch alarms to send out an Amazon SNS message when the deployment fail
  6. F. Use AWS CLI toredeploy a previously deployed revision.
  7. G. Configure a CodeDeploy agent to create a trigger that will send notification to Amazon SNS topics when the deployment fail
  8. H. Configure CodeDeploy to automatically roll back when the deployment fails.
  9. I. Use AWS CloudTrail to monitor API calls made by or on behalf of CodeDeploy in the AWS account.Send an Amazon SNS message when deployment fail
  10. J. Use AWS CLI to redeploy a previously deployed revision.

Correct Answer: C
https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-sns-event-notifications-create-trigger.htm

QUESTION 19

A security review has identified that an AWS CodeBuild project is downloading a database population script from an Amazon S3 bucket using an unauthenticated request. The security team does not allow unauthenticated requests to S3 buckets for this project.
How can this issue be corrected in the MOST secure manner?

  1. A. Add the bucket name to the AllowedBuckets section of the CodeBuild project setting
  2. B. Update the build spec to use the AWS CLI to download the databasepopulation script.
  3. C. Modify the S3 bucket settings to enable HTTPS basic authentication and specify a toke
  4. D. Update the build spec to use cURL to pass the token and download the database population script.
  5. E. Remove unauthenticated access from the S3 bucket with a bucket polic
  6. F. Modify the service role for the CodeBuild project to include Amazon S3 acces
  7. G. Use the AWS CLI to download the database population script.
  8. H. Remove unauthenticated access from the S3 bucket with a bucket polic
  9. I. Use the AWS CLI to download the database population script using an IAM access key and a secret access key.

Correct Answer: C

QUESTION 20

A company has microservices running in AWS Lambda that read data from Amazon DynamoDB. The Lambda code is manually deployed by Developers after successful testing. The company now needs the tests and deployments be automated and run in the cloud. Additionally, traffic to the new versions of each microservice should be incrementally shifted over time after deployment.
What solution meets all the requirements, ensuring the MOST developer velocity?

  1. A. Create an AWS CodePipeline configuration and set up a post-commit hook to trigger the pipeline after tests have passe
  2. B. Use AWS CodeDeploy and create a Canary deployment configuration that specifies the percentage of traffic and interval.
  3. C. Create an AWS CodeBuild configuration that triggers when the test code is pushe
  4. D. Use AWS CloudFormation to trigger an AWS CodePipeline configuration that deploys the new Lambda versions and specifies the traffic shift percentage and interval.
  5. E. Create an AWS CodePipeline configuration and set up the source code step to trigger when code ispushe
  6. F. Set up the build step to use AWS CodeBuild to run the test
  7. G. Set up an AWS CodeDeploy configuration to deploy, then select the CodeDeployDefault.LambdaLinear10PercentEvery3Minutes option.
  8. H. Use the AWS CLI to set up a post-commit hook that uploads the code to an Amazon S3 bucket after tests have passe
  9. I. Set up an S3 event trigger that runs a Lambda function that deploys the new versio
  10. J. Use an interval in the Lambda function to deploy the code over time at the required percentage.

Correct Answer: C
https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html

Page 5 of 28

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