NCP-AI practice question 14 of 15

Which command can the administrator use to list which versions of nai-core are available to install?

Full set: 75 questions
Answer options
A: helm get repo ntnx-charts/nai-core --versions
B: helm search repo ntnx-charts/nai-core --versions Correct answer
C: helm pull repo ntnx-charts/nai-core --versions
D: helm push repo ntnx-charts/nai-core –versions
Correct Answer:
B. helm search repo ntnx-charts/nai-core --versions
Explanation

The helm search repo command is the standard Helm utility used to search for charts within the configured chart repositories. To list all available versions of a specific chart, the --versions flag (or its shorthand -l) is used. The command helm search repo ntnx-charts/nai-core --versions correctly targets the nai-core chart within the ntnx-charts repository and instructs Helm to display a list of all its available versions, which is precisely what the administrator needs to do before an installation or upgrade.

Why Incorrect

A. helm get is used to retrieve information about an already deployed release, not to search for available chart versions in a repository.
C. helm pull downloads a specific version of a chart from a repository to the local machine; it does not list available versions.
D. helm push is used to upload a chart package to a chart repository, which is the opposite of searching for available charts.

References

1. Nutanix AI Deployment Guide v1.0.2: In the "Upgrading Nutanix AI" section, this exact command is provided as the method to check for available versions of the nai-core chart before performing an upgrade.

Reference: Nutanix AI 1.0.2 Deployment Guide, Page 29, "Upgrading Nutanix AI", Step 2.

2. Official Helm Documentation: The documentation for the helm search repo command explicitly describes the function of the --versions flag.

Reference: Helm Documentation, "helm search repo" command reference. The description for the -l, --versions flag states it is used to "show the long listing, with the chart version".

Scroll to Top