Tesla interview question

How would you use Metasploit to exploit a vulnerability?