Answer 'A' correctly describes the Great Wall = It was built to protect Qin's empire from foreign invasion.
Apart from defense, the Great Wall included border controls, and regulation of goods. After Qin dynasty, other dynasties had used it, to maintain their territories.