Jacobs interview question

What is the difference between undrained and drained analysis.