Fighting local terror is a police task. They are trained for that.
European police is generally not trained to deal with AKs and RPGs. The cop that was executed in Paris wasn't even armed. This is why France has GIGN.
Beside the will of "security people" we should fight terrorists with good police work and we should address the core issues which trigger people to become terrorists. One key ingredient for radicalization (which is a requirement to become a terrorist of any kind) is a feeling of powerlessness and the feeling of lack of communication. The latter includes that nobody really listens to you.
So, you have deep insights into french society, do you? Or is this just your normalcy bias speaking?
There has been a lot of research into what makes someone turn to terrorism. Poverty, alienation, feelings of powerlessness etc are not key, it's the presence of a charismatic leader. Just look at Marseille, poor, over 40% muslim, high crime rates, but virtually no extremism.
As for nobody listening, there has been a debate about islam and extremism in Europe for at least 25 years. I literally cannot turn on the tv or grab a newspaper without coming across an interview with muslim extremists, who predictably switch between issuing threats and playing the victim. It goes around in circles and never ends.
It is not enough when you are allowed to post or say anything, as long as no one is really engaging in a personal discussion (not debate) then there is no real communication in terms of the problems the people have. Also people get frustrated and angry, because what ever they do they are not getting anywhere.
And whose fault is that? There are different groups of muslims in Europe, in the Netherlands we have Ahmaddiya muslims of Indian extraction for example. They they know how to raise their kids and don't bother anybody. In contrast, immigrants from North-African villages are used to letting their children run around outside, they expect the public to correct them (=beat to a bloody pulp) when they get up to no good. This doesn't work in European cities, so they turn feral when they're 4-6 yo. It's hard to socialize kids after that, and given the complete lack of parental oversight, it goes downhill from there. They pick up street-skills like hotwiring cars, making molotovs, knive-fighting etc at a young age. Combined with their culture's ideas about masculinity and violence, and their disdain for book-learning, you get unemployable highschool dropouts.
Combined with the out-group hostility of their culture, and the racism, sectarianism and ultranationalism they pick up from foreign satellite tv, you get a group that is open to extremist thought.
Btw 1000s of young people from Morocco, Tunisia and Turkey have gone to join IS, this is *not* a European problem.
In addition your school grades are similar effected (males) when you have a foreign name or if you have a name which is typical associated with low income (e.g. Kevin in Germany).
Yeah, loads of terrorist Kevins about, randomly beheading people.