ExamGecko
Home / Linux Foundation / CKA / List of questions
Ask Question

Linux Foundation CKA Practice Test - Questions Answers, Page 5

Add to Whishlist

List of questions

Question 41

Report Export Collapse

Check the Image version of nginx-dev pod using jsonpath

Become a Premium Member for full access
  Unlock Premium Member

Question 42

Report Export Collapse

Create a busybox pod and add "sleep 3600" command

Become a Premium Member for full access
  Unlock Premium Member

Question 43

Report Export Collapse

Create an nginx pod and list the pod with different levels of verbosity

Become a Premium Member for full access
  Unlock Premium Member

Question 44

Report Export Collapse

List the nginx pod with custom columns POD_NAME and POD_STATUS

Become a Premium Member for full access
  Unlock Premium Member

Question 45

Report Export Collapse

List all the pods sorted by name

Become a Premium Member for full access
  Unlock Premium Member

Question 46

Report Export Collapse

List all the pods sorted by created timestamp

Become a Premium Member for full access
  Unlock Premium Member

Question 47

Report Export Collapse

List all the pods showing name and namespace with a json path expression

Become a Premium Member for full access
  Unlock Premium Member

Question 48

Report Export Collapse

List "nginx-dev" and "nginx-prod" pod and delete those pods

Become a Premium Member for full access
  Unlock Premium Member

Question 49

Report Export Collapse

Score: 4%

Linux Foundation CKA image Question 49 51428 09182024211423000000

Context

You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific

ServiceAccount scoped to a specific namespace.

Task

Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:

β€’ Deployment

β€’ StatefulSet

β€’ DaemonSet

Create a new ServiceAccount named cicd-token in the existing namespace app-team1.

Bind the new ClusterRole deployment-clusterrole lo the new ServiceAccount cicd-token , limited to the namespace app-team1.

Become a Premium Member for full access
  Unlock Premium Member

Question 50

Report Export Collapse

Score: 4%

Linux Foundation CKA image Question 50 51429 09182024211423000000

Task

Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.

Become a Premium Member for full access
  Unlock Premium Member
Total 67 questions
Go to page: of 7