Consumer prices were up 2.7% from a year ago — a larger annual increase than the month before.