So generally opinion is that snakes can not hear but do feel vibrations through the ground via the lower jaws.
But like I said the Cobra lower jaws were not in touch with the ground.
By hear I mean picked up frequencies through the air.
Like Invictus and Marisa said they can pick up sounds. So if you were to tape that and played it for them. They should be some kind of reaction.