nerdexam
Linux_Foundation

CKS · Question #32

You can switch the cluster/configuration context using the following command: [desk@cli] $ kubectl config use-context qa Context: A pod fails to run because of an incorrectly specified ServiceAccount

Sign in or unlock CKS to reveal the answer and full explanation for question #32. The question stem and answer options stay visible for context.

Submitted by neha2k· May 5, 2026Minimize Microservice Vulnerabilities

Question

You can switch the cluster/configuration context using the following command: [desk@cli] $ kubectl config use-context qa Context: A pod fails to run because of an incorrectly specified ServiceAccount Task: Create a new service account named backend-qa in an existing namespace qa, which must not have access to any secret. Edit the frontend pod yaml to use backend-qa service account Note: You can find the frontend pod yaml at /home/cert_masters/frontend-pod.yaml

Unlock CKS to see the answer

You've previewed enough free CKS questions. Unlock CKS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Service Accounts#Pod Security#Access Control#YAML Configuration
Full CKS Practice