Most interviewers will ask questions from your resume or based on the answers you give. You don't need to worry about not cracking interviews. You have mentioned that you play a generalist role in your present company. You need to assess which areas you are strong in, be it Comp & Ben, Hiring, Employee Engagement, etc. With 2 years of experience, you cannot claim to be strong in the entire gamut of HR. You should also search CiteHR for interview questions.
Just don't read the materials; try to understand why a question is asked. You need to spend at least 2 months preparing yourself for an interview, whether logical or HR-based. Generally, HR professionals are assessed on people management, multitasking, logic, problem-solving, communication, adaptability, and analytical skills, among others. Try to do a self-assessment of how proficient you are in these areas. Believe in yourself, and you will surely succeed. Good luck!
More @
interview questions
Regards