Nutanix certification · Exam NCP-CN

NCP-CN Mock Exam

Nutanix Certified Professional - Cloud Native (NCP-CN-6.10)

Free NCP-CN questions on Perform Day 2 Operations, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Perform Day 2 Operations questions

1–10 of 10 free
Question 1 Choose 1
A technology company has decided to migrate its infrastructure to NKP to improve the scalability and management of its applications. After a successful initial implementation, the operations team faces a new challenge of validating the HelmReleases to ensure that all applications are running correctly and avoid problems in production. Which command should the company execute to know the right status of their HelmReleases?
Show answerHide answer

Correct answer: B kubectl get helmreleases -n ${PROJECT_NAMESPACE}

Explanation

Explanation
The question centers on the need to validate and check the status of HelmReleases after deployment. The key requirement is to obtain a read-out of the current state without making any changes.

Why Option B is Correct:
The kubectl get command is the primary command for listing and retrieving the status of Kubernetes resources. When applied to the helmreleases resource (which is a custom resource from the Flux CD Helm Controller), it will display a list of all HelmReleases in the specified namespace. The output typically includes columns like NAME, READY, STATUS, and MESSAGE, which directly tell the operations team if the deployments were successful, are in progress, or have failed. This is the most direct and appropriate command for validation.

Why the Other Options are Incorrect:

A. kubectl get namespaces:
This command lists all available namespaces but provides no information about the HelmReleases or application status within any specific namespace. It is too broad and does not address the core challenge.

C. kubectl edit helmreleases -n ${PROJECT_NAMESPACE}:
This command opens the live configuration of a HelmRelease for editing in a text editor. It is a mutating command and is used for making changes, not for validation. Using this to check status is inefficient and risks accidental modification.

D. kubectl apply -f fluent-bit-overrides.yaml:
This command is used to create or update resources based on a configuration file. It deploys or reconfigures a specific application (like Fluent Bit) but does not provide a status report on existing HelmReleases. It is an action command, not an inspection command.

Reference / Key Concept:
This question tests your understanding of fundamental kubectl commands and the GitOps workflow on the Nutanix Kubernetes Platform (NKP).

kubectl get:
The standard command for querying and retrieving the status of any Kubernetes resource.

HelmRelease:
A Custom Resource Definition (CRD) used by the Flux CD Helm Controller to manage the lifecycle of Helm chart deployments. Checking its status is the standard way to see if a Helm chart installed or upgraded successfully.

Namespace Scoping:
The use of -n ${PROJECT_NAMESPACE} is crucial, as it ensures the command only looks for HelmReleases within the specific project's namespace, which is a core tenet of multi-tenancy in NKP.

In summary, to validate the status of deployments, you use a get command, not a command that lists, edits, or applies configurations.
Question 2 Choose 1
A company has been modernizing on cloud-native platforms for the past few years and has been running
some small consumer support utilities on their production NKP cluster. After a thorough testing and QA cycle
with simulated workloads on a development cluster, the company is ready to bring their online retail
application into the fold. While they have sufficient system resources to scale the NKP cluster properly from a
performance standpoint, they also want to ensure they properly scale their monitoring stack’s resource
settings to retain a sufficient amount of data to see how overall system resource utilization trends for the NKP
cluster over several months’ time with the added workloads. Which NKP Platform Application component
should the company be most concerned with adjusting, and how should their Platform Engineer adjust it?
Show answerHide answer

Correct answer: D Adjust the resource settings for Prometheus by increasing its container resource limits and memory settings, as well as its storage.

Explanation

Explanation
The question focuses on scaling the monitoring stack to handle a larger workload and, most critically, to retain a sufficient amount of data... over several months' time. This directly points to the components responsible for metrics collection, storage, and long-term retention.

Why Option D is Correct:

Role of Prometheus:
Prometheus is the core time-series database and monitoring component in the NKP (and standard Kubernetes) stack. It is directly responsible for:

