D. Alliances meant that if one country was attacked many more would be drawn into war.
After Austria-Hungary declared war on Serbia after a Serbian killed Archduke Ferdinand and his wife. Because of this declaration of war, Russia, in aid of Serbia, declared war, followed by Germany and other nations.
hope this helps