nerdexam
Broadcom-VMware

5V0-23.20 · Question #4

A user needs to identify the namespaces that may be accessed. Which command will provide the desired output?

The correct answer is C. kubect1 config get-contexts. A user can have permissions on multiple namespaces. The kubectl commands are typically actioned against the current active namespace. View the list of available namespaces: kubectl config get-contexts Change the current active namespace: kubectl config use-context <namespace>

Administer and Operate VMware HCI

Question

A user needs to identify the namespaces that may be accessed. Which command will provide the desired output?

Options

  • Akubect1 get storageclasses
  • Bkubect1 config use-context
  • Ckubect1 config get-contexts
  • Dkubect1 get contexts

How the community answered

(36 responses)
  • A
    8% (3)
  • B
    6% (2)
  • C
    83% (30)
  • D
    3% (1)

Explanation

A user can have permissions on multiple namespaces. The kubectl commands are typically actioned against the current active namespace. View the list of available namespaces: kubectl config get-contexts Change the current active namespace: kubectl config use-context <namespace>

Topics

#kubectl#namespace access#get-contexts#Kubernetes CLI

Community Discussion

No community discussion yet for this question.

Full 5V0-23.20 Practice