In English interrogative sentences, how to judge the use of verbs or auxiliary verbs?

In English interrogative sentences, how to judge the use of verbs or auxiliary verbs?

If there is be in the sentence, use be. If there is no be, the modal verb will advance directly; if there is no modal verb, the auxiliary verb will advance
For example: he is a student
Is he a student
Another example: he game
Change to: did he G.M
Limited words, understanding