How would you know if they axle is bad on your car?

Assuming this is a front wheel drive axle (aka halfshaft), the CV joint and boot are what fails. You will hear a crunching/snapping noise when accelerating especially on a curve and you may also see grease spinning out from a torn boot.