interview question "where do you plan on being in 5 years"

I disagree.

When you say “capitalizing on opportunities that may come my way.”

They hear “I’ll be leaving this company as soon as something that looks better comes along.”