Scraping and Storing Metrics:
It pulls metrics from the Kubernetes API, nodes, pods, and applications.

Data Retention:
It stores these metrics on a persistent volume for querying and analysis.

Scaling Needs:
Adding a major new application like an online retail system will drastically increase the number of metrics collected (more pods, more services, more nodes). To handle this and retain data for "several months," you must:

Increase CPU/Memory Limits:
More metrics require more computational power for ingestion, compression, and querying.

Increase Storage:
The primary constraint for long-term data retention is disk space. Retaining months of high-resolution metrics from a larger cluster demands a significant increase in Prometheus' persistent storage capacity.

Why the Other Options are Incorrect:

A. Adjust the number of replicas for the Fluent Bit deployment, as well as increase the amount of storage available for use by the NKP cluster.
Fluent Bit is for log collection and forwarding, not metrics. Increasing its replicas or cluster-wide storage does not address the specific need to store and query historical metric data. The storage increase is also too vague; it must be targeted at the Prometheus component.

B. Adjust the number of replicas for the Prometheus deployment, as well as increase the amount of storage available for use by the NKP cluster.
While increasing Prometheus storage is correct, simply increasing the number of replicas is not the standard approach for vertical scaling. Prometheus is typically deployed as a single, stateful instance in this context. Horizontal scaling involves a more complex federation or Thanos architecture, which is not implied here. The correct approach is to scale the existing instance vertically (more CPU, RAM, and storage).

C. Adjust the resource settings for Fluent Bit by increasing its container resource limits and memory settings, as well as its storage.
This is incorrect for the same reason as option A. Fluent Bit handles logs. The question is explicitly about "system resource utilization trends," which are metrics, not logs. Fluent Bit does not store long-term data; it processes and forwards it.

Reference / Key Concept
This question tests the understanding of the NKP (or upstream Karbon) Platform Applications and their distinct roles:

Prometheus:
The metrics monitoring and time-series database system. Scaling for long-term data retention and increased load directly involves adjusting Prometheus' resource limits, requests, and most importantly, its storage size in its PersistentVolumeClaim (PVC).

Fluent Bit:
The log processing and forwarding agent. It is not used for storing historical data and does not track system resource utilization metrics.

When the requirement is to "retain a sufficient amount of [metrics] data," the component to adjust is always Prometheus, and the key adjustment is to its storage capacity and compute resources.
Question 3 Choose 1
What is a prerequisite for upgrading an NKP license to Ultimate?
Show answerHide answer

Correct answer: C Size the Control Plane nodes appropriately to support the installation of default platform services.

Explanation

Explanation
Upgrading an NKP license to the Ultimate tier unlocks advanced platform services (formerly known as Karbon Platform Services or KPS), such as service mesh, security scanning, and more. These services are deployed as part of the management stack and run on the control plane nodes of the NKP management cluster.

Why Option C is Correct:
The NKP Ultimate license enables a suite of additional, resource-intensive platform services. These services (e.g., Istio, Harbor, Grafana) are deployed as pods on the control plane nodes of the management cluster. If these nodes are not sized with sufficient CPU and memory to host these new workloads, the installation will fail or the cluster will become unstable. Therefore, ensuring the control plane nodes are appropriately sized is a critical prerequisite.

Why the Other Options are Incorrect:

A. Size the Sidecar containers appropriately...
"Sidecar containers" is a generic Kubernetes term for auxiliary containers in a pod. It is not a node-level resource category that needs pre-sizing for a license upgrade. This is a distractor.

B. Size the ETCD nodes appropriately...
In NKP and most Kubernetes distributions, the etcd service runs as a static pod on the control plane nodes. There are no dedicated "ETCD nodes." Sizing for etcd is encompassed within the overall sizing of the control plane nodes.

