Custom Mob Death Sounds

I want to make my custom mobs in my datapack have death sounds and I'm trying to decide which method is best:

A. Use advancements and have it play the sound @a so all around can hear it: B. Have the mob drop an item then run a execute of the item to play the sound.

What's more reliable?

Continue to help post