Fotokite interview question

What is the difference between ssh authentication with a password or authentication with certificates?