# An overlay lists two components: first one that sets nameSuffix: -b, then one that adds a Deployment named proxy. What is the Deployment called after the build?

Kustomize, Hard (Expert), Mutation. https://k8wiz.com/uquiz/an-overlay-lists-two-components-first-one-that-sets-namesuffix-b-then-one-that-adds-a-deployment-named-proxy-what-is-the-deploym

- A. proxy-b, because every component's transformers run at the end
- B. proxy-b, because nameSuffix applies to the whole overlay output
- C. proxy, because the suffix ran before the Deployment was added
- D. The build fails, because a component can't add new resources

**Answer:** proxy, because the suffix ran before the Deployment was added

**Explanation:** Components run one at a time in list order, and each one applies its transformers to the resources gathered so far. The suffix component runs while proxy doesn't exist yet, so only earlier resources get -b. List the suffix component last, or set nameSuffix in the overlay itself, to rename everything.
