Four soldiers have been killed in the last 24 hours in Jammu and Kashmir. (Representational)

The Congress hit out at the Centre over the deaths of soldiers in recent terror attacks in Jammu and Kashmir, saying the Prime Minister Narendra Modi-led government will have to answer for the "intelligence failure".

Four soldiers have been killed in the last 24 hours in Jammu and Kashmir -- Major Ketan Sharma, Rifleman Anil Kumar Jaswal, Havildar Amarjeet Kumar and Naik Ajit Kumar -- Congress chief spokesperson Randeep Surjewala said.

In all, 10 soldiers were killed over the last week, he added. "I salute their sacrifice for the motherland," Mr Surjewala said in a tweet in Hindi.

Two soldiers were killed and several injured in a terror attack on an army vehicle in Jammu and Kashmir's Pulwama, he said. "This is completely a big intelligence failure of the government."

He pointed out that five soldiers were killed in an attack on CRPF personnel in Anantnag last week, and asked whether any lesson was learnt. Seven civilians were seriously injured in a terror attack on a police station in Pulwama, Mr Surjewala said. "We have full faith in the valour of our security forces. Today itself they have killed two terrorists," he added.

"But, the central government will have to answer for the intelligence failure. It will have to answer why are attacks taking place continuously," the Congress leader said.

On Monday, an army major and a terrorist were killed, while another officer and two troopers were injured in an encounter in Anantnag district. On the same day in Pulwama, nine army personnel and two civilians were injured when terrorists triggered a blast through an improvised explosive device (IED) fitted to a vehicle.

Two of the soldiers succumbed to the injuries on Tuesday, while the others are recuperating at a hospital. Last Wednesday, a lone Jaish-e-Mohammed terrorist attacked a CRPF patrol team, killing five personnel. A police officer, who reached the site shortly after the attack, was sprayed with bullets the moment he stepped out of his bullet-proof vehicle. He was flown to the All India Institute of Medical Sciences (AIIMS) in Delhi, but died on Sunday.