Certified Kubernetes Application Developer (CKAD) Namespace Practice Questions
The free Certified Kubernetes Application Developer (CKAD) questions that deal with namespace, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #3
Exhibit: Context Your application’s namespace requires a specific service account to be used. Task Update the app-a deployment in the production namespace to run as the restrictedservice service account. The service account has already been created.

Type your answer, then reveal.
Correct answer: kubectl set serviceaccount deployment app-a restrictedservice -n production

Explanation
Solution:
Question #4
Exhibit: Task: Update the Deployment app-1 in the frontend namespace to use the existing ServiceAccount app.

Type your answer, then reveal.
Correct answer: kubectl set serviceaccount deploy app-1 app -n frontend

Explanation
Solution: Text Description automatically generated
Question #5
Exhibit: Context A web application requires a specific version of redis to be used as a cache. Task Create a pod with the following characteristics, and leave it running when complete: • The pod must run in the web namespace. The namespace has already been created • The name of the pod should be cache • Use the Ifccncf/redis image with the 3.2 tag • Expose port 6379

Match each item to its target.
Correct answer: kubectl run cache --image=lfccncf/redis:3.2 --port=6379 -n web

Explanation
Solution:
Question #7
Exhibit: Context A web application requires a specific version of redis to be used as a cache. Task Create a pod with the following characteristics, and leave it running when complete: • The pod must run in the web namespace. The namespace has already been created • The name of the pod should be cache • Use the Ifccncf/redis image with the3.2tag • Expose port 6379

Match each item to its target.
Correct answer: kubectl run cache --image=lfccncf/redis:3.2 --port=6379 -n web

Explanation
Solution:
Continue with Certified Kubernetes Application Developer (CKAD)
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Kubernetes Application Developer (CKAD), the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All Certified Kubernetes Application Developer (CKAD) practice questions →
