The rendered image is different than what I see in the viewport
Your view is locked to this quad sphere, which I believe means your camera is not traveling along with your view as it should be with this option checked.  In fact you should not be able to adjust your viewport focal length from the N-panel if your camera is locked to view.