North Korea has fired an intermediate-range ballistic missile over northern Japan in an apparent show of defiance days after the UN security council approved a new round of sanctions against the regime.