Questions on administrative bodies are best answered by matching each option's official mandate against the specific task named in the question, here, "preparing the City Master Plan":
Matching mandates to the specific task of preparing a City Master Plan points to the housing-focused ministry.
Therefore, the correct answer is Ministry of Housing and Urban Poverty Alleviation.