Markets provide the efficient amount of a good or service when externalities are present. monopoly exists. public goods are present. competition is present and externalities and public goods are absent.