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

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

Page 2 of 28
QUESTION 1

A DevOps Engineer has several legacy applications that all generate different log formats. The Engineer must standardize the formats before writing them to Amazon S3 for querying and analysis.
How can this requirement be met at the LOWEST cost?

  1. A. Have the application send its logs to an Amazon EMR cluster and normalize the logs before sending them to Amazon S3
  2. B. Have the application send its logs to Amazon QuickSight then use the Amazon QuickSight SPICE engine to normalize the logs Do the analysis directly from Amazon QuickSight.
  3. C. Keep the logs in Amazon S3 and use Amazon Redshift Spectrum to normalize the logs in place
  4. D. Use Amazon Kinesis Agent on each server to upload the logs and have Amazon Kinesis Data Firehose use an AWS Lambda function to normalize the logs before writing them to Amazon S3

Correct Answer: D

QUESTION 2

A company is deploying a new application that uses Amazon EC2 instances. The company needs a solution to query application logs and AWS account API activity. Which solution will meet these requirements?

  1. A. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon CloudWatch Logs.Configure AWS CloudTrail to deliver the API logs to Amazon S3. Use CloudWatch to query both sets of logs.
  2. B. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon CloudWatch Logs.Configure AWS CloudTrail to deliver the API logs to CloudWatch Log
  3. C. Use CloudWatch Logs Insights to query both sets of logs.
  4. D. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon Kinesi
  5. E. Configure AWS CloudTrail to deliver the API logs to Kinesi
  6. F. Use Kinesis to load the data into Amazon Redshif
  7. G. Use Amazon Redshift to query both sets of logs.
  8. H. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon S3. Use AWS CloudTrail to deliver the API logs to Amazon S3. Use Amazon Athena to query both sets of logs in Amazon S3.

Correct Answer: A

QUESTION 3

A development team manages website deployments using AWS CodeDeploy blue/green deployments. The application is running on Amazon EC2 instances behind an Application Load Balancer in an Auto Scaling group.
When deploying a new revision, the team notices the deployment eventually fails, but it takes a long time to fail. After further inspection, the team discovers the AllowTrafflc lifecycle event ran for an hour and eventually failed without providing any other information. The team wants to ensure failure notices are delivered more quickly while maintaining application availability even upon failure.
Which combination of actions should be taken to meet these requirements? (Select TWO.)

  1. A. Change the deployment configuration to CodeDeployDefault.AIIAtOnce to speed up the deployment process by deploying to all of the instances at the same time.
  2. B. Create a CodeDeploy trigger for the deployment failure event and make the deployment fail as soon as a single health check failure is detected.
  3. C. Reduce the HealthChecklntervalSeconds and UnhealthyThresholdCount values within the target group health checks to decrease the amount of time it takes for the application to be considered unhealthy.
  4. D. Use the appspec.yml file to run a script on the AllowTraffic hook to perform lighter health checks on the application instead of making CodeDeploy wait for the target group health checks to pass.
  5. E. Use the appspec.yml file to run a script on the BeforeAllowTraffic hook to perform health checks on the application and fail the deployment if the health checks performed by the script are not successful.

Correct Answer: AE

QUESTION 4

A web application for healthcare services runs on Amazon EC2 instances behind an ELB Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. A DevOps Engineer must create a mechanism in which an EC2 instance can be taken out of production so its system logs can be analyzed for issues to quickly troubleshot problems on the web tier.
How can the Engineer accomplish this task while ensuring availability and minimizing downtime?

  1. A. Implement EC2 Auto Scaling groups cooldown period
  2. B. Use EC2 instance metadata to determine the instance state, and an AWS Lambda function to snapshot Amazon EBS volumes to preserve system logs.
  3. C. Implement Amazon CloudWatch Events rule
  4. D. Create an AWS Lambda function that can react to an instance termination to deploy the CloudWatch Logs agent to upload the system and access logs to Amazon S3 for analysis.
  5. E. Terminate the EC2 instances manuall
  6. F. The Auto Scaling service will upload all log information toCloudWatch Logs for analysis prior to instance termination.
  7. G. Implement EC2 Auto Scaling groups with lifecycle hook
  8. H. Create an AWS Lambda function that can modify an EC2 instance lifecycle hook into a standby state, extract logs from the instance through a remote script execution, and place them in an Amazon S3 bucket for analysis.

Correct Answer: D

QUESTION 5

A DevOps Engineer must track the health of a stateless RESTful service sitting behind a Classic Load Balancer. The deployment of new application revisions is through a Cl/CD pipeline. If the service's latency increases beyond a defined threshold, deployment should be stopped until the service has recovered.
Which of the following methods allow for the QUICKEST detection time?

  1. A. Use Amazon CloudWatch metrics provided by Elastic Load Balancing to calculate average latency.Alarm and stop deployment when latency increases beyond the defined threshold.
  2. B. Use AWS Lambda and Elastic Load Balancing access logs to detect average latenc
  3. C. Alarm and stop deployment when latency increases beyond the defined threshold.
  4. D. Use AWS CodeDeploy's Minimum Healthy Hosts setting to define thresholds for rolling back deployment
  5. E. If these thresholds are breached, roll back the deployment.
  6. F. Use Metric Filters to parse application logs in Amazon CloudWatch Log
  7. G. Create a filter for latency.Alarm and stop deployment when latency increases beyond the defined threshold.

Correct Answer: A
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-cloudwatch-metrics.html https://docs.aws.amazon.com/codedeploy/latest/userguide/deployments-stop.html

Page 2 of 28

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