The test was a likely response to ongoing US-South Korean military training that North Korea views as an invasion rehearsal.