Consumer prices surged last month, driving inflation up to 3% for the first time since last June. Egg prices drove a large part of the increase in food.