「聞いた ことが あります」 means "I have heard it" or "I have had the experience of hearing/asking." The pattern 「〜た ことが あります」 expresses past experience using the past-tense plain form (た-form) of the verb, which is 「聞いた」 for 「聞く」 (to hear/listen).
「〜た ことが あります」は過去の経験を表す表現です。「聞いた ことが あります」は「聞いたことがある」という意味で、動詞「聞く」のた形を使用しています。
Project Eagle analyzes your vulnerabilities using AI. Play thousands of interactive quizzes and mock exams completely free!