Clarification on name discrepancy

I want to know if the discrepancy between my name on the LF portal and the one on my Identity card would affect my exam during identity verification. Below are the order of my names

My Name on LF Portal : Firstname Surname

My name on my National Identity card: Surname Firstname Middlename

Please somebody help me to know if it will affect my exam