Would North Korea be a real threat to the U.S. in a real war?

North Korea has supposedly tested nuclear devices and has also done a military build up that would make them try to intimidate the countries that may pose a threat to them in the future.