By the time the new regulations came into effect, many small businesses already adopted the necessary changes to comply.
✓ Correct Answer: Option B
The sentence describes an action completed before another past action ('came into effect'). The past perfect tense, 'had already adopted,' correctly indicates this sequence of events. Option B is grammatically correct.