"Is the apple on the table?"
Translation:Az asztalon van az alma?
Az alma van az asztalon? = Is it the apple that is on the table?
(Accepted now, but not the best choice of word order.)
The position of the verb has nothing to do with whether it's a question or not. :)
Your sentence is fine. Just instead of the location of the apple, you're asking about what the thing on the table is.