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

Linux Foundation CKAD Practice Test - Questions Answers, Page 3

Add to Whishlist

List of questions

Question 21

Report Export Collapse

Context

Linux Foundation CKAD image Question 21 51467 09182024212430000000

Task:

A pod within the Deployment named buffale-deployment and in namespace gorilla is logging errors.

1) Look at the logs identify errors messages.

Find errors, including User β€œsystem:serviceaccount:gorilla:default” cannot list resource β€œdeployment” […] in the namespace β€œgorilla” 2) Update the Deployment buffalo-deployment to resolve the errors in the logs of the Pod.

The buffalo-deployment β€˜S manifest can be found at -/prompt/escargot/buffalo-deployment.yaml

Become a Premium Member for full access
  Unlock Premium Member

Question 22

Report Export Collapse

Context

Linux Foundation CKAD image Question 22 51468 09182024212430000000

Task:

1) First update the Deployment cka00017-deployment in the ckad00017 namespace:

To run 2 replicas of the pod

Add the following label on the pod:

Role userUI

2) Next, Create a NodePort Service named cherry in the ckad00017 nmespace exposing the ckad00017-deployment Deployment on TCP port 8888

Become a Premium Member for full access
  Unlock Premium Member

Question 23

Report Export Collapse

Context

Linux Foundation CKAD image Question 23 51469 09182024212430000000

Task:

Create a Pod named nginx resources in the existing pod resources namespace.

Specify a single container using nginx:stable image.

Specify a resource request of 300m cpus and 1G1 of memory for the Pod’s container.

Become a Premium Member for full access
  Unlock Premium Member

Question 24

Report Export Collapse

Context

Linux Foundation CKAD image Question 24 51470 09182024212430000000

Task:

Create a Deployment named expose in the existing ckad00014 namespace running 6 replicas of a Pod. Specify a single container using the ifccncf/nginx: 1.13.7 image Add an environment variable named NGINX_PORT with the value 8001 to the container then expose port 8001

Become a Premium Member for full access
  Unlock Premium Member

Question 25

Report Export Collapse

Context

Linux Foundation CKAD image Question 25 51471 09182024212430000000

Task:

1) Fix any API depreciation issues in the manifest file -/credible-mite/www.yaml so that this application can be deployed on cluster K8s.

Linux Foundation CKAD image Question 25 51471 09182024212430000000

2) Deploy the application specified in the updated manifest file -/credible-mite/www.yaml in namespace cobra

Become a Premium Member for full access
  Unlock Premium Member

Question 26

Report Export Collapse

Context

Linux Foundation CKAD image Question 26 51472 09182024212430000000

Task:

1) Create a secret named app-secret in the default namespace containing the following single keyvalue pair:

Key3: value1

2) Create a Pod named ngnix secret in the default namespace.Specify a single container using the nginx:stable image.

Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.

Become a Premium Member for full access
  Unlock Premium Member

Question 27

Report Export Collapse

Context

Linux Foundation CKAD image Question 27 51473 09182024212430000000

Task:

1- Update the Propertunel scaling configuration of the Deployment web1 in the ckad00015 namespace setting maxSurge to 2 and maxUnavailable to 59 2- Update the web1 Deployment to use version tag 1.13.7 for the Ifconf/nginx container image.

3- Perform a rollback of the web1 Deployment to its previous version

Become a Premium Member for full access
  Unlock Premium Member

Question 28

Report Export Collapse

Context

Linux Foundation CKAD image Question 28 51474 09182024212430000000

Task:

Modify the existing Deployment named broker-deployment running in namespace quetzal so that its containers.

1) Run with user ID 30000 and

2) Privilege escalation is forbidden

The broker-deployment is manifest file can be found at:

Linux Foundation CKAD image Question 28 51474 09182024212430000000

Become a Premium Member for full access
  Unlock Premium Member

Question 29

Report Export Collapse

Context

Linux Foundation CKAD image Question 29 51475 09182024212430000000

Task:

Update the Pod ckad00018-newpod in the ckad00018 namespace to use a NetworkPolicy allowing the Pod to send and receive traffic only to and from the pods web and db

Linux Foundation CKAD image Question 29 51475 09182024212430000000

Become a Premium Member for full access
  Unlock Premium Member

Question 30

Report Export Collapse

Context

Linux Foundation CKAD image Question 30 51476 09182024212430000000

You are asked to prepare a Canary deployment for testing a new application release.

Task:

A Service named krill-Service in the goshark namespace points to 5 pod created by the Deployment named current-krill-deployment

Linux Foundation CKAD image Question 30 51476 09182024212430000000

1) Create an identical Deployment named canary-kill-deployment, in the same namespace.

2) Modify the Deployment so that:

-A maximum number of 10 pods run in the goshawk namespace.

-40% of the krill-service β€˜s traffic goes to the canary-krill-deployment pod(s)

Linux Foundation CKAD image Question 30 51476 09182024212430000000

Become a Premium Member for full access
  Unlock Premium Member
Total 32 questions
Go to page: of 4
Search

Related questions