Amazon Interview Question

How to create an interface based on an example DUT