To obtain a CDL, you must pass a written knowledge test, a skills test, and a medical exam. You may also need to complete a training program depending on your state's requirements.