Need help for CKAD mock exam, exam 1, q 15

Hi,

I added the cm as it asked in the question. but the result is failed. can you please


let me know why I am getting failed result for that question?

You used the wrong argument in kubectl create cm. It looks like you used --from-file, which includes the content of a file; you use it to mount a file into a configmap. What you needed to use, if you look at the solution block, was --from-env-file, which treats the content of the files as .env file – key value pairs.