Translation:Is it two o'clock?
"It is two o'clock" is definitely wrong.
It is two o'clock.
Is it two o'clock?
Note how the か at the end of the sentence turns into a question. "It's two o'clock?" would technically be correct, but Duolingo's grading machine doesn't look at punctuation and so relies on word order.