Surprised by - lays the stress on the factor that caused the surprise. E.g. I was surprised by her early arrival.
I think depending on what you want to say, you can choose a preposition in your sentences. However, the first one sounds somewhat odd to me lexically.
Student or Learner