It depends on your ranking within your school cohort in each subject. Then based on the cohorts performance in the exams your SAC marks are moderated. Simply put, the nth ranked person receives the nth highest exam score as their moderated SAC score.
Also, the majority of your mark is based on your own exam performance. SACs only count for 34% of the mark in the end. If you kill the exams you can still do extremely well.