Free KCNA sample questions
Start with these free KCNA sample questions, each with the correct answer and an explanation. They cover Pods and Deployments, cluster architecture and cloud native ideas such as autoscaling. Use them to find the areas to study before booking.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 10 of 20 free sample questions.
A Kubernetes administrator needs to ensure that a monitoring agent pod runs on every single worker node in the cluster, but not on the control plane nodes. Which combination of Kubernetes objects and scheduling features should be used to achieve this?
The Kubernetes component responsible for storing the cluster state and configuration is `_____`.
A cloud architect is designing a cost-effective solution for running batch processing jobs that are fault-tolerant and can be interrupted. The jobs run on a public cloud provider's Kubernetes service. To minimize compute costs, which cloud native practice should the architect strongly consider for the nodes running these jobs?
### CASE STUDY A retail startup, 'ShopFast', is migrating its monolithic e-commerce application to a microservices architecture on Kubernetes. The development team has successfully containerized the 'product-catalog', 'shopping-cart', and 'payment-gateway' services. **Current Situation:** The services are deployed, but they cannot communicate with each other. The team also needs a way to expose the 'product-catalog' service to the internet securely via HTTPS on the domain `api.shopfast.com` so their mobile app can fetch product data. They have deployed an NGINX Ingress controller in the cluster. **Requirements:** 1. Enable service-to-service communication within the cluster. 2. Expose the 'product-catalog' service externally at `api.shopfast.com/products`. 3. Secure the external endpoint with a TLS certificate. **Proposed Architecture:** flowchart TD subgraph Kubernetes Cluster MobileApp -- HTTPS --> Ingress[Ingress: api.shopfast.com] Ingress -- HTTP --> ProductSvc[Service: product-catalog] ProductSvc --> ProductPods[Pods: product-catalog] CartSvc[Service: shopping-cart] --> CartPods[Pods: shopping-cart] PaymentSvc[Service: payment-gateway] --> PaymentPods[Pods: payment-gateway] CartSvc --> ProductSvc CartSvc --> PaymentSvc end MobileApp((Mobile App)) Which set of Kubernetes resources is required to meet all of ShopFast's requirements?
A DevOps engineer is troubleshooting a Pod that is stuck in the `Pending` state. After running `kubectl describe pod `, they see the event message: `0/3 nodes are available: 3 Insufficient cpu`. What is the most likely cause of this issue?
A technology steering committee is evaluating new open-source projects to include in their platform. They want to adopt technologies that are proven, stable, and have strong community support. According to the CNCF's project maturity levels, which category of projects best fits these requirements?
A security team wants to enforce a baseline security posture for all workloads in a specific namespace. They want to prevent containers from running as root and block hostPath volumes, but still allow for flexibility. Which Kubernetes security mechanism is designed for this type of policy-driven enforcement at the namespace level?
A system administrator needs to expose a web application running in a set of Pods to external users via the internet. The cloud provider offers a native load balancer service. Which Kubernetes Service type should be used to automatically provision and integrate with the cloud provider's load balancer? graph TD Internet((Internet)) --> CloudLB[Cloud Load Balancer] subgraph Kubernetes Cluster CloudLB --> Node1[Node 1] CloudLB --> Node2[Node 2] Node1 --> PodA[Pod A] Node2 --> PodB[Pod B] end
A platform engineering team is using Argo CD for GitOps. They notice that a developer has manually changed a Deployment's image tag using `kubectl set image`. The team wants to ensure the cluster state always matches the state declared in their Git repository. What core GitOps principle, when enabled in Argo CD, addresses this situation?
10 more free samples are waiting
Create a free account to unlock the whole KCNA sample bank, or get full access to all 300 practice questions in the simulator.