I have this use case,
For example -> I put forward two custom dimensions with same name but different values.
Will the entries of different values be stored differently?
Or will the values be overridden because the custom dimension name is same?
The answer is that, if you use a Custom Dimension of Visit scope, the last value will be kept.
If you use "Action" scope, then all values will be recorded as they are recorded in each action/pageview.