That depends on what the goal is. My personal belief is that terrorist acts like these are a recruiting tool and a way to split society further enhancing opportunities to recruit and as such they can be effective if the counterparty reacts as they are supposed to do.