An employment agency wants to examine the employment rate in a city. The employment agency divides the population into the following subgroups: age, gender, graduates, nongraduates, and discipline of graduation. The employment agency then indiscriminately selects sample members from each of these subgroups. This is an example of:

A. simple random sampling.
B. purposive sampling.
C. convenience sampling.
D. stratified random sampling