Switzerland has less land (hence more defensible) , no access by sea, limited access by land and a population some 20 times that of Alaska. A poor comparison if there ever was one.
Well there was the 1939-40 Russo-Finnish war...