This question already has an answer here:
I know that it’s possible to cast spells with a higher level spell slot than what it’s original spell level requires and several spells even give extra benefits for doing so. What I was wondering is if you cast a spell with a higher level spell slot, does the spell become the same level as the spell slot.
For example is someone casts Scorching Ray (a second level spell) with a seventh level spell slot, would the resulting spell be a seventh level spell or a second level spell? I’m curious about this because I want to know how things like counter spell and dispel magic interact with this mechanic.