The right answer is D, convoys were used to prevent submarine attacks on ships
A convoy is a group of motor vehicles or ships, traveling together for mutual support and protection. A convoy is usually organized with armed defensive support. Moreover, they often travel with a naval escort
Its main role in World War I was to protect cargo ships and unarmed troop transports from submarine attacks.