Exam 5v0-2320 All QuestionsBrowse all questions from this exam
Question 76

Which name is a valid namespace name?

    Correct Answer: B

    A valid namespace name must follow DNS naming conventions, which require it to contain only lowercase alphanumeric characters or hyphens and cannot start or end with a hyphen. The options are: name$pace01, namespace-01, namespace_01, NameSpace 01. Option 'name$pace01' contains a dollar sign which is invalid. Option 'namespace_01' contains an underscore which is invalid. Option 'NameSpace 01' contains uppercase letters and a space, both of which are invalid. Therefore, the only valid option is 'namespace-01'.

Discussion
obeythefistOption: B

It should be "B". Why? It must be DNS compliant. https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-177C23C4-ED81-4ADD-89A2-61654C18201B.html A - No, can't have $ B - Sure C - No, can't have ___'s D - No, can't have spaces

KingJ92Option: B

In Kubernetes, a valid namespace name must be a valid DNS label. According to the Kubernetes naming conventions, a valid DNS label: Must be no more than 63 characters. Can only contain lowercase alphanumeric characters or '-' (hyphen). Cannot start or end with a '-' (hyphen). Based on these rules, the valid namespace name among the options provided is: B. namespace-01

HenryDCaseOption: B

B. The stated answer is incorrect as you cannot have an _ as obeythefist notes also.

Abhi333Option: B

B namespace-01