d. A public employee is not liable for the exercise of discretion when, in the face of competing demands, he determines whether and how to utilize or apply existing resources, including those allocated for equipment, facilities and personnel unless a court concludes that the determination of the public employee was palpably unreasonable.
Nothing in this section shall exonerate a public employee for negligence arising out of his acts or omissions in carrying out his ministerial functions.