hello!! How do I know when to do an allylic bromination VS a halogenation reaction since both of them can use Br2+CCl4? ( I know allylic bromination often occurs with NBS but is it always the case?

===For example, if they asked me to do the mechanism of 3-methylpent-2-ene with Br2+CCl4, how would I know to do a halogenation rxn (with the bridged ion) rather than an allylic bromination?