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 108 discussion

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

A DevOps engineer is troubleshooting deployments to a new application that runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an EC2 Auto Scaling group across multiple Availability Zones. Instances sometimes come online before they are ready, which is leading to increased error rates among users. The current health check configuration gives instances a 60-second grace period and considers instances healthy after two 200 response codes from /index.php, a page that may respond intermittently during the deployment process. The development team wants instances to come online as soon as possible.

Which strategy would address this issue?

  • A. Increase the instance grace period from 60 seconds to 180 seconds, and the consecutive health check requirement from 2 to 3.
  • B. Increase the instance grace period from 60 seconds to 120 seconds, and change the response code requirement from 200 to 204.
  • C. Modify the deployment script to create a /health-check.php file when the deployment begins, then modify the health check path to point to that file.
  • D. Modify the deployment script to create a /health-check.php file when all tasks are complete, then modify the health check path to point to that file.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Piccaso
2 years, 3 months ago
Selected Answer: D
A and B are eliminated. First of all, it's not a good idea to extend grace period. The problem of this scenario is that the instance "come online" before some steps are finished properly. Between C and D, healthcheck shoud be implemented after all tasks are done and the instance is ready.
upvoted 2 times
...
Bulti
2 years, 3 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
nsvijay04b1
2 years, 5 months ago
Selected Answer: D
B wrong- 204 - No Content - Specifies the normal response code for the DELETE operation. A wrong - makes problem worse , delays startup and using index.php doesn't help C wrong- change to right health check but not at start of deployment D correct - change to right health check after the deployment script finishes
upvoted 4 times
...
quixo
2 years, 5 months ago
D for sure
upvoted 3 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