exam questions

Exam KCNA All Questions

View all questions & answers for the KCNA exam

Exam KCNA topic 1 question 45 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 45
Topic #: 1
[All KCNA Questions]

Which command will list the resource types that exist within a cluster?

  • A. kubectl api-resources
  • B. kubectl get namespaces
  • C. kubectl api-versions
  • D. curl https://kubectrl/namespaces
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shahy0
1 week, 2 days ago
Selected Answer: A
kubectl api-resources: This command displays a list of all resource types that are available in the Kubernetes API. It includes both built-in resources (like pods, services, and deployments) and custom resources that may be defined by Custom Resource Definitions (CRDs).
upvoted 1 times
...
vspringe
5 months, 3 weeks ago
Selected Answer: A
kubectl api-resources
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago