contestada

Which of the following has correct punctuation and capitalization?

She asked, “What time is it”?
She asked “What time is it?”
She asked, “what time is it?”
She asked, “What time is it?”

I think the answer is A correct if I'm wrong