Question: "what kind of traditions that became mainstays involved cheese?"  Context: "Much of the Alpine culture is unchanged since the medieval period when skills that guaranteed survival in the mountain valleys and in the highest villages became mainstays, leading to strong traditions of carpentry, woodcarving, baking and pastry-making, and cheesemaking."  Answer:
The answer to this question is:
cheesemaking