The firing came days after the beginning of annual joint US and South Korean military exercises which the North routinely denounces as preparation for war.