Exposing the ConfigMap and Secret resources to your Kubernetes application

Question:
Which two of the following statements are correct ways of exposing the ConfigMap and Secret resources to your application? (Choose two.)

  1. You can inject the values as environment variables
  2. You can expose the values by using the etcd database
  3. You can expose the values by using the kube-api service
  4. You can mount all keys as files
Answer:
A, D - are the correct answers