NCP-CN practice question 24 of 25
[Perform Day 2 Operations] A development team decided to employ an efficient monitoring system with Grafana-logging, which was successfully implemented as can be seen in the following output: AppDeployment "kommander-default-workspace/grafana-logging" created in namespace "kommander-default-workspace". Which command did the team execute to complete this task?
Full set: 108 questionsThe output AppDeployment "kommander-default-workspace/grafana-logging" created... explicitly states that an AppDeployment resource was created. The Nutanix Kubernetes Platform (NKP) command-line interface (CLI) uses the nkp create appdeployment command to deploy an application from the catalog into a specified workspace.
Option A provides the correct command syntax: nkp create appdeployment [app-deployment-name] --app [app-package-name] --workspace [workspace-name]. This command instructs NKP to create a new application deployment named grafana-logging using the grafana-logging-6.57.4 application package within the default-workspace, which directly produces the output shown in the question.
B: This command is syntactically incorrect and uses create package-bundle, which is for creating application bundles, not for deploying a single application instance. C: The kubectl get command is used to retrieve or list existing resources. It does not create new resources, which is what the output indicates has happened. D: This is also a kubectl get command, used for viewing resources, not creating them. It also targets a lower-level HelmRelease resource, not the primary AppDeployment abstraction.
Nutanix Kubernetes Platform 2.4 Administration Guide: Section: "Deploying an Application from the CLI". The guide details the usage of the nkp create appdeployment command. The syntax shown is nkp create appdeployment --app --workspace [flags], which directly validates option A as the correct command to create an AppDeployment. (URL: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Kubernetes-Platform-Admin-Guide-v24:ec-applications-deploy-cli-t.html)
Keep practicing
Take the free NCP-CN practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other NCP-CN practice questions
- Question 1[Manage Building an NKP Cluster] A company has decided to expand NKP to features that req…
- Question 2[Conduct NKP Fleet Management] A Cloud Engineer wishes to attach existing AKS clusters to…
- Question 3[Prepare the Environment for an NKP Deployment] A company is required by NIST to follow F…
- Question 4[Perform Day 2 Operations] A dev team needed to optimize their logging system to be more …
- Question 5[Prepare the Environment for an NKP Deployment] When deploying NKP using the Nutanix prov…
- Question 6[Prepare the Environment for an NKP Deployment] A Platform Engineer is preparing machine …
