T-Mobile Interview Question

How do you decide between custom development vs. out-of-the-box solutions?