Auto Healing Bash Script for AWS DevOps - DOP-C01 Exam | Example Website

Auto Healing Bash Script

Prev Question Next Question

Question

A Java application is deployed in an AWS Auto Scaling group.

You want to create a Bash script running in each EC2 instance that can periodically perform the health check of the web application.

If the health check has failed in the script, the instance should be marked as “Unhealthy” and be replaced by a new instance in the Auto Scaling group.

With this script, the application can auto heal when an EC2 instance has an issue.

How would you design the Bash script?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.