Question 211 · 282 in bank
A Pod named my-app must be created to run a simple nginx container. Which kubectl command should be used?
Show answer
Answer: A
Kubernetes and Cloud Native Associate282 questions across 29 pages are complete and free, with no account or card.
282 questions in this bank
Free access · progress saved on this device
A Pod named my-app must be created to run a simple nginx container. Which kubectl command should be used?
Answer: A
What is the correct method to access an internal service by forwarding a local port to a specific port inside a Pod running in a Kubernetes cluster?
Answer: B
A Kubernetes Pod is returning a CrashLoopBackOff status. What is the most likely reason for this behavior?
Answer: D
A site reliability engineer needs to temporarily prevent new Pods from being scheduled on node-2, while keeping the existing workloads running without disruption. Which kubectl command should be used?
Answer: B
In Kubernetes, what is the primary purpose of creating a Service resource for a Deployment?
Answer: C
Which statement best describes the role of kubelet on a Kubernetes worker node?
Answer: C
What is the primary purpose of a Horizontal Pod Autoscaler (HPA) in Kubernetes?
Answer: C
A request for 500 mebibytes of ephemeral storage must be specified in a YAML file. How should this be written?
Answer: C
What command is often used to troubleshoot a failing Pod?
Answer: D
In a Kubernetes cluster, which scenario best illustrates the use case for a StatefulSet?
Answer: C
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
KCNA practice, question 211. 282 questions available.
Version 1.0.0. How we source questions