Answer:
Correct answer is D. Lining up armies on an enemy's border.
Explanation:
Option A is not correct because this is a great example of demilitarization.
Option B is correct as creating wartime alliances means that you are strengthening militarism. It means that you are preparing for conflict.
Option C is of course totally different than militarism. It is an example of good way to solve a conflict.
Option D is not correct as this doesn't have to be influenced by militarism. Maybe you are just protecting your borders.