Most engineers think...
Most candidates describe HAProxy Frontends, Backends and ACLs as a product name and stop there. That is not enough for L2/L3 work.
The better model is operational: know the components, follow the flow, prove the policy hit, and explain the failure path. For this topic, the core idea is frontend, ACL rule, backend and stick table.
① What it solves and where it sits
Do not answer HAProxy as just round-robin. The interview path is listener, ACL, action, backend, health check, log/metric, and stick-table state if abuse control is involved.
Production use case: Use it for high-performance L4/L7 load balancing, routing decisions, TLS termination and programmable traffic policy.
Best one-line description of HAProxy Frontends, Backends and ACLs?
② Core components you must name
Use these names before jumping to troubleshooting. They anchor the architecture and make the interview answer sound practical.
- frontend — Listener that accepts client connections
- backend — Pool of servers plus load-balancing policy
- ACL — Condition matching request or connection attributes
- TLS bind — Certificate-enabled listener for HTTPS termination
- Stick table — In-memory counters/tags for rate limiting or affinity logic
Say the path in order: Client hits bind → Frontend ACLs → Action selects backend → Health gate → Server + metrics. It keeps the answer structured.
A decision is not real until logs/events show the rule, object and final action.
Most outages are not product magic; they are forwarding, health, identity, certificate or rule-order problems.
Safe rollout: Validate frontends/backends first, add ACLs in log-only style, then enforce denies or rate limits with metrics watched.
Lead with frontend, backend, ACL. It sounds like production work, not brochure reading.
Which item belongs in the core architecture?
③ The traffic or telemetry path
The healthy path is: Client hits bind → Frontend ACLs → Action selects backend → Health gate → Server + metrics. Walk it left to right. If a user report says 'it is broken', locate the exact stage where evidence stops.
The primary control is: Route or deny traffic based on ACLs, backend health and stick-table counters.
If Client hits bind never reaches the control point, no later policy can help. Confirm steering/forwarding first.
▶ Watch the HAProxy Frontends, Backends and ACLs decision path
Press Play for the healthy path, then Break it for the common outage.
What should you trace first during troubleshooting?
④ Operations, rollout and interview response
The safe rollout answer is: Validate frontends/backends first, add ACLs in log-only style, then enforce denies or rate limits with metrics watched. That prevents broad production impact while still moving toward enforcement.
Compared with a black-box load balancer GUI, the value is richer policy context, better visibility and a clearer operational evidence trail.
Rohan at a Noida SOC gets this ticket
A new ACL intended for admin paths blocks normal users after deployment.
The ACL match is too broad or the action order catches traffic before a more specific rule.
Trace Client hits bind → Frontend ACLs → Action selects backend → Health gate → Server + metrics, then compare policy logs, object health and user scope.
Console ▸ policy/logs ▸ health/status ▸ affected user testCheck rule order, ACL sample fetches, logs, backend selection, and add Prometheus/statistics validation before enforcement.
Repeat the original user test and capture the allow/block/health evidence in logs.
The final answer should include log evidence, health state and a user test. That is what separates RCA from guessing.
Safest production rollout answer?
🤖 Ask the AI Tutor
Tap any question — instant, scoped to this lesson. No login, no waiting.
Pre-curated from vendor docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.
📝 Wrap-up assessment — six more
You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 In your own words
Explain HAProxy Frontends, Backends and ACLs in one L2 interview sentence.
🗣 Teach a friend
Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.
📖 Glossary
- frontend
- HAProxy listener section that accepts client connections.
- backend
- Section containing server pools and load-balancing behavior.
- ACL
- Access control list condition used to trigger routing or security actions.
- bind ssl crt
- Listener syntax for TLS termination using a certificate.
- Stick table
- In-memory table tracking client/server counters or tags.
- Prometheus exporter
- HAProxy metrics endpoint for monitoring and alerting.
📚 Sources
What's next?
Next, pair this lesson with the new HAProxy Frontends, Backends and ACLs interview Q&A page and explain the same flow out loud in 90 seconds.