You ALWAYS receive your OWN external mark, external meaning the HSC exams.
The person ranked 1st receives the highest external mark as his/her internal mark.
That's all there is to it. Typically if you come 1st internally you're likely to get the highest external mark yourself, and if...