# Which command writes a kustomization.yaml that lists the YAML files in the current directory?

Kustomize, Easy (Beginner), Commands. https://k8wiz.com/uquiz/which-command-writes-a-kustomizationyaml-that-lists-the-yaml-files-in-the-current-directory

- A. kustomize init
- B. kubectl kustomize --init
- C. kustomize create --autodetect
- D. kustomize new --scan

**Answer:** kustomize create --autodetect

**Explanation:** 'kustomize create --autodetect' writes a kustomization.yaml whose resources list the manifests it finds, and --recursive includes subdirectories. It's a quick way to start using Kustomize on a folder of plain manifests.
