Download Linux Foundation KCNA Sample Questions [Dec-2023]
Real KCNA Exam Questions and Answers FREE
NEW QUESTION # 58
What is Open Container Initiative 'OCI'?
- A. The governing body of the Cloud Native Computing Foundation 'CNCF'
- B. An organization that creates open standards for containers
- C. A protocol for communicating with the kubernetes api
- D. An open standard for managing service mesh in kubernetes
Answer: B
Explanation:
https://opencontainers.org/
NEW QUESTION # 59
How would you return all the pod data in the json format using kubectl command?
- A. kubectl get pods -o json
- B. kubectl get pods --all-namspaces
- C. kubectl get pods -o wide
- D. kubectl get pods -o jsonpath
Answer: A
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get
NEW QUESTION # 60
Which of the following is not the required field to describe Kubernetes objects?
- A. Kind
- B. spec
- C. Container
- D. metadata
- E. apiVersion
Answer: C
Explanation:
https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/
NEW QUESTION # 61
Which of the following command is used to get detailed information about the pod?
- A. kubectl get
- B. kubectl describe
- C. kubectl explain
- D. kubectl info
Answer: B
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe
NEW QUESTION # 62
What can you use to add new resource types to your cluster?
- A. CustomResourceDefinitions
- B. init container
- C. Flux
- D. CRI-O
- E. start container
Answer: A
Explanation:
https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/
NEW QUESTION # 63
What Kubernetes resource would allow you to run one Pod on some of your Nodes?
- A. ClusterSet
- B. Deployment
- C. ReplicaSet
- D. DaemonSet
Answer: D
Explanation:
https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
NEW QUESTION # 64
How can you achieve cost optimization in the cloud environment?
- A. Use Spot Instances
- B. Use On Demand instances
- C. Use Reserved Instances
- D. Use Bare Metal
Answer: C
NEW QUESTION # 65
What feature is used for selecting the container runtime configuration?
- A. Runtime
- B. RuntimeClass
- C. RuntimeContainer
- D. RuntimeConfig
Answer: B
Explanation:
https://kubernetes.io/docs/concepts/containers/runtime-class/
NEW QUESTION # 66
Stateful set requires which service for the network identity of pods?
- A. Headless Service
- B. Ingress
- C. Load Balancer Service
Answer: A
Explanation:
https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
NEW QUESTION # 67
How to get the logs of the previously terminated nginx container from the web pod?
- A. kubectl logs nginx
- B. kubectl logs -f -c nginx web
- C. kubectl logs -p -c nginx web
- D. kubectl logs -p -c web nginx
Answer: C
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs
NEW QUESTION # 68
What Linux feature is used to provide isolation for containers?
- A. NetworkPolicy
- B. Services
- C. Processes
- D. Control groups
Answer: D
Explanation:
Control groups provide isolation for container processes, keeping them separate from other process-es on the host.
NEW QUESTION # 69
The three typical opentelemetry data is?
- A. Metrics
- B. Logs
- C. All of the options
- D. Traces
Answer: C
Explanation:
https://opentelemetry.io/docs/concepts/data-sources/
NEW QUESTION # 70
What command can you use to get documentation about a resource type from the command line?
- A. kubectl get
- B. kubectl explain
- C. kubectl api-resources
- D. kubeadm get-resource
Answer: B
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#explain
NEW QUESTION # 71
Open Container Initiative set container standards for
- A. Code, Build, Distribute, Deploy containers
- B. Run, build, and image
- C. Code, Build, Distribute containers
- D. Run, Build, Distribute containers
Answer: D
NEW QUESTION # 72
Which of the following is an example of vertical scaling?
- A. Adding more resources (memory and/or cpu) to a kubernetes node
- B. Adding more replica pods to a deployment
- C. Using cluster autoscaler
- D. Adding more nodes to kubernetes cluster
Answer: A
Explanation:
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
NEW QUESTION # 73
What are cluster-wide objects
- A. ConfigMaps and Secrets
- B. Service and Pods
- C. Volumes and Nodes
Answer: C
Explanation:
https://kubernetes.io/docs/concepts/overview/working-with-objects/_print/
NEW QUESTION # 74
......
Truly Beneficial For Your Linux Foundation Exam: https://www.exam4free.com/KCNA-valid-dumps.html
View All KCNA Actual Exam Questions, Answers and Explanations for Free: https://drive.google.com/open?id=1wvSGTcuIU3ncKvGCJ2BHFUM4Wdal930M
