か?」と

asked, “...?”

→ か
phrase Rare #44,205
asked, “...?” The と marks the preceding question as quoted speech, usually before a verb like 尋ねる (to ask).
JA: 「明日は休みですか?」と彼女が聞いた。
EN: She asked, “Are we off tomorrow?”

「何かお探しですか?」と彼が尋ねた。

“Are you looking for something?” he asked.

「あの箱が全部、本なのか?」とニコラスが尋ねた。

“Are all those boxes full of books?” Nicholas asked.