Excellent Way of practicing for exam

I remember that when i was young my teacher used to give me practice tests. Wonder why are they not prevalent today. However, i got to practice for MS-300 certificate exam in this manner. Mock tests online were quite helpful to make me realize my standing in the actual Deploying Microsoft 365 Teamwork exam and cleard it with 810/1000 finally.