What should be the answer in a job interview to the question "What were you doing for two years after graduation?"

I have seen some people who try to prepare for higher education immediately after their graduation.

In any interviews be honest and always speak the truth. There could be hundreds of ways to spend time and it is perfectly fine to mention the actual case.

I have seen some people who try to prepare for higher education immediately after their graduation. I also know some people who had to look after their families immediately after graduation. Also, some people are just searching a suitable job after graduation.