You can take the series 7 exam without being a US resident [I think you don't even need a US visa, as you can take it in Mexico City, Hong Kong and other offshore locations]. What you do need, [and it's not easy to come by] is a US broker [NSDQ or FINRA member] to sponsor you...