exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 85 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 85
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

An ecommerce company is looking for ways to deploy an application on AWS that satisfies the following requirements:

• Has a simple and automated application deployment process.
• Has minimal deployment costs while ensuring that at least half of the instances are available to receive end-user requests.
• If the application fails, an automated healing mechanism will replace the affected instances.

Which deployment strategy will meet these requirements?

  • A. Create an AWS Elastic Beanstalk environment and configure it to use Auto Scaling and an Elastic Load Balancer. Use rolling deployments with a batch size of 50%.
  • B. Create an AWS OpsWorks stack. Configure the application layer to use rolling deployments as a deployment strategy. Add an Elastic Load Balancing layer. Enable auto healing on the application layer.
  • C. Use AWS CodeDeploy with Auto Scaling and an Elastic Load Balancer. Use the CodeDeployDefault.HalfAtAtime deployment strategy. Enable an Elastic Load Balancing health check to report the status of the application, and set the Auto Scaling health check to ELB.
  • D. Use AWS CodeDeploy with Auto Scaling and an Elastic Load Balancer. Use a blue/green deployment strategy. Enable an Elastic Load Balancing health check to report the status of the application, and set the Auto Scaling health check to ELB.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SmileyCloud
Highly Voted 2 years, 5 months ago
Selected Answer: A
The keyword is "Has a simple and automated application deployment process." You can't find anything simpler than Beanstalk. Answer: A
upvoted 13 times
vn_thanhtung
11 months, 2 weeks ago
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deploy-existing-version.html#deployments-scenarios how to auto healing ?
upvoted 1 times
...
...
saggy4
Highly Voted 2 years, 4 months ago
Selected Answer: C
A is missing an important aspect of Automatic Healing. Rolling deployments in Elastic Beanstalk if failed are not rollback automatically. hence the answer is C
upvoted 12 times
saggy4
2 years, 4 months ago
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method
upvoted 2 times
...
...
auxwww
Most Recent 9 months, 4 weeks ago
Selected Answer: C
A - Incorrect. EB rolling deployments don't auto rollback C - CodeDeploy deployment configuration can be set to auto rollback
upvoted 1 times
...
Ashutosh123
1 year, 1 month ago
Why not B? https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autohealing.html
upvoted 1 times
...
DucSiu
1 year, 5 months ago
This is C
upvoted 1 times
...
koenigParas2324
1 year, 5 months ago
Selected Answer: C
1.)AWS CodeDeploy with Auto Scaling and an Elastic Load Balancer provides a simple and automated application deployment process. 2.)The CodeDeployDefault.HalfAtAtime deployment strategy ensures minimal deployment costs while ensuring that at least half of the instances are available to receive end-user requests. 3.)AWS CodeDeploy provides an automated healing mechanism that can replace the affected instances if the application fails.
upvoted 1 times
...
Fisiquin
1 year, 5 months ago
Selected Answer: A
It is possible to configure Beanstalk ASG health check for using ELB Elastic Load Balancing health check and monitor the application. From: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environmentconfig-autoscaling-healthchecktype.html "If you want Auto Scaling to replace instances whose application has stopped responding, you can use a configuration file to configure the Auto Scaling group to use Elastic Load Balancing health checks. The following example sets the group to use the load balancer's health checks, in addition to the Amazon EC2 status check, to determine an instance's health"
upvoted 1 times
...
YR4591
1 year, 6 months ago
Selected Answer: C
It'c C. C is not correct: In Beanstalk, in case application is not healthy - instance can still stay: "Amazon EC2 status checks only cover an instance's health, not the health of your application, server, or any Docker containers running on the instance. If your application crashes, but the instance that it runs on is still healthy, it may be kicked out of the load balancer, but Auto Scaling won't replace it automatically. "
upvoted 1 times
...
Dgix
1 year, 6 months ago
Elastic Beanstalk doesn’t have an automated healing mechanism to replace the affected instances. Thus: C.
upvoted 1 times
...
reddddy
1 year, 10 months ago
Selected Answer: C
Considering rolling back i.e healing process .Its C
upvoted 1 times
...
easytoo
1 year, 11 months ago
It's C not A. A. Creating an AWS Elastic Beanstalk environment with Auto Scaling and an Elastic Load Balancer and using rolling deployments with a batch size of 50% does not guarantee that at least half of the instances will be available to receive end-user requests. It is possible that during the deployment process, the application could become partially or completely unavailable.
upvoted 1 times
...
ParagSanyashiv
2 years ago
Selected Answer: A
A is more suitable
upvoted 1 times
...
scottytoohotty
2 years ago
Selected Answer: A
Agree with SmileyCloud
upvoted 1 times
...
Arnaud92
2 years, 2 months ago
Selected Answer: C
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method
upvoted 1 times
...
okm1997_2
2 years, 2 months ago
Selected Answer: A
Beanstalk fulfills all condition
upvoted 1 times
...
Bulti
2 years, 3 months ago
Correct answer is A.
upvoted 4 times
...
wzh5831
2 years, 3 months ago
Selected Answer: A
Should be A, Beanstalk will help to replace failed instance: "If an instance in your environment fails an Amazon EC2 status check, Auto Scaling takes it down and replaces it." https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environmentconfig-autoscaling-healthchecktype.html
upvoted 3 times
YR4591
1 year, 6 months ago
It's C: Regarding A - Beanstalk: "Amazon EC2 status checks only cover an instance's health, not the health of your application, server, or any Docker containers running on the instance. If your application crashes, but the instance that it runs on is still healthy, it may be kicked out of the load balancer, but Auto Scaling won't replace it automatically. "
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago