Both can be used. Ferrite shielding is better in short distances, but they both work better in modules and trying to isolate your transmit and receive signals.