What would cause a rattle sound from my front brakes in my 03 s10? on 2003 Chevrolet S10

driving over bumpy roads cause a rattling sound in the front brakes. When I ride the brake pedal over the same stretch of road the rattle sound goes away. I pulled the front tires off, put load on the shock and tapped with a rubber hammer and couln't replicate the sound.

2 answers
The brake pads are loose in the caliper/mounts. Check to make sure hardware is intact and holding pads and that pad mounts are in good shape.
************************
Exactly delane. The original poster needs to put pads in the caliper, mount back on vehicle, use a large blade screwdriver and pry up at bottom of pad close to the center of hub and use a small ball peen hammer and tap down the ears of the outer pad. The inner pad should have a spring hardware clip that holds it in the caliper piston bore.
you have to bend the ears on brake pads so they will not rattle