Suspected Islamic militants killed two Egyptian soldiers and a police conscript in attacks in the restive northeastern Sinai Peninsula on Tuesday, security officials said.

In the first attack, a roadside bomb struck a passing armored vehicle, killing the two troops. The vehicle was taking part in a search for Islamic extremists in the village of al-Kharouba, near the border with the Gaza Strip.

The bombing also wounded six soldiers who are in serious condition, said the officials.

Separately, in the peninsula city of el-Arish, a young conscript was shot to death in a drive-by shooting by suspected militants Tuesday, the officials said. They spoke on condition of anonymity because they were not authorized to speak to the media.

Northeastern Sinai has been a longtime hotbed of Islamic insurgency.

The Sinai-based militant group Ansar Beit al-Maqdis has claimed responsibility for a series of attacks against Egyptian security forces. It recently pledged its loyalty to the Islamic State group, and changed its name to "Sinai Province."

The IS group, which is fighting in Iraq and Syria, and its offshoots have claimed responsibility for some of the deadliest attacks in the region over the past three months.