MongoDB Interview Question

What is your strategy for pipeline generation?