# What does namePrefix: dev- do?

Kustomize, Easy (Beginner), Concepts. https://k8wiz.com/uquiz/what-does-nameprefix-dev-do

- A. Adds dev- to the names of Deployments and Services, but not other kinds
- B. Creates a namespace called dev- for all the resources
- C. Adds dev- to the value of every label in the output
- D. Adds dev- to every resource's name and updates references to them

**Answer:** Adds dev- to every resource's name and updates references to them

**Explanation:** Kustomize prefixes every resource's name and fixes references to the renamed objects, such as a Deployment's configMapRef or a RoleBinding's roleRef. nameSuffix does the same at the end of the name.
