The best advice when confronted with a snake, would be to stop moving and slowly back away (as one of our readers reminded us). It would certainly not be to try and feed them some water, as these guys attempt. They are trained professionals, in all likelihood. Please do not try this with the cobra in your backyard.
https://www.youtube.com/watch?v=-n9tx4fXzRY