One of the causes of World War I was imperialism. Imperialism is the system of taking control of many nations. Which of these is an example of imperialism that led to the war?

ARussia and Germany were building up their armies.
BAustria-Hungary was trying to take over Serbia.
CSome countries were neutral and stayed out of the war.
DIf one country was attacked, its allies would help defend it.