The Fed doesnt set the rate of the 2 year or any other treasury. They effectively put a floor on the price of the shortest dated treasuries by setting the overnight rate, but the longer dated the treasury, the less effect the federal funds rate has on it.