The 2,4-dinitrophenylhydrazine (DNPH) is known to react with aldehydes or ketones to form the hydrazine derivative as is depicted in the following scheme:
Therefore, the answer to this question is the circled ketone and aldehyde.
Alcohols, amides, esters and acids do not react with DNPH.
The step-by-step reaction mechanism is depicted by in the following scheme:
Image source: http://www.wikiwand.com/en/2,4-Dinitrophenylhydrazine