Backstory: I am going to graduate from a cyber security degree and was looking into entering the field. My mum's friend who works in a fairly big company referred me to the company and I was asked to interview with them.
Through emails with my point of contact with the company, it was then I realised that the role I was interviewing for was a programming role instead of a cyber security role (The part where a laptop was required for a quick coding quiz clued me in).
To be fair, in my resume I had listed down several developer roles during my internships as a student. The thing is that I am not interested in a programming role as I realised it was not for me during my Bachelors which is why I transition into a Master in cybersec.
Question: How would I inform/ask whether I am able to switch roles into a role more related to my recent degree? I am fairly certain that they have a role more suited for me as it is a fairly large tech company and there are jobs for it listed there (Albeit not necessarily pure cybersec but may deal with security).
Should I email my point of contact and explain my situation before the interview, be honest with them during the interview or something else entirely?
Note 1: The job is listed as graduate trainee role.
Note 2: I am not sure whether if I have phrased the question title correctly, let me know if there is a more accurate representation.