This sentence is interrogative because it asks a question.

What is the best way to study for the exam?