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