If your license is still valid, you do not have to take the MD Driving Exam. After you have moved to Maryland, you will have 60 days to replace your out-of-state license with a MD Driver's License. You will need to pass a vision test in order to get your MD Driver's License.
Click here to ask your driving related question.
Do I have to pass the MD road test when I move to MD from another state?