National security is primarily focused on defending the country from external threats, protecting against subversive activities, and managing emergency situations. However, it is not typically responsible for building the infrastructure of a nation, which is usually managed by other government sectors or agencies.
Therefore, the answer is:
B. build the infrastructure of a nation