I have a core switch 3850 which is have 10G fiber uplink to SG500X switches. The connection is as under
1. Core Switch are in stack of 2
2. Access Switches SG500X is in stack of 2 and another in stack of 4. the stacking is done using 5G stack cable.
...