Pergunta de entrevista da empresa Diageo

how does primary key integrity is maintained by a database? (not asking what PK is ).