You can justify a 2-year gap after graduation if you are an engineering graduate by acquiring relevant skills, knowledge, and practical experience in the field. If you have done a master's during the gap, you can mention the learning, research work, and projects. You can also justify the gap by mentioning that you spent the time preparing for competitive exams. You can also highlight the skills acquired during career gap jobs.