Would "Ubi magister est" be ok?
Yes, it's accepted and it's ok
What is 'quomodo est magister?'
How is a teacher. Or maybe: How is he a teacher?
Quomodo is just a compound of quo and modo. So, it literally means "in what way".
Wouldn't " Where is the teacher?" make more sense? It doesn't change the translation anyways...