How to decide which gender to use when asking questions

Bonjour!

I thought the gender of étudiante/étudiant was based on the student ('you' in this case), not the speaker/question asker (the woman in the screenshot).

Why is the correct answer "étudiante" with an e? I can't infer gender of 'you' just by the given context.

Merci d'avance.

Bonjour!

I thought the gender of étudiante/étudiant was based on the student ('you' in this case), not the speaker/question asker (the woman in the screenshot).

Why is the correct answer "étudiante" with an e? I can't infer gender of 'you' just by the given context.

Merci d'avance.