KUBERNETES AND CLOUD NATIVE Exam KCNA Questions V8.02 Kubernetes and Cloud Native Topics - Kubernetes and Cloud Native Associate (KCNA) Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well 1.An application that is nearing its usage limit. To increase the amount of users it can handle, you allo-cate additional memory resources to each instance of the application. What type of scaling is this? A. Horizontal Scaling B. Cluster Autoscaling C. Recursive Scaling D. Vertical Scaling Answer: D Explanation: Graphical user interface, diagram Description automatically generated 2.Which of the following best describes a cloud-native app? A. An application where all logic is coded into a single large binary. B. An application that publishes an HTTPS web front-end. C. An application that takes advantages of cloud computing fromworks and their loosely coupled cloud services. D. An application that leverages services that are native to public cloud platforms such as Azure, GCP, and/or AWS. Answer: C Explanation: Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Cloud-native apps leverage cloud computing frameworks and tend to be microservices based, where individual components of the app are coded as individual. 3.Which project in this list is a leading project in the observability space? A. Jaeger B. Vitess C. Argo D. Kubernetes Answer: A Explanation: https://github.com/cncf/landscape#trail-map Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well 4.To specify a Kubernetes object which language is used? A. JSON B. Go C. YAML Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well D. Node E. Python Answer: C Explanation: https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes- objects/ Graphical user interface, text Description automatically generated 5.What is OPA? A. Open Permission Agent B. Online Policy Audit C. Open Policy Agent D. Offline Policy Accessor Answer: C Explanation: https://www.cncf.io/projects/open-policy-agent-opa/ Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Graphical user interface, text, application, email Description automatically generated 6.Which access control component of Kubernetes is responsible for authorization and decides what requestor is allowed to do? A. Service Account B. Role-based access control 'RBAC' C. Deployment Answer: B Explanation: https://kubernetes.io/docs/reference/access-authn-authz/authorization/ Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Text, letter Description automatically generated 7.Which authentication method allows JWTs to authenticate? A. OpenId connect B. Client 'TLS' certificates C. OPA gatekeeper D. Anonymous Answer: A Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well 8.Which of the following are characteristics of Statefulsets? A. Ordered, graceful deployment and scaling B. Creates replica sets C. Uses headless services Answer: A Explanation: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ Graphical user interface, text, application, email Description automatically generated 9.Observability and monitoring are not the same? A. True B. False Answer: A 10.What does the 'kops' acronym means? A. Kubernetes Open Platform Specification B. Kubernetes Operations C. Kubernetes Operators D. Kubernetes Operation Policy Specification Answer: B Explanation: https://github.com/kubernetes/kops Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Graphical user interface, text, application, email Description automatically generated 11.Which prometheus metric type represents a single number value that can increase and decrease over time? A. Gauge B. Histogram C. Summary D. Counter Answer: A Explanation: https://prometheus.io/docs/concepts/metric_types/#gauge Graphical user interface, text Description automatically generated 12.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? Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well A. Log B. Span C. Trace D. Bucket Answer: B Explanation: https://www.splunk.com/en_us/data-insider/what-is-distributed-tracing.html Text, letter Description automatically generated Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well 13.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 Answer: B Explanation: https://kubernetes.io/docs/concepts/scheduling-eviction/ Graphical user interface, application Description automatically generated 14.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 Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well D. alias k='kubectl' k logs -p hello green Answer: B Explanation: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs Graphical user interface, text, application, email Description automatically generated 15.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 Answer: D Explanation: https://kubernetes.io/docs/concepts/overview/components/ Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Graphical user interface, diagram, application Description automatically generated 16.What Linux feature is used to provide isolation for containers? A. Processes B. Services C. NetworkPolicy D. Control groups Answer: D Explanation: Control groups provide isolation for container processes, keeping them separate from other process-es on the host. 17.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 Answer: A Explanation: https://fluxcd.io/docs/components/ Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Diagram Description automatically generated 18.Which control plane component is responsible for scheduling pods? A. kube-proxy B. kube scheduler C. kubelet D. kube api-server Answer: B Explanation: https://kubernetes.io/docs/concepts/overview/components/ Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Graphical user interface, text, application Description automatically generated 19.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 Answer: D Explanation: https://www.redhat.com/en/topics/cloud-native-apps 20.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 Answer: C Explanation: SREs create SLAs, SLOs, and SLIs to define and implement standards for application and infra-structure reliability. 21.Notary and the update framework leading security projects in CNCF A. TRUE B. FALSE Answer: A Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Explanation: https://github.com/cncf/landscape#trail-map A picture containing timeline Description automatically generated Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well 22.What is a commonly used package manager for kubernetes applications? A. npm B. apt C. helm D. kubernetes manifest Answer: C Explanation: https://helm.sh/ 23.Which is NOT a use case for the Kubernetes dashboard? A. Troubleshooting any issues with applications B. Managing running applications C. Installing new Kubernetes cluster D. Managing the entire Kubernetes cluster Answer: C 24.What is not semantic versioning? A. 1.0.0 B. 2022-05-04 C. 1.0.0-alpha D. 1.0.0-beta.2 Answer: B Explanation: https://semver.org/RegEx SemVer at https://regex101.com/r/vkijKf/1/ 25.What kind of limitation cgroups allows? A. Prioritization B. Resource limiting C. Accounting D. None of the options E. Control F. Server cpu and memory Answer: A,B,C,E 26.What is container orchestration? A. Packaging code and all of its dependencies into a single executable B. Adding code to a container image so it can run as a container C. Using automation to manage containers Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well D. Spinning a new containers to replace old ones Answer: C Explanation: https://www.redhat.com/en/topics/containers/what-is-container-orchestration Text Description automatically generated 27.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 28.kubeadm is an administrative dashboard for kubernetes A. False B. True Answer: A Explanation: https://kubernetes.io/docs/reference/setup-tools/kubeadm/ Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Graphical user interface, text, application Description automatically generated 29.Which of the following provides cloud-native storage orchestration? A. Cloud Provider Specific storage (EBS, EFS, Cloud Storage) B. Cloud Storage C. Storage IO Answer: A Explanation: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#types-of-persistent- volumes Real The Linux Foundation KCNA Exam Questions Help You Make Preparation Well Table Description automatically generated with medium confidence 30.Which Kubernetes resource creates Kubernetes Jobs? A. JobFactory