The interest rate used is the interest rate on high quality government bonds, which in questions reads as the discount rate. The expected return on assets is there to trick you as it is not used.
If you’re interested then it was used in an older version of IAS 19, and is possibly why it is still sitting in the question.