exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 73 discussion

A company has an application that runs on Amazon EC2 instances that are in an Auto Scaling group. When the application starts up. the application needs to process data from an Amazon S3 bucket before the application can start to serve requests.
The size of the data that is stored in the S3 bucket is growing. When the Auto Scaling group adds new instances, the application now takes several minutes to download and process the data before the application can serve requests. The company must reduce the time that elapses before new EC2 instances are ready to serve requests.
Which solution is the MOST cost-effective way to reduce the application startup time?

  • A. Configure a warm pool for the Auto Scaling group with warmed EC2 instances in the Stopped state. Configure an autoscaling:EC2_INSTANCE_LAUNCHING lifecycle hook on the Auto Scaling group. Modify the application to complete the lifecycle hook when the application is ready to serve requests.
  • B. Increase the maximum instance count of the Auto Scaling group. Configure an autoscaling:EC2_INSTANCE_LAUNCHING lifecycle hook on the Auto Scaling group. Modify the application to complete the lifecycle hook when the application is ready to serve requests.
  • C. Configure a warm pool for the Auto Scaling group with warmed EC2 instances in the Running state. Configure an autoscaling:EC2_INSTANCE_LAUNCHING lifecycle hook on the Auto Scaling group. Modify the application to complete the lifecycle hook when the application is ready to serve requests.
  • D. Increase the maximum instance count of the Auto Scaling group. Configure an autoscaling:EC2_INSTANCE_LAUNCHING lifecycle hook on the Auto Scaling group. Modify the application to complete the lifecycle hook and to place the new instance in the Standby state when the application is ready to serve requests.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
haazybanj
Highly Voted 2 years ago
Selected Answer: A
Option A is the most cost-effective solution. By configuring a warm pool of EC2 instances in the Stopped state, the company can reduce the time it takes for new instances to be ready to serve requests. When the Auto Scaling group launches a new instance, it can attach the stopped EC2 instance from the warm pool. The instance can then be started up immediately, rather than having to wait for the data to be downloaded and processed. This reduces the overall startup time for the application. Option C is also a solution that involves a warm pool of EC2 instances, but the instances are in the Running state. This means that they are already running and incurring costs, even though they are not currently serving requests. This is not a cost-effective solution.
upvoted 18 times
...
jamesf
Most Recent 9 months, 1 week ago
Selected Answer: A
keywords: MOST cost-effective way to reduce the application startup time
upvoted 2 times
...
stoy123
1 year, 1 month ago
Selected Answer: C
C " The company must reduce the time that elapses before new EC2 instances are ready to serve requests."!!!!!!!!!! this cannot happen with a stopped instance as it will still need to read the data from S3 upon startup,
upvoted 1 times
Jay_2pt0_1
1 year ago
I thought this, as well, but A appears to be correct. See https://aws.amazon.com/blogs/compute/scaling-your-applications-faster-with-ec2-auto-scaling-warm-pools/
upvoted 1 times
...
...
Shasha1
1 year, 2 months ago
A for warm pool in the hibernated or stop status we will pay only for the attached EBS volume, therefore its much cost effective rather than running instance
upvoted 1 times
...
dzn
1 year, 2 months ago
Selected Answer: A
Warm Pool allows instances to be set to a stopped state after performing any process (e.g., running initialization scripts, warm-up tasks, etc.).
upvoted 1 times
...
thanhnv142
1 year, 3 months ago
A is correct: the question says <the application needs to process data from an Amazon S3 bucket before the application can start to serve requests> but <The size of the data that is stored in the S3 bucket is growing>. This means we should maintain a warm pool for EC2 so that they are always ready to process data (reduce the time that elapses before new EC2 instances are ready) B and D: no mention of warmpool C: If the instance is up and running, no need to configure warm pool
upvoted 1 times
...
zolthar_z
1 year, 5 months ago
Selected Answer: A
Answer is A, the question is cost-effective, and even with A you will have less wait time to download the S3 data, it will download the delta from the warm up process to ready to join to ASG
upvoted 2 times
Jaguaroooo
1 year, 3 months ago
A&C are both good in terms of solutions, however, the caveat here is the "cost-effective" solution and that's why I agree with A. https://aws.amazon.com/blogs/compute/scaling-your-applications-faster-with-ec2-auto-scaling-warm-pools/
upvoted 1 times
...
...
RVivek
1 year, 7 months ago
Selected Answer: A
excerpt from the url: https://aws.amazon.com/blogs/compute/scaling-your-applications-faster-with-ec2-auto-scaling-warm-pools/ EC2 Auto Scaling Warm Pools works by launching a configured number of EC2 instances in the background, allowing any lengthy application initialization processes to run as necessary, and then stopping those instances until they are needed
upvoted 1 times
...
beanxyz
1 year, 8 months ago
Selected Answer: A
A is the most cost-effective solution. Besides, when the warm EC2 was created, it already downloaded the contents from S3 so the next time when it started, it would just download any new files from S3. ( e.g s3 sync )
upvoted 1 times
...
ixdb
1 year, 8 months ago
C is right. please carefully check the question: The company must reduce the time that elapses before new EC2 instances are ready to serve requests. When the application starts up. the application needs to process data from an Amazon S3 bucket before the application can start to serve requests.
upvoted 2 times
...
Chetantest07
1 year, 9 months ago
Selected Answer: C
I understand the question is asking for the most cost-effective. keeping it stopped state is most cost efficient but it would not work because in the question it also states that, "When the application starts up. the application needs to process data" and to process that data takes time. If the Ec2 instance is stopped then started at the time of need, then again it will take time to process the data, right? so in this scenario, the EC2 instance need to be running.
upvoted 3 times
...
Suyx
1 year, 9 months ago
I think it should be C, as the A option would not be effective. Coming from the instance stop state the application will start up again and need to process the data from S3 bucket.
upvoted 2 times
...
Snape
1 year, 9 months ago
Selected Answer: A
Warm pool with stopped state is most cost efficient option
upvoted 3 times
...
pepecastr0
1 year, 10 months ago
Selected Answer: A
A - Keep it stopped until you need it to save money
upvoted 1 times
...
jqso234
2 years ago
Selected Answer: C
While A can also be a cost-effective solution, C is the MOST cost-effective solution because it utilizes Amazon S3 Transfer Acceleration, which is a feature that enables fast, easy, and secure transfers of files over the internet between Amazon S3 buckets and EC2 instances located in different regions or across the internet. By using S3 Transfer Acceleration, the data transfer speed can be increased significantly, which can reduce the time that elapses before new EC2 instances are ready to serve requests. In contrast, A suggests using a larger instance size with more CPU and network capacity, which can be more expensive than the current instance size. Moreover, this approach may not be scalable in the long run since as the data in the S3 bucket continues to grow, the instance size may need to be further increased, which can incur more costs. Therefore, while A can also be a viable solution, C is the most cost-effective and scalable solution.
upvoted 1 times
...
ma_rio
2 years ago
Selected Answer: A
https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html Keeping instances in a Stopped state is an effective way to minimize costs.
upvoted 4 times
...
Dimidrol
2 years ago
Selected Answer: A
A for me to decrease costs
upvoted 2 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