Q: 20
A company runs an application on one Amazon EC2 instance. Application metadata is stored in
Amazon S3 and must be retrieved if the instance is restarted. The instance must restart or relaunch
automatically if the instance becomes unresponsive.
Which solution will meet these requirements?
Options
Discussion
C/D? Since EC2 Auto Recovery handles system failure but not app-level issues, but OpsWorks feels a bit heavyweight for just restart plus S3.
Maybe C fits-EC2 Auto Recovery should handle the restart if the instance hangs, and you can trigger S3 notifications to push metadata. Not sure if it's a trap since it doesn’t check app health like OpsWorks but seems close.
Yeah B imo, since OpsWorks auto healing looks at more than just the EC2 instance health and can restart for both system and app failures. You also get lifecycle hooks to handle pulling that S3 data right when you need it. Not 100% sure but makes sense here.
B tbh, OpsWorks auto healing covers app health and can trigger instance restarts, plus you can use lifecycle hooks to pull S3 metadata after reload. Pretty sure it's a better fit than Auto Recovery since that only catches system issues, not unresponsive app cases.
Be respectful. No spam.