Saying "I don't know" is a sign of seniority for me.
It’s impossible to know all of the things, especially in Software Engineering. So not knowing something is no issue at all.
On the contrary, it shows me that you are self-aware and confident in yourself by saying that.