For the system design interview I would blame your recruiter for not preparing you for what to expect in the interview. Larger companies like FAANGs actually do a very good job at that. The Kleppmann book others have mentioned is of course excellent for these interviews, but here are a couple of other resources for a crash course:
1. https://github.com/donnemartin/system-design-primer
2. https://www.educative.io/courses/grokking-the-system-design-...