Large-area avalanche photodiodes have been investigated as 1.9-keV X-ray detectors for the muonic hydrogen Lamb-shift experiment. We report experimental tests carried out for evaluation of the avalanche photodiode capabilities for X-ray detection in the intense radiation and low counting rate environment of experiments with muonic atoms. Several muonic atoms were used and it was shown that the electronic background of muonic atom X-ray spectra can be reduced simply by timing the X-ray signal against the gate signal produced by the muon entrance. Furthermore, the background can be eliminated using coincidences between the X-ray signal and the signal resulting from the electron due to the muon decay. This coincidence discrimination results, however, in a reduction of the X-ray detection efficiency.