21.) Which tool encrypts Kubernetes Secrets natively?
A) kubeseal
B) SealedSecrets
C) Kubernetes EncryptionConfig
D) All of the above
22.) What does –from-env-file option do while creating a ConfigMap?
A) Sets volume mount path
B) Injects shell variables
C) Creates keys from environment variable files
D) Encrypts values
23.) QueWhich section defines how a Secret is mounted in a pod?stion
A) volumeMounts
B) env
C) configSpec
D) secretSpec
24.) Which resource allows separation of configuration and code in Kubernetes?
A) Deployment
B) ConfigMap
C) StatefulSet
D) Service
25.) What happens if you mount a Secret as a volume?
A) It appears as a file in the pod
B) It’s stored in /etc/secrets
C) It’s converted to environment variables
D) It creates a backup
26.) What happens if you try to decode a Secret and get gibberish?
A) It’s encrypted
B) It’s compressed
C) It’s invalid base64
D) It’s YAML
27.) What field is required when creating a Secret in YAML?
A) secrets
B) data
C) env
D) params
28.) Can a ConfigMap be used across multiple pods?
A) No
B) Only in same deployment
C) Only in stateful apps
D) Yes
29.) What base type is used to create Secrets in YAML?
A) v1/Secret
B) v1/config
C) SecretType
D) apiVersion/v1
30.) Which field specifies Secret type in YAML?
A) dataType
B) secretType
C) type
D) mode
Related