The US cautioned it was ready to use force if need be to stop North Korea's nuclear missile programme but said it preferred global diplomatic action against Pyongyang for defying world powers by test launching ballistic missile that could hit Alaska.