Question 3 of 10Pro Only

Explain hexagonal architecture and how it differs from traditional layered architecture.

Sample answer preview

Hexagonal architecture, also called ports and adapters, was proposed by Alistair Cockburn. The core application is at the center, surrounded by ports that define how external systems interact with it.

ports and adaptersinbound portsoutbound portsDependency InversionAlistair Cockburn

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Backend Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime