Search Header Logo
Building Microservices API in Go - Introduction to Hexagonal Architecture

Building Microservices API in Go - Introduction to Hexagonal Architecture

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video introduces hexagonal architecture, also known as ports and adapters, which was conceptualized by Alistair Cockburn in 2005. It emphasizes separating code into user, business, and server sides, with dependencies directed towards the business logic. Interfaces at boundaries allow for interchangeable adapters, promoting loose coupling and easier testing. An example of a banking application illustrates these principles. The video concludes by highlighting the benefits of hexagonal architecture, such as maintainability and isolated testing, and previews the next steps in implementing this architecture.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who originally conceptualized the hexagonal architecture?

Robert C. Martin

Alistair Cockburn

Martin Fowler

Kent Beck

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which part of the hexagonal architecture is responsible for driving the application logic?

Database side

User side

Server side

Business side

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In hexagonal architecture, where do the dependencies flow?

From server side to user side

From business logic to server side

From business logic to user side

From user side and server side to business logic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of interfaces in hexagonal architecture?

To manage user authentication

To handle error logging

To isolate boundaries and allow interchangeable adapters

To define the database schema

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does hexagonal architecture help in testing?

By decoupling code from implementation details

By using a single testing framework

By requiring no tests

By integrating with all external services

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a key benefit of using hexagonal architecture?

Increased complexity

Reduced code maintainability

Dependence on specific technologies

Easier testing in isolation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the focus of the next video in the series?

User interface design

Server-side optimization

Business side development

Database schema design

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?