No, the exam will not deviate from the objectives. The review portion of writing the exam makes sure that it doesn't include questions outside of the scope of the objectives.
Now it is possible a code snippet will use a
Java API class that isn't directly specified in the objectives, but those are where that particular line does not affect you ability to get the answer correct.
But no IO or AWT.
Mark