The composite index recorded its strongest expansion since July 2021, while markets priced a higher chance of a Federal Reserve rate hike.