Attenuators are used to temporarily add a calibrated amount of signal loss in order to test the power level margins in a fiber optic communication system. In the second case, attenuators are permanently installed in a fiber optic communication link to properly match transmitter and receiver optical signal levels.