NCP-CN practice question 6 of 25

[Prepare the Environment for an NKP Deployment] A Platform Engineer is preparing machine images for NKP through the NIB or KIB process. What is the purpose of doing this?

Full set: 108 questions
Answer options
A: Hardening an OS image with client-supplied hardening scripts
B: Creating a custom user account for NKP admins to ensure access to NKP nodes
C: Tagging the image to be used specifically for NKP
D: Creating a CAPI-compliant image for use as NKP cluster nodes Correct answer
Correct Answer:
D. Creating a CAPI-compliant image for use as NKP cluster nodes
Explanation

The primary purpose of using Nutanix Image Builder (NIB) or Karbon Image Builder (KIB) is to prepare a base OS image with all the necessary software components required by the Cluster API (CAPI) framework. Nutanix Kubernetes Platform (NKP) leverages CAPI for the lifecycle management of Kubernetes clusters. The image building process installs specific versions of kubeadm, kubelet, and containerd onto the image. This makes the resulting image "CAPI-compliant," enabling NKP to successfully bootstrap and manage the virtual machines as Kubernetes nodes.

Why Incorrect

A: While hardening scripts can be included, the fundamental purpose is installing Kubernetes components for CAPI compatibility, not general OS hardening. B: Creating a user account is a minor configuration detail within the image creation process, not its primary objective. C: Tagging is a management action performed in Prism Central to identify the image, not the technical purpose of the image building process itself.

References

1. Nutanix Kubernetes Platform Administration Guide v4.2 - Image Management: This guide explicitly states

"Nutanix Kubernetes Platform uses the Cluster API (CAPI) framework to create and manage Kubernetes clusters. CAPI requires a pre-built OS image that contains the necessary Kubernetes components

such as kubeadm

kubelet

and a container runtime (containerd)." It then introduces NIB as the tool for this purpose.

URL: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Kubernetes-Platform-Admin-Guide-v42:ecm-image-management-c.html

2. Cluster API - The Machine resource: The official Cluster API documentation outlines the dependency on pre-configured images for bootstrapping nodes

which aligns with the function of NIB/KIB.

URL: https://cluster-api.sigs.k8s.io/user/concepts.html#machine (See sections on bootstrapping).

Scroll to Top