The Linux Foundation KCNA Kubernetes and Cloud Native Associate (KCNA) Online Training
The Linux Foundation KCNA Online Training
The questions for KCNA were last updated at Nov 22,2024.
- Exam Code: KCNA
- Exam Name: Kubernetes and Cloud Native Associate (KCNA)
- Certification Provider: The Linux Foundation
- Latest update: Nov 22,2024
Which prometheus metric type represents a single number value that can increase and decrease over time?
- A . Gauge
- B . Histogram
- C . Summary
- D . Counter
A
Explanation:
https://prometheus.io/docs/concepts/metric_types/#gauge
Graphical user interface, text
Description automatically generated
In distributed system tracing, is the term used to refer to a request as it passes through a single com-ponent of the distributed system?
- A . Log
- B . Span
- C . Trace
- D . Bucket
B
Explanation:
https://www.splunk.com/en_us/data-insider/what-is-distributed-tracing.html
Text, letter
Description automatically generated
What is scheduling in Kubernetes
- A . Determining when to execute a cron-job
- B . Assigning pods to nodes
- C . Joining a new nodes to the clusters
- D . Setting a time for automated tasks
B
Explanation:
https://kubernetes.io/docs/concepts/scheduling-eviction/
Graphical user interface, application
Description automatically generated
Have a pod ‘hello’ and a container in that pod ‘green’.
Which of the following commands would get the logs for that container?
- A . alias k=’kubectl’
k logs -p hello -c green - B . alias k=’kubectl’
k logs hello -c green - C . alias k=’kubectl’
k get logs -p hello -c green - D . alias k=’kubectl’
k logs -p hello green
B
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs
Graphical user interface, text, application, email
Description automatically generated
Which of the following is not the part of Kubernetes Control Plane?
- A . kube scheduler
- B . etcd (pronounce: esty-d)
- C . kube api-server
- D . kube-proxy
D
Explanation:
https://kubernetes.io/docs/concepts/overview/components/
Graphical user interface, diagram, application
Description automatically generated
What Linux feature is used to provide isolation for containers?
- A . Processes
- B . Services
- C . NetworkPolicy
- D . Control groups
D
Explanation:
Control groups provide isolation for container processes, keeping them separate from other process-es on the host.
What do GitOps tools do in kubernetes?
- A . They allow us to make changes to a kubernetes cluster using a Git repository
- B . They manage the source code of kubernetes itself
- C . They allow us to store software code in Git
- D . They allows us to store container images in repositories
A
Explanation:
https://fluxcd.io/docs/components/
Diagram
Description automatically generated
Which control plane component is responsible for scheduling pods?
- A . kube-proxy
- B . kube scheduler
- C . kubelet
- D . kube api-server
B
Explanation:
https://kubernetes.io/docs/concepts/overview/components/
Graphical user interface, text, application
Description automatically generated
What are the two goals of Cloud-Native?
- A . Rapid innovation and automation
- B . Slow innovation and stable applications
- C . Frequent deployments and well-defined organizational silos
- D . Rapid innovation and reliability
D
Explanation:
https://www.redhat.com/en/topics/cloud-native-apps
Which organizational persona creates Service Level Agreements ‘SLA’, Service Level Objectives ‘SLO’, and Service Level Indicator ‘SLI’?
- A . Developer
- B . DevSecOps
- C . Site Reliability Engineer (SRE)
- D . Security and Compliance Engineer
- E . DevOps
C
Explanation:
SREs create SLAs, SLOs, and SLIs to define and implement standards for application and infra-structure reliability.