Skip to main content

What is a health-check endpoint?

Mid NodeJS
Quick Answer A health-check endpoint (usually GET /health or /ping) returns a quick status indicating whether the app is running correctly. Load balancers, Kubernetes readiness probes, and monitoring tools ping it periodically. It should check DB connectivity, cache availability, and critical dependencies รขโ‚ฌโ€ returning 200 if healthy, 500+ if not.

Answer

A health-check endpoint responds with a status like OK to help monitoring tools verify app uptime.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice