nerdexam
Cisco

350-901 · Question #92

Refer to the exhibit. A kubeconfig file to manage access to Kubernetes clusters is shown. How many Kubernetes clusters are defined in the file, and which cluster FS accessed using username/password…

The correct answer is D. two clusters; scratch. The kubeconfig file defines two clusters, and the 'scratch' cluster is configured to use username and password credentials rather than certificate-based authentication.

Question

Refer to the exhibit. A kubeconfig file to manage access to Kubernetes clusters is shown. How many Kubernetes clusters are defined in the file, and which cluster FS accessed using username/password authentication rather than using a certificate?

Options

  • Athree clusters; scratch
  • Bthree clusters; development
  • Ctwo clusters; development
  • Dtwo clusters; scratch

How the community answered

(54 responses)
  • A
    7% (4)
  • B
    19% (10)
  • C
    4% (2)
  • D
    70% (38)

Why each option

The kubeconfig file defines two clusters, and the 'scratch' cluster is configured to use username and password credentials rather than certificate-based authentication.

Athree clusters; scratch

The file contains only two cluster definitions in its 'clusters' list, not three, so selecting three clusters is incorrect regardless of the authentication method identified.

Bthree clusters; development

The file contains only two cluster definitions, not three; additionally, the development cluster uses certificate-based authentication, not username/password.

Ctwo clusters; development

While the cluster count of two is correct, the development cluster authenticates using a client certificate and private key, not username/password credentials.

Dtwo clusters; scratchCorrect

A kubeconfig file can contain multiple cluster, user, and context definitions; when exactly two cluster entries appear in the 'clusters' section, the count is two. The 'scratch' cluster's associated user entry specifies 'username' and 'password' fields for authentication, whereas the 'development' cluster's user entry references a client certificate and key, confirming certificate-based auth for development and username/password for scratch.

Concept tested: Kubernetes kubeconfig cluster and authentication configuration

Source: https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/

Community Discussion

No community discussion yet for this question.

Full 350-901 Practice