Based on the excerpt, the correct response to how the civil service examination system changed Chinese society is:
The Confucian-based civil service examination system led to the dominance of a highly educated and privileged class in Chinese society.
For the second question regarding how Shi Huangdi tried to defend his empire from attacks by nomads, the BEST explanation is:
He built a stone wall over 2,600 miles long.