Quiz: Implementing a Persistence Adapter

Take this quiz to test your understanding of a persistence adapter.

1

Why do we apply Dependency Inversion when implementing a persistence adapter?

A)

To direct the dependency from the persistence adapter towards the application core

B)

To direct the dependency from the application core towards the persistence adapter

C)

To direct the dependency from the output ports towards the persistence adapter

D)

To direct the dependency from the application services towards the output ports

Question 1 of 30 attempted

Get hands-on with 1200+ tech skills courses.