D. Size the Worker nodes appropriately...
While worker nodes run application workloads, the platform services enabled by the Ultimate license are specifically installed on the management cluster's control plane. The worker nodes in the management cluster are not the primary target for this prerequisite. The focus is correctly on the control plane, which hosts the core management services.

Reference / Key Concept
This question tests the understanding of the NKP licensing tiers and the architectural impact of enabling advanced features.

NKP Licensing Tiers:
NKP offers different tiers (e.g., Pro, Ultimate) that unlock different sets of features. The Ultimate tier includes a comprehensive set of platform services.

Control Plane Responsibility:
The control plane nodes in the NKP management cluster are responsible for hosting the core Kubernetes components (API Server, Scheduler, Controller Manager) as well as the NKP management stack and all enabled platform applications. Adding significant new services to this stack requires the underlying VMs (the control plane nodes) to have the necessary resources.

Prerequisite Checking:
The NKP documentation and pre-upgrade checks will explicitly require that the control plane nodes meet minimum CPU and memory requirements to support the Ultimate package deployment. Failure to meet these prerequisites will block the upgrade.

In summary, the key infrastructure prerequisite for a license upgrade that adds management services is ensuring the control plane nodes have the capacity to run them.
Question 4 Choose 1
In a telecom company, two teams were working on the development of two different applications:
ApplicationA
ApplicationBApplicationA’s development team was excited about the release of their new functionality. However, upon deploying their application, they noticed that performance was slow. After investigating, they discovered that the ApplicationB team was consuming the majority of the cluster’s resources, affecting all other teams. How can this problem be mitigated?
Show answerHide answer

Correct answer: A Implementing Quotas and Limit Ranges

Explanation

Explanation
The core problem described is a "noisy neighbor" issue within a shared Kubernetes cluster. One team (ApplicationB) is consuming excessive resources (CPU and Memory), which starves other applications (like ApplicationA) of the resources they need to perform correctly.

Why Option A is Correct:
Kubernetes provides two primary mechanisms to control resource consumption at the namespace level, which is the standard way to isolate teams or projects:

