You can prepare using ISQTB materials: https://www.istqb.org/downloads/syllabi/foundation-level-syl...
I have never worked as a test engineer but as far as I know most large companies use the ISTQB certification, and it covers most of the basic test know-how.