Pod with same label keys

Is it possible to have a pod with label and with the same key but different values.For example, app=db and app=web.
In CKAD exam, I came across a question where 2 network policies need to select the same pod but cannot edit the policies. One network policy had podselector as app=db whereas other had app=web

hi @vikrammsaini,

Labels are a map[string]string so you are correct, this is not possible.