Infosys interview question

can a unique , not null key can replace primary key?