This is a typical product that has multiple versions (in this case, different lengths). Creating a product with multiple versions rather than options works best when there is only one variable, especially when each version is pre-packaged and has a unique SKU, and where you need to stock track your supplies.
Notice that we have set the versions to order by price, otherwise if the default alphabetical sort was used, the 10m cable would come first.