What are the circumstances under which a firm chooses a low-cost strategy to attain sustainable comp

What are the circumstances under which a firm chooses a low-cost strategy to attain sustainable competitive advantage.What about the situations when a differentiation strategy is chosen?