NCP-CN practice question 13 of 25

[Manage Building an NKP Cluster] A Platform Engineer needs to create an NKP cluster on vSphere infrastructure, using the vSphere provisioning method…

Full set: 108 questions
[Manage Building an NKP Cluster] A Platform Engineer needs to create an NKP cluster on vSphere infrastructure, using the vSphere provisioning method. The cluster needs to have 3 worker node pools: First node pool should consist of 6 worker nodes Second node pool should consist of 3 worker nodes Third node pool should consist of 3 worker nodesAdditionally, the worker nodes in the first node pool should be set to 10 CPUs, the second node pool workers should be set to 8 CPUs, and the third node pool workers should be set to 6 CPUs. What is the proper way to create the NKP cluster using the NKP CLI?
Answer options
A: First, execute the nkp create cluster vsphere command, including the following parameters:-- worker-replicas 6--worker-cpus 10Then, execute the nkp create nodepool vsphere command, including the following parameters:--worker-replicas 3--worker-cpus 8Then, execute the nkp create nodepool vsphere command, including the following parameters:--worker-replicas 3--worker-cpus 6 Correct answer
B: First, execute the nkp create cluster vsphere command, including the following parameters:-- worker-replicas 6--worker-cpus 10Then, execute the nkp create nodepool vsphere command, including the following parameters:--replicas 3--cpus 6
C: When executing the nkp create cluster vsphere command, include the following parameters:-- node-pools 3--worker-replicas 6,3,3--worker-cpus 10,8,6
D: First, execute the nkp create cluster vsphere command, including the following parameters:-- worker-replicas 6--worker-cpus 10Then, execute the nkp create nodepools vsphere command, including the following parameters:--replicas 3,3--cpus 8,6
Correct Answer:
A. First, execute the nkp create cluster vsphere command, including the following parameters:-- worker-replicas 6--worker-cpus 10Then, execute the nkp create nodepool vsphere command, including the following parameters:--worker-replicas 3--worker-cpus 8Then, execute the nkp create nodepool vsphere command, including the following parameters:--worker-replicas 3--worker-cpus 6
Explanation

The correct procedure for creating a Nutanix Kubernetes Platform (NKP) cluster with multiple, distinct worker node pools via the CLI is a multi-step process. First, the nkp create cluster command is executed. This command provisions the Kubernetes control plane and the initial, default worker node pool, as specified by the --worker-replicas and --worker-cpus parameters. Subsequently, each additional worker node pool must be created individually by executing the nkp create nodepool command for each new pool, again specifying its unique configuration with the appropriate parameters. This sequential approach is the standard, documented method for building complex cluster topologies.

Why Incorrect

B: This option is incorrect because it uses invalid parameter names (--replicas, --cpus) for the nkp create nodepool command. The correct parameters are --worker-replicas and --worker-cpus. C: This option is incorrect as the nkp create cluster command does not support creating multiple node pools simultaneously using comma-separated values. It only configures the initial worker node pool. D: This option is incorrect because it uses a non-existent command (nkp create nodepools with an 's') and invalid parameter names (--replicas, --cpus).

References

1. Nutanix Kubernetes Platform Administration Guide - Creating a Kubernetes Cluster Using the CLI: This guide details the nkp create cluster command. The examples demonstrate that this command is used to create the cluster and its first worker node pool. It does not show syntax for creating multiple pools at once.

URL: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Kubernetes-Platform-Admin-Guide:Nutanix-Kubernetes-Platform-Admin-Guide/cli-reference-platform-cli-reference-c/cli-create-k8s-cluster-t.html

2. Nutanix Kubernetes Platform Administration Guide - Managing Node Pools Using the CLI: This section explicitly describes the process for adding node pools to an existing cluster using the nkp create nodepool command. The parameters shown

such as --worker-replicas

confirm the syntax used in the correct answer.

URL: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Kubernetes-Platform-Admin-Guide:Nutanix-Kubernetes-Platform-Admin-Guide/manage-k8s-clusters-platform-c/manage-node-pools-cli-t.html

Scroll to Top