Exam KCNA All QuestionsBrowse all questions from this exam
Question 6

Let's assume that an organization needs to process large amounts of data in bursts, on a cloud-based Kubernetes cluster. For instance: each Monday morning, they need to run a batch of 1000 compute jobs of 1 hour each, and these jobs must be completed by Monday night. What's going to be the most cost-effective method?

    Correct Answer: B

    To process large bursts of data efficiently on a cloud-based Kubernetes cluster, leveraging the Kubernetes Cluster Autoscaler is the most cost-effective method. This approach allows the cluster to automatically start and stop nodes based on demand. During peak times, such as when the Monday morning batch jobs need to run, the cluster will scale up to provide the necessary resources. Once the jobs are completed, the cluster will scale down, ensuring that you only pay for the resources when they are needed, thus avoiding over-provisioning and reducing costs.

Discussion
pablokobaOption: B

The most cost-effective method would likely be option B, leveraging the Kubernetes Cluster Autoscaler to automatically start and stop nodes as they're needed. Here's why: Burst processing workloads, like the one described, benefit from the elasticity provided by cloud-based Kubernetes clusters. With Kubernetes Cluster Autoscaler, you can scale your cluster up when there's a demand for more resources (e.g., Monday mornings when the batch jobs need to run) and scale it down during periods of low demand (e.g., after the batch jobs are completed). This ensures that you're only paying for the resources you actually need, avoiding over-provisioning and reducing costs.