Don't think too hard about this one. It's "Mission: Impossible". This entry in the series starts off closer to the flavor of the television show, and pretty much maintains that throughout. Certainly there are plot holes you can drive a truck through. The team is out to prevent the megalomaniac from getting the nuclear launch codes that will start Armageddon. In order to do that, there are guards to fool, parties to attend, and gadgets to deploy. It's all done with a good deal of earnest tongue-in-cheek, great stunts and visual effects, and that's exactly why you paid the price of admission.
Word of warning to anyone with a touch of vertigo. You will want to close your eyes during some of the high-rise scenes in Dubai. No, really, you will. I'm not fooling around.
Mission: Impossible - Ghost Protocol (IMDb)