The question is 'Are you...'. The answer 'Yes, this is you.' confirms the identity of the person being addressed.
Answer: Are you my teacher? Yes, this is you.