What is the version of the following sentence with correct punctuation?

Ask your tile contractor how long is the warranty
Ask your tile contractor how long is the warranty?