When removal of carious dentin results in an exposure of non-vital pulp, the most appropriate management is to

perform endodontic treatment.

cap the exposed pulp horn with calcium hydroxide.

occlude the cavity with a light packing of cotton moistened with eugenol.

place a temporary restoration and observe.