The requirements for the second-level construction engineer to apply for the exam involve major (engineering and engineering economy), education (technical secondary school or above) and working years (the higher the education, the lower the working years, and the master's degree or above requires working years of more than 2 years).
Secondly, some cities may also require social security (different cities have different requirements), but this has nothing to do with residence permit and hukou. As long as the other three conditions are met, you should be able to apply for the second-level constructor exam. If Shanghai has special requirements, you can call your registration office in Shanghai.
Regarding the builder's question, please also pay attention to Baidu Knowledge Daily, which I educated in China: Am I a painter/daily/observer? id=4 1440。 Preview = 1