They normally put in a brand new engine for the race. They run it on "carb" day, the Thursday before the race and then on race day. At least the top teams do, the smaller ones may use the same engine for practice, qualifying and the race without a rebuild/change.