The Israeli military said in a statement on Thursday that two Palestinians allegedly stabbed and wounded an Israeli female soldier in the occupied West Bank, before they were shot and killed.
The statement said that the latest incident occurred at a road junction outside the settlement of Ariel.
"Forces at the scene responded to the attack and shot the assailants, resulting in their deaths. The woman is being evacuated for medical care," it said.
The Palestinians were identified as 19-year-old, Ali Thawabta and 20-year-old, Ali Takatka from the village of Beit Fajjar, near Jerusalem.
The violence between Palestinians and Israelis have been partly fuelled by Palestinian frustration over the collapse of the US-led peace talks in 2014 and illegal growth of Jewish settlements on Palestinian lands, which they seek for state.
Israel has been criticised for using excessive force in dealing with the alleged stabbing attempts. Palestinian deaths have increased since October last year.
The bloodshed since claimed the lives of at least 195 Palestinians and some 30 Israelis. Additionally a high number of Palestinians were also killed in protests against Israeli forces.
Palestinians say that the recent violence is the result of frustration from nearly half-a-century of occupation and they accuse Israel of using excessive force to suppress the unrest.
After Palestine was forcefully overtaken by Israel in 1967, many Palestinians had their citizenships revoked.
Only a very few percent of Palestinians are given residency permits, allowing them to work in certain areas.
Palestinian authorities have emphasised that the younger generation has no hope for their future living under tight Israeli security measures and a weak economy.