The most common such sweeps are magnetic and acoustic generators.
2.
Modern surface combatants with an ASW mission will have a variety of active systems, with a hull-or bow-mounted array, protected from water by a rubber dome; a " variable-depth " dipping sonar on a cable, and, especially on smaller vessels, a fixed acoustic generator and receiver.