QatarEnergy signed a farm-in agreement with ExxonMobil to acquire a 40% participating interest in two exploration blocks offshore Egypt.