ResourceQuotas:
A ResourceQuota defines aggregate resource limits for a whole namespace. It can limit the total amount of CPU, memory, and storage that all pods within a namespace (e.g., the applicationb team's namespace) can consume. This would prevent one team from monopolizing the cluster's resources.

LimitRanges:
A LimitRange sets default and default request values for CPU and memory for pods within a namespace. If the ApplicationB team deploys pods without specifying resource requests and limits, a LimitRange can automatically apply them, ensuring no pod can run without defined constraints.

Together, Quotas and Limit Ranges are the direct and standard Kubernetes method to mitigate resource-based interference between tenants in a shared cluster.

Why the Other Options are Incorrect:

B. Setting up Network Policies:
Network Policies control the flow of network traffic between pods (e.g., which services can talk to each other). They are a security tool for network isolation and have no impact on managing CPU or memory consumption.

C. Configuring RBAC:
Role-Based Access Control (RBAC) governs permissions—what users and service accounts are allowed to do (e.g., create pods, view secrets). It is crucial for security but does not limit the amount of computational resources a pod can use.

D. Implementing Continuous Deployment (CD):
A CD pipeline automates the process of deploying software. While best practices like resource limits can be enforced through a CD pipeline, the CD process itself is not the mechanism that mitigates resource contention. The mitigation is achieved by the Kubernetes resource management objects (Quotas, Limits) that the CD pipeline would apply.

Reference / Key Concept
This question tests the understanding of Kubernetes multi-tenancy and resource management.

Multi-tenancy:
The practice of running multiple applications or teams (tenants) on a single shared cluster. The primary challenge is providing isolation, especially for resources.

Resource Management Tools:

ResourceQuotas:
Protect the cluster from a single tenant. (Answer to "How do we stop one team from using everything?")

LimitRanges:
Protect a tenant from itself and enforce good hygiene. (Answer to "How do we ensure every pod has limits?")

Requests and Limits (on individual Pods):
The fundamental building blocks that tell the Kubernetes scheduler and kubelet how to manage a pod's resources.

In a telecom company or any organization with multiple teams sharing an NKP cluster, implementing ResourceQuotas per namespace/workspace is the essential step to ensure fair resource allocation and prevent the scenario described.
Question 5 Choose 1
A Kubernetes administrator has been tasked with deploying a new cluster to AWS. The administrator has received the following requirements for this deployment:
Region us-east-1
AMI rhel8.6What is a requirement for deploying a new cluster in AWS?
Show answerHide answer

Correct answer: C Set an export AWS_REGION

Explanation

Explanation
When deploying an NKP cluster to a cloud provider like AWS, the NKP CLI and underlying tools need to know which specific region to operate in, as this determines the location of the compute, storage, and networking resources.

Why Option C is Correct:
The AWS CLI and SDKs (which NKP uses to interact with AWS) rely on environment variables for fundamental configuration. The AWS_REGION environment variable is a primary way to specify the default AWS region (e.g., us-east-1) for API requests. Without this being set, the deployment process would fail because it wouldn't know where to create EC2 instances, VPCs, and other resources. This is a foundational prerequisite for any AWS automation.

Why the Other Options are Incorrect:

A. Use --dry-run parameter:
The --dry-run flag is used to simulate a command without actually making any changes. It is a useful validation step but is not a requirement for a successful deployment.

B. Use --ami-format parameter:
This is not a standard or required parameter for an NKP on AWS deployment. While you can specify an AMI, the format or the flag used is not "ami-format". The requirement for a RHEL 8.6 AMI would be handled by a different, specific flag in the cluster configuration.

D. Set an export KUBECONFIG:
The KUBECONFIG environment variable tells the kubectl command where to find the configuration for an existing Kubernetes cluster. It is used to interact with a cluster after it has been deployed. It is not a requirement for the deployment process itself. In fact, the deployment process creates the kubeconfig file for the new cluster.

Reference / Key Concept:
This question tests the understanding of the prerequisites for deploying Kubernetes on a public cloud using infrastructure-as-code principles.

Cloud Provider Authentication & Configuration:
Before you can create resources in a cloud like AWS, you must configure access. This typically involves:

Credentials:
Setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

Region:
Setting AWS_REGION or AWS_DEFAULT_REGION to define the target geographical location for the deployment, as specified in the requirements (us-east-1).

The requirement for a specific AMI (rhel8.6) would be fulfilled within the NKP cluster configuration file (e.g., cluster.yaml), not by a generic environment variable or a --dry-run flag. The most fundamental and universal requirement from the list is correctly setting the AWS_REGION.
Question 6 Choose 2
A Platform Engineer is looking to backup and restore persistent volumes and other cluster resources. Which two NKP licenses include backup and restore functionality? (Choose two.)
Show answerHide answer

Correct answer: C, D NKP UltimateNKP Pro

Explanation

Explanation
Nutanix Kubernetes Platform (NKP) offers its advanced data management features, including backup and restore for persistent volumes and cluster resources, in its higher-tier licenses. These features are typically powered by integrated technology from Nutanix Mine for backups.

Why Options C and D are Correct:

NKP Pro:
This mid-tier license includes core platform services and, importantly, adds data services like backup and restore. It is the first tier where this functionality becomes available.

NKP Ultimate:
This is the top-tier license that includes all features of NKP Pro and adds advanced capabilities for multi-cluster and global management (via Kommander), service mesh, and enhanced security. Since it includes all Pro features, backup and restore is also included.

Why the Other Options are Incorrect:

A. NKP Starter:
This is the entry-level, free tier of NKP. It provides basic Kubernetes cluster lifecycle management but does not include advanced data services like backup and restore.

B. NKP Essential:
This is not a standard NKP licensing tier. The common tiers are Starter, Pro, and Ultimate. Therefore, it is not a correct answer.

Reference / Key Concept
This question tests knowledge of the NKP licensing tiers and their feature sets.

Feature Tiers:
Nutanix structures its NKP offerings to enable customers to start with basic functionality and scale up to more advanced enterprise features.

Starter:
Basic cluster management (create, scale, upgrade).

Pro:
Adds platform applications (monitoring, logging) and data services (backup/restore).

Ultimate:
Adds multi-cluster management, GitOps, service mesh, and security features, building upon all Pro features.

Therefore, to have access to backup and restore functionality for persistent volumes, a company must be licensed for either NKP Pro or NKP Ultimate.
Question 7 Choose 1
An administrator has experienced issues with an NKP-managed workload cluster and has been tasked with deploying NKP Insights in order to:
Resolve common anomalies
Check security issues
Verify whether workloads follow best practicesUpon trying to enable NKP Insights, the cluster that needs to be chosen is grayed out.Which missing prerequisite should be enabled?
Show answerHide answer

Correct answer: B Cert-manager

Explanation

Explanation
NKP Insights is a service that collects diagnostic data from your clusters and sends it to Nutanix for analysis to provide recommendations on security, best practices, and anomalies. For this service to function, it requires a secure, encrypted communication channel.

Why Option B is Correct:
The cert-manager is a Kubernetes add-on that automates the management and issuance of TLS certificates from various issuing sources. NKP Insights relies on cert-manager to automatically create and renew the TLS certificates needed for its components to communicate securely with the Nutanix backend services. If cert-manager is not installed and running on the management cluster, the NKP Insights service cannot establish this required secure connection, and the option to enable it will be disabled (grayed out).

Why the Other Options are Incorrect:

A. Velero:
Velero is used for backup and restore operations of Kubernetes cluster resources and persistent volumes. While it is included in higher NKP tiers (Pro/Ultimate), it is not a direct prerequisite for the NKP Insights service to be enabled.

C. Nutanix Objects:
This is Nutanix's object storage solution (S3-compatible). NKP Insights may use object storage for data, but it is not the direct prerequisite that enables the feature. The initial secure handshake and API communication are more critical and are handled by certificates from cert-manager.

D. Rook Ceph:
This is a storage orchestrator for Ceph, providing file, block, and object storage. It is not a prerequisite for NKP Insights. NKP Insights is an analytics and reporting tool, not a storage-intensive application that would require a specific storage class provider like Rook Ceph to be enabled.

Reference / Key Concept:
This question tests the understanding of the prerequisites for enabling specific NKP platform applications, particularly those that require external communication.

TLS Certificates for Secure Communication:
In modern cloud-native applications, especially those that transmit diagnostic data, all communication must be encrypted using TLS. Cert-manager is the de facto standard tool in Kubernetes for managing this complexity automatically.

NKP Insights Dependency:
The official Nutanix documentation for enabling NKP Insights explicitly lists cert-manager as a required component. Without it, the service cannot guarantee secure data transmission, and therefore the enablement option is logically disabled in the UI.

In summary, when an NKP feature that requires external API communication is grayed out, one of the first things to check is whether cert-manager is installed and functional on the management cluster.
Question 8 Choose 1
When deploying an NKP cluster onto air-gapped, pre-provisioned servers, Konvoy Image Builder is utilized to prepare the servers to become NKP cluster nodes.
What does the konvoy-image upload command do as a part of this preparation process?
Show answerHide answer

Correct answer: C The command uploads artifacts to the servers such as the container runtime, the OS bundle, and Kubernetes components.

Explanation

Explanation
The konvoy-image upload command is a specific step in the Konvoy Image Builder (KIB) workflow for provisioning bare metal or pre-provisioned servers in an air-gapped environment.

Why Option C is Correct:
This option accurately and concisely describes the core function of the konvoy-image upload command. After KIB has built the OS image bundle offline, this command is responsible for transferring (uploading) the necessary installation artifacts from the build host to the target servers over the network. These artifacts include:

The container runtime (e.g., containerd)

The OS bundle (including packages and dependencies)

Kubernetes components (kubeadm, kubelet, kubectl)

Why the Other Options are Incorrect:

A. The command is used to create a konvoy userid on the servers, as well as upload artifacts...
While creating a konvoy user is part of the overall node provisioning process, it is not the specific task of the upload command. This step is typically handled by the Ansible playbooks during a later phase, not by the upload command itself.

B. The command is used to upload OS hardening scripts to the server (must be client supplied).
This is too narrow and partially incorrect. While KIB can incorporate custom hardening scripts if they are provided and configured in the Ansible variables, this is not the primary or default purpose of the upload command. Its main job is to upload the core artifacts listed in option C.

D. The command uploads artifacts...
including optional OS hardening scripts (must be client supplied). This option is very close but adds an unnecessary and potentially misleading qualifier. The primary, guaranteed function of the command is to upload the core artifacts. The inclusion of "optional OS hardening scripts" is a specific use case, not the defining characteristic of the command. Option C provides the cleanest and most accurate description of its standard operation.

Reference / Key Concept
This question tests the understanding of the Konvoy Image Builder workflow for air-gapped, pre-provisioned infrastructure.

The typical sequence is:

konvoy-image build:
Creates the OS image bundle on a machine with internet access.

konvoy-image upload:
Transfers the built bundle and other artifacts to the target, air-gapped servers. (This is the command in question)

konvoy-image provision:
Uses Ansible to install the uploaded artifacts onto the servers, configuring them as Kubernetes nodes.

The upload command's role is purely to transfer the pre-built files to the target nodes, making them available for the subsequent provision step to execute.
Question 9 Choose 1
A development Kubernetes cluster deployed with NKP is having performance issues. The Cloud Engineer commented that worker VMs are consuming a lot of CPU and RAM. The Platform Engineer took a look at the CPU and RAM statistics with Grafana and confirmed that the worker VMs are running out of CPU and memory. The Kubernetes cluster has 4 workers with 8 vCPUs and 32 GB RAM. What could the Platform Engineer do?
Show answerHide answer

Correct answer: D Add one more worker with nkp scale nodepools ${NODEPOOL_NAME} --replicas=5 --clustername=${ CLUSTER_NAME} -n ${CLUSTER_WORKSPACE}

Explanation

Explanation
The problem is a cluster-wide resource shortage. The worker VMs themselves are running out of CPU and memory, indicating that the total allocatable resources across the entire cluster are insufficient for the current workload.

Why Option D is Correct:
This command horizontally scales the node pool by increasing the number of worker nodes from 4 to 5. This adds the total capacity of an entire new node (8 vCPUs and 32 GB RAM) to the cluster. This provides immediate relief by giving the Kubernetes scheduler more physical resources to place pods, which is the standard and most direct solution for this type of resource exhaustion.

Why the Other Options are Incorrect:

A. Call tech support to take a look at the infrastructure and investigate.
While investigation is part of the process, the problem has already been diagnosed using Grafana: the cluster is simply out of resources. The engineer has the tools and authority to resolve this by scaling the cluster. Escalating to support is an unnecessary step when the solution is a standard operational procedure.

B. Ask developers to lower the number of application replicas.
This is a temporary and non-scalable solution that impacts application performance and availability. The goal of the platform is to provide resources for the applications to run, not to throttle the applications to fit an undersized platform. This approach does not align with cloud-native scalability principles.

C. Add more CPU and memory to workers with nkp scale --cpu 16 --memory 64 --cluster-name ${CLUSTER_NAME}.
This command would vertically scale the existing worker nodes. This is not a recommended or typically supported operation for NKP worker nodes. Vertical scaling often requires restarting or recreating the VMs, which is disruptive. Furthermore, the syntax is incorrect; the nkp scale command is used for scaling node pools horizontally (changing the replica count), not for resizing individual VMs.

Reference / Key Concept:
This question tests the understanding of scaling strategies in Kubernetes and the correct use of the NKP CLI.

Horizontal vs. Vertical Scaling:

Horizontal Scaling (Correct):
Adding more nodes to a pool. This is the preferred, non-disruptive method for increasing cluster capacity in Kubernetes.

Vertical Scaling (Incorrect):
Resizing existing nodes. This is often disruptive and not a standard nkp command for worker nodes.

NKP CLI for Scaling:
The correct command to scale a node pool is nkp scale nodepools, which adjusts the --replicas count. This triggers the Cluster API (CAPI) to provision a new node with the same specifications as the others in the pool.

The most efficient and platform-native way to resolve the performance issue is to horizontally scale the cluster by adding another worker node.
Question 10 Choose 2
A Platform Engineer is running a Kubernetes cluster version 1.28.1 on AWS that needs to be upgraded to version 1.29.9. This cluster was deployed with Nutanix NKP. Which two actions should the engineer take to complete this requirement? (Choose two.)
Show answerHide answer

Correct answer: B, C Upgrade Control Planes with nkp update controlplane aws --cluster-name=${CLUSTER_NAME} -- ami AMI_ID --kubernetes-version=v1.29.9Upgrade Workers with nkp upgrade nodepool aws ${NODEPOOL_NAME} --clustername=${ CLUSTER_NAME} --kubernetes-version=v1.29.9

Explanation

Explanation
In NKP, upgrading a cluster involves a two-step process: first upgrading the control plane nodes, and then upgrading the worker node pools. The commands for these two steps are different.

Why Option B is Correct:
The command to upgrade the control plane nodes in an NKP-provisioned cluster on AWS is nkp update controlplane aws. This command will perform a rolling update of the control plane nodes, replacing them with new instances that use the specified Kubernetes version (v1.29.9) and the compatible AMI.

Why Option C is Correct:
The command to upgrade a worker node pool in an NKP-provisioned cluster is nkp upgrade nodepool aws. This command will perform a rolling update of the worker nodes in the specified node pool, cordoning and draining each node before replacing it with a new node running the target Kubernetes version.

Why the Other Options are Incorrect:

A. Upgrade Workers with nkp update nodepool aws...:
This command uses the wrong verb. The correct command for worker node pools is upgrade nodepool, not update nodepool. The update command is reserved for the control plane.

D. Upgrade the Cluster with nkp update cluster aws...:
This is a distractor. There is no single nkp update cluster command that handles the entire upgrade process in one step. The upgrade must be performed in the two distinct phases (control plane first, then workers) using the specific commands for each.

Reference / Key Concept
This question tests the knowledge of the specific NKP CLI commands and the proper sequence for performing a Kubernetes version upgrade on a provisioned cluster.

Sequential Upgrade:
The standard and safe procedure is to always upgrade the control plane first, followed by the worker nodes. This ensures the control plane's API server and controllers are compatible with the kubelets on the workers.

Command Specificity:

Control Plane:
nkp update controlplane

Worker Node Pools:
nkp upgrade nodepool

AMI Requirement:
For IaaS providers like AWS, upgrading the Kubernetes version often requires specifying a new AMI that contains the necessary components (kubelet, container runtime) for the target version. This is why the --ami flag is needed for the control plane upgrade.

By using the two correct commands (B and C) in sequence, the engineer can safely upgrade the entire cluster from v1.28.1 to v1.29.9.

That's the last free question in Perform Day 2 Operations

You've seen the free 30% (10 of 34 questions). Full access unlocks every question and full-length NCP-CN mock exams, a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the NCP-CN exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real NCP-CN exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full NCP-CN mock exam
  • —questions per mock
  • —time limit
  • 95questions in the bank
  • Newmock on every attempt