DOP-C01 Exam QuestionsBrowse all questions from this exam

DOP-C01 Exam - Question 85


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?

Show Answer
Correct Answer: C

Using AWS CodeDeploy with Auto Scaling and an Elastic Load Balancer meets the requirements for a simple and automated application deployment process. The CodeDeployDefault.HalfAtAtime deployment strategy ensures that at least half of the instances are available to receive end-user requests during deployment. Additionally, enabling an Elastic Load Balancing health check and setting the Auto Scaling health check to ELB ensures that there is an automated healing mechanism to replace affected instances if the application fails.

Discussion

17 comments
Sign in to comment
SmileyCloudOption: A
Dec 1, 2022

The keyword is "Has a simple and automated application deployment process." You can't find anything simpler than Beanstalk. Answer: A

vn_thanhtung
May 22, 2024

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deploy-existing-version.html#deployments-scenarios how to auto healing ?

saggy4Option: C
Dec 15, 2022

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

saggy4
Dec 15, 2022

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method

Bulti
Jan 22, 2023

Correct answer is A.

wzh5831Option: A
Jan 17, 2023

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

YR4591
Oct 30, 2023

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. "

okm1997_2Option: A
Mar 5, 2023

Beanstalk fulfills all condition

Arnaud92Option: C
Mar 5, 2023

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method

scottytoohottyOption: A
Apr 20, 2023

Agree with SmileyCloud

ParagSanyashivOption: A
May 3, 2023

A is more suitable

easytoo
May 29, 2023

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.

reddddyOption: C
Jul 2, 2023

Considering rolling back i.e healing process .Its C

Dgix
Oct 18, 2023

Elastic Beanstalk doesn’t have an automated healing mechanism to replace the affected instances. Thus: C.

YR4591Option: C
Oct 30, 2023

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. "

FisiquinOption: A
Nov 10, 2023

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"

koenigParas2324Option: C
Nov 18, 2023

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.

DucSiu
Nov 28, 2023

This is C

Ashutosh123
Mar 12, 2024

Why not B? https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autohealing.html

auxwwwOption: C
Jul 9, 2024

A - Incorrect. EB rolling deployments don't auto rollback C - CodeDeploy deployment configuration can be set to auto rollback