A direct or indirect pulp cap has the greatest chance of clinical success when there is a

vital pulp.

apical lesion.

prolonged response to cold stimulus.

history of spontaneous pain.