For example, if I want to transfer as history major and have passed the APUSH and AP world Exams, do i need to take the course equivilants at community college, or will i be able to use the scores and take less courses?
You need to look at assist top area. Sometimes. Not always.
You need to check whether the major at UCLA (and other target schools) accepts AP credit for those specific major requirements.