Question 580
An agricultural equipment firm is working on rural network routers and scheduled maintenance. A retrospective identifies: the automation service starts before the mock network API is ready and exits with connection refused. Which ongoing regression check best detects recurrence of this precise failure?
Explanation
Correct Answer
The check tests the restored condition, initial startup succeeds only after the API reports a healthy readiness state, and explicitly flags a recurrence of the automation service starts before the mock network API is ready and exits with connection refused.
Incorrect Answers
This guard monitors a different regression trigger: a Compose worker cannot resolve the Redis service when the services are attached to separate isolated networks. It does not directly validate the recovery condition, initial startup succeeds only after the API reports a healthy readiness state.
This guard monitors a different regression trigger: a service discovers another by localhost and fails after splitting into containers. It does not directly validate the recovery condition, initial startup succeeds only after the API reports a healthy readiness state.
This guard monitors a different regression trigger: a stopped background worker remains in an otherwise healthy Compose stack. It does not directly validate the recovery condition, initial startup succeeds only after the API reports a healthy readiness state.