Identical observations are checked and removed through the NODUP option. On the other hand, the NODUPKEY option checks for all BY variable values and if found, it will eliminate those.
Advanced SAS Interview Questions and Answers For Experienced