Complete the code to create a ConfigMap named 'app-config'.
kubectl create configmap [1] --from-literal=key=value
The ConfigMap name should be 'app-config' as specified.
Complete the command to apply a ConfigMap from a file named 'config.yaml'.
kubectl apply -f [1]The file to apply is 'config.yaml' as given in the instruction.
Fix the error in the command to create a secret named 'db-secret' with a literal password.
kubectl create secret generic [1] --from-literal=password=pass123
The secret name should use dashes, so 'db-secret' is correct.
Fill both blanks to mount the ConfigMap 'app-config' as a volume named 'config-volume' in a pod spec.
- name: [1] configMap: name: [2]
The volume name is 'config-volume' and the ConfigMap name is 'app-config'.
Fill both blanks to define environment variables from a ConfigMap named 'app-config' in a container spec.
envFrom: - [1]: name: [2]
Use 'configMapRef' to refer to ConfigMap, 'name' is the ConfigMap name 'app-config'. 'secretRef' is incorrect here.