What challenges do investigative agencies face in preventing and solving complex terror cases like car bomb blasts?

The NIA recently arrested another alleged conspirator in a car bomb blast case. I want to explore the difficulties agencies encounter in both preventing such incidents and ensuring thorough investigations.