Here’s a pdf of setting up your environment where they state that 2.10.x is used for the exam. The staff have been notified to update the notebooks.
Do note that 2.7.x was used around aug 8, 2022 and this update of 2.10.x was announced only this jan.
That said, what did the google tensorflow certificate help center tell you regarding usage of deprecated apis?