Amazon Interview Question

How to simplify a complex pipeline?