Pass the Nutanix Nutanix Certified Professional (NCP) NCP-CN Questions and answers with CertsForce

Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions
Questions # 21:

Question # 21

A Platform Engineer is preparing to deploy an NKP cluster in an air-gapped environment. The NKP cluster will be deployed on Nutanix infrastructure using the CAPI Nutanix provisioner (CAPX). The engineer has decided to create the bootstrap cluster first, then NIB-prep an Ubuntu 22.04 OS image that the Linux engineering team has provided in Prism Central. After that, the engineer will deploy the NKP cluster. However, during the first step of creating a bootstrap cluster, the engineer received the error shown in the exhibit. What could be the reason?

Options:

A.

The CAPI provisioning method needs to be specified as part of the command nkp create bootstrap nutanix.


B.

The bootstrap cluster image needs to be loaded prior to creating the bootstrap cluster.


C.

The Ubuntu 22.04 OS image needs to be NIB-prepped prior to creating the bootstrap.


D.

The nkp create bootstrap command needs to be executed as root.


Expert Solution
Questions # 22:

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?

Options:

A.

First, execute the nkp create cluster vsphere command, including the following parameters:

--worker-replicas 6

--worker-cpus 10

Then, execute the nkp create nodepool vsphere command, including the following parameters:

--worker-replicas 3

--worker-cpus 8

Then, execute the nkp create nodepool vsphere command, including the following parameters:

--worker-replicas 3

--worker-cpus 6


B.

First, execute the nkp create cluster vsphere command, including the following parameters:

--worker-replicas 6

--worker-cpus 10

Then, 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 10

Then, execute the nkp create nodepools vsphere command, including the following parameters:

--replicas 3,3

--cpus 8,6


Expert Solution
Questions # 23:

A Cloud Engineer is deploying an NKP Cluster in AWS. The environment is for testing purposes only, so the AWS team has requested it be deployed to use a minimal set of system resources to reduce cloud subscription fees. Which two parameters should be specified when initializing a Kommander installation, using the nkp install kommander command set? (Choose two.)

Options:

A.

--request-timeout


B.

--wait-timeout


C.

--yaml


D.

--init


Expert Solution
Questions # 24:

A dev team needed to optimize their logging system to be more robust, because the CPU and memory limits were insufficient, which caused delays in log collection and processing during times of high demand.

After a deep performance analysis, they decided to increase the CPU limits from 1 to 4 and the memory from 1000Mi to 4Gi.

Which ConfigMap should the development team run with custom resource requests and limit values for fluentd?

Options:

A.

bash

Copy

[nutanix@nkp-boot ~]$ cat < configmap.yaml

apiVersion v1

kind ConfigMap

metadata

name logging-operator-logging-overrides

namespace kommander

data

values.yaml |

fluentd

resources

limits

cpu 1

memory 1000Mi

requests

cpu 4

memory 4Gi

EOF


B.

bash

Copy

[nutanix@nkp-boot ~]$ cat < configmap.yaml

apiVersion: v1

kind: ConfigMap

metadata:

name: logging-operator-logging-overrides

namespace: kommander

data:

values.yaml: |

fluentd:

resources:

limits:

cpu: 4

memory: 4Gi

requests:

cpu: 4

memory: 4Gi

EOF


C.

bash

Copy

[nutanix@nkp-boot ~]$ cat < configmap.yaml

apiVersion v1

kind ConfigMap

metadata

name logging-operator-logging-overrides

namespace kommander

data

values.yaml |

fluentd

resources

limits

cpu 4

EOF

values.yaml |

fluentd

resources

limits

cpu 4

memory 4Gi

requests

cpu 1

memory 1000Mi


D.

bash

Copy

[nutanix@nkp-boot ~]$ cat < configmap.yaml

apiVersion: v1

kind: ConfigMap

metadata:

name: logging-operator-logging-overrides

namespace: kommander

data:

values.yaml: |

fluentd

resources

limits

cpu 4

memory 1000Mi

requests

cpu 1

memory 4Gi

EOF


Expert Solution
Questions # 25:

A Platform Engineer is deploying an NKP workload cluster using the nkp create cluster vsphere command. The cluster will be utilized by the company’s code-green team and the engineer has already created a code-green NKP workspace on the NKP management cluster.

After issuing the deploy command, the engineer monitored the build using the nkp describe cluster command and confirmed it completed successfully. However, a few hours later, after logging into the NKP UI, the engineer checked the code-green NKP workspace and saw that the NKP workload cluster was not there.

What is the likely reason the NKP workload cluster is not in the code-green NKP workspace?

Options:

A.

The vSphere cluster cannot be displayed in the NKP UI unless its Kubernetes version is within ‘N - 1’ versions of the NKP management cluster’s Kubernetes version.


B.

The vSphere service account credentials had expired prior to the engineer’s attempt to view the cluster in the NKP UI. Once the credentials are refreshed, the vSphere cluster will reappear in the NKP workspace.


C.

The engineer did not supply the --namespace code-green parameter as part of the nkp create cluster vsphere command, therefore it was created in the default workspace and needs to be manually attached.


D.

NKP vSphere clusters cannot be assigned NKP workspaces and instead are assigned the default NKP workspace. The cluster can be viewed from this workspace instead.


Expert Solution
Questions # 26:

A Platform Engineer needs to do an air-gapped installation of NKP. This environment needs to run without Internet access and be fully operational, including updates. Docker has been installed, and the NKP bundle exists on a bastion host. What is the first command that the engineer must run to begin the process?

Options:

A.

nkp push bundle --bundle


B.

docker load -i konvoy-bootstrap-image-v2.12.0.tar


C.

tar -xzvf nkp-air-gapped-bundle_v2.12.0_linux_amd64.tar.gz


D.

nkp create cluster nutanix


Expert Solution
Questions # 27:

Which NKP tier is required for the FIPS Compliant Build feature?

Options:

A.

Advanced


B.

Enterprise


C.

Starter


D.

Pro


Expert Solution
Questions # 28:

After a finished project, three Kubernetes clusters within a workspace were deleted, so the workspace is empty. Now a Platform Engineer needs to delete the workspace. How should the engineer delete the workspace in NKP?

Options:

A.

Run kubectl delete workspace


B.

Run kubectl delete workspace


C.

From NKP UI, on top menu bar select Global, then select Workspaces in the menu, select the three-dot button for the workspace to delete, and then click Delete.


D.

Ask a workspace user to delete the workspace. The user has the Delete option in their workspace home page.


Expert Solution
Questions # 29:

Question # 29

A Platform Engineer is preparing to deploy a new NKP cluster on Nutanix infrastructure into an air-gapped environment. As part of the preparation process, the engineer is supplying a Ubuntu 22.04 instance to be used for NKP cluster nodes that conforms to the corporate OS image hardening standards. However, during the NIB preparation process, the error shown in the exhibit is received.

What is the likely reason the NIB preparation attempt has failed?

Options:

A.

The engineer has supplied the inartifacts directory for the OS package bundle in the NIB-prep command.


B.

Ubuntu 22.04 is not a supported OS for NKP nodes on Nutanix infrastructure, therefore the necessary OS package bundle does not exist.


C.

The engineer has not seeded the local registry with the required NKP images prior to the NIB-prep attempt.


D.

The engineer has not created the OS package bundle prior to the NIB-prep attempt.


Expert Solution
Questions # 30:

A company recently deployed NKP. A Platform Engineer was asked to attach the existing Amazon EKS. A workspace and project were created accordingly, and resource requirements were met. What does the engineer need to do first to prepare the EKS clusters?

Options:

A.

Configure a ConfigMap according to EKS configuration.


B.

Create a service account with cluster-admin permissions.


C.

Configure HAProxy to get connected to EKS clusters.


D.

Deploy cert-manager in the EKS clusters.


Expert Solution
Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions