The ONLY thing that didn't make consistent sense in the movie is the 'allspark' (Transformers term for the afterlife) and the 'matrix of leadership/creation' which is the glowing thing that Optimus passed to Magnus and then to Hot Rod. The fact that it can't be in contact with a spark, or that it's a giant artifact was the only thing you had to look over.

Everything else in the movie is questionably acceptable. I couldn't really follow the rationale behind the superhot rounds that can hurt Transformer bodies, but whatever.

Starscream is overpowered by far.