Replacing Logic Board components

This might seem like a silly question, but say you tested a tiny component with a multimeter and found it to be defective, how do you replace it?

Can you easily order any individual component online or does everyone take what they need from a spare doner board that’s iCloud locked?