Lighting is often not as extreme as the last example.
Conditions of ordinary and even lighting,
when combined with a properly exposed subject,
will usually produce a histogram which peaks in the center, gradually tapering off into the shadows and highlights.
With the exception of the direct sunlight reflecting off the top of the building and off some windows,
the boat scene to the right is quite evenly lit.
Most cameras will have no trouble automatically reproducing an image which has a histogram similar to the one shown in the boat example.