In your case, sure he had a salary for two months, but that can not be the plan? Do people just expect that if they are hired, they'll sort of figure it out along the way? If that's the case, then maybe go for a more junior position and hope there is good on the job training.
Years ago, I worked as a test engineer. One issue that repeatedly turned up when trying to get information about one of the tools we used, was that forums, mailing-lists, you name it, would get swamped by Indians who just wanted the answers to some standard hiring quiz. They just wanted to memorize the 150 or so answers, so they could get a job. Knowing those answers wouldn't help me in my day to day work, or at least very little, so what did they expect would happen if they got hired? Sure you can scam your way though a job interview... Then what? Your new colleagues is going to notice your shortcomings rather quickly.