Tell company B I have a pending offer from another company, but that I
would like to know the output of the process with them because I'm
very interested in the position in company B
This is the correct way to deal with the situation.
It's important to know beforehand how much time you have to reach a decision with Company A, and respect that deadline.
Companies generally understand that a candidate is not interviewing with only them; if you state as much it won't be a disqualifying factor. So you should tell each company:
To company B first: Tell them you have an offer in hand from another company (don't say who, that's unprofessional to company A) but you are still interested in company B and want to ...
I don't want to go into the second interview and accomplish the same.
But I also can't learn or fake learn enough to pass. What should I do?
You don't really know what will happen in the second interview. You suspect the same as what happened in the first, but we never really know.
Clearly you can just attend the interview, see what happens, and take it ...
who are these jobs geared for?
The real answer is only known by the ones posting such job offers, so you will have to reach out and ask them who are they intended to, or what kind of applicants they seek.
Alternatively, any decent job posting should indicate the kind of applicant they seek and the skills or qualifications they expect on candidates.
Most research posts are aimed at people who have recently graduated with a PhD. They are low paid because there is limited funding, and lots of candidates who want to do it. Supply and demand means that even highly qualified jobs can be low paid if there is an excess of candidates.
These jobs are often a precursor to a long term teaching role at university. ...
I don't want to go into the second interview and accomplish the same. But I also can't learn or fake learn enough to pass. What should I do?
If based on the phone and in person interviews you feel that this is a role at this company that would not work for you then you can respectfully decline the second interview and thank them for their time and ...