During a release pipeline, you notice that the deployment to staging fails intermittently due to a timeout waiting for the health check endpoint to return 200. The health check typically passes within 30 seconds, but occasionally takes up to 2 minutes. You need to make the deployment more reliable without affecting the overall release time. What should you do?
Allowing up to 3 minutes accommodates the occasional delay without causing failure.
Why this answer
Option A is correct because increasing the health check timeout to 3 minutes accommodates the occasional 2-minute delay without failing the deployment. Option B is wrong because retrying the task would restart the entire deployment, increasing total time. Option C is wrong because removing the health check removes validation.
Option D is wrong because reducing the timeout would cause more failures.