Cognizant interview question

foreign key and primary key question