How is maximum depth of field achieved?

Questions

Hоw is mаximum depth оf field аchieved?