Transistor Confusion?

is the output only going to be 5v? and where's the current being drawn from? the 12v rail or the 5v rail?

  1. Yes.
  2. 12V