Is it necessary or justified?
Not to say that North Korea's internet outage was retaliation (but there's also nothing to say it wasn't), but if it was, would this sort of retaliation serve some sort of diplomatic or peace-building purpose?
I thought the president scolding Sony for pulling their movie was childish. I think it was a valid response, though not for the reasons they gave.
I think there is learning and evolving to be done on both sides. Is comedy at the expense of Kim Jon-un necessary to exert ones free artistic expression? Could we not have gotten the same joke if they 'd changed up the name a bit and set the scene in an imaginary country?
Sure, our country is really big on free speech, but is what we say, particularly about 'others' really ever 'free'. Isn't there a social cost to consider?
Bottom line, imo, even the most prominent, stately world leaders are not above childish tit-for-tats.