Your query relates to the rules of Subject and Verb Agreement.
Singular subject carries a Singular verb.
Thus to decide whether to use singular or plural verb (in this case is or are), one should look at the subject of the sentence .
I belive the second sentence is more appropriate with the usage of is, as there is no plural subject in this sentence.
Though I would like the senior members to second my reply..
Student or Learner