A Quick Look at the Accell UltraAV Mini DisplayPort to DisplayPort 1.2 Cable with Locking Latch – 6.6 Feet (2 Meters)
If you have a Mac like the iMac with Retina 5K Display or PC's like the Lenovo ThinkPad P50 Mobile Workstation, which have the mini DisplayPort connector, you can connect to an external display using the Accell UltraAV Mini DisplayPort to DisplayPort 1.2 Cable with Locking Latch - 6.6 Feet (2 Meters).
The Accell UltraAV Mini DisplayPort to DisplayPort 1.2 Cable with Locking Latch - 6.6 Feet (2 Meters) shows the 'DP' logo indicating that it has been certified for compliance to the DisplayPort specification requirements.
Mini DisplayPort tends to be used in notebook computers although newer models are now using the USB Type-C connector supporting Thunderbolt 3 or DisplayPort Alternate Modes. For computers with these types of USB Type-C connectors, you can use cables like the Plugable Thunderbolt 3 20Gbps USB-C Cable (2m) if you need to connect to a display that also supports DisplayPort over USB Type-C or Google's USB Type-C to DisplayPort Cable if the display is using Standard DisplayPort connectors.
If you need cables with standard DisplayPort connectors on both ends (usually found on larger desktop PC's, graphics cards, and docking stations), you can check out the UltraAV DisplayPort to DisplayPort 1.2 Cable with Locking Latches - 6.6 Feet (2 Meters).