Not the best advice.
Depends on how they behave. If they are clearly attack dogs and are not going to stand down, then shoot to kill. It is usually pretty clear what their intentions are especially if they continue to move aggressively towards you. I’ve been around a lot of dogs.