k8wiz
Home
Articles
Back to Kubernetes Quizzes
Kubernetes
Medium
Commands
Which command would you use to create a secret from a file?
Question #49 from Kubernetes
Select your answer:
A.
kubectl create secret generic my-secret --from-file=path/to/file
B.
kubectl apply secret my-secret --file=path/to/file
C.
kubectl secret create my-secret --from-file=path/to/file
D.
kubectl generate secret my-secret --file=path/to/file
Submit Answer
Take Full Kubernetes Quiz
Take Medium Level Quiz
Continue Learning
Explore more Kubernetes quiz questions and improve your knowledge
Browse all Kubernetes difficulty levels
Explore other Kubernetes technologies
k8wiz - Kubernetes Knowledge Quiz Platform