Leads4pass > Linux Foundation > Linux Foundation Certifications > CKAD > CKAD Online Practice Questions and Answers

CKAD Online Practice Questions and Answers

Questions 4

CORRECT TEXT

Context

A pod is running on the cluster but it is not responding.

Task

The desired behavior is to have Kubemetes restart the pod when an endpoint returns an HTTP 500 on the /healthz endpoint. The service, probe-pod, should never send traffic to the pod while it is failing. Please complete the following:

1.

The application has an endpoint, /started, that will indicate if it can accept traffic by returning an HTTP 200. If the endpoint returns an HTTP 500, the application has not yet finished initialization.

2.

The application has another endpoint /healthz that will indicate if the application is still working as expected by returning an HTTP 200. If the endpoint returns an HTTP 500 the application is no longer responsive.

3.

Configure the probe-pod pod provided to use these endpoints

4.

The probes should use port 8080

A. Please check explanations

B. Place Holder

Buy Now
Questions 5

CORRECT TEXT

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

A. Please check explanations

B. Place Holder

Buy Now
Questions 6

CORRECT TEXT

Task

A deployment is falling on the cluster due to an incorrect image being specified. Locate the deployment, and fix the problem.

A. Please check explanations

B. Place Holder

Buy Now
Questions 7

CORRECT TEXT

Task

You have rolled out a new pod to your infrastructure and now you need to allow it to communicate with the web and storage pods but nothing else. Given the running pod kdsn00201 -newpod edit it to use a network policy that will allow it to send and receive traffic only to and from the web and storage pods.

A. Please check explanations

B. Place Holder

Buy Now
Questions 8

CORRECT TEXT

Task:

The pod for the Deployment named nosql in the crayfish namespace fails to start because its container runs out of resources.

Update the nosql Deployment so that the Pod:

A. Please check explanations

B. Place Holder

Buy Now
Questions 9

CORRECT TEXT

Context

It is always useful to look at the resources your applications are consuming in a cluster.

Task

From the pods running in namespace cpu-stress, write the name only of the pod that is consuming the most CPU to file /opt/KDOBG030l/pod.txt, which has already been created.

A. Please check explanations

B. Place Holder

Buy Now
Questions 10

CORRECT TEXT

Task:

Update the Deployment app-1 in the frontend namespace to use the existing ServiceAccount app.

A. Please check explanations

B. Place Holder

Buy Now
Questions 11

CORRECT TEXT

Task:

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

Look at the logs identify errors messages.

Find errors, including User "system:serviceaccount:gorilla:default" cannot list resource "deployment" [...] in the namespace "gorilla"

The buffalo-deployment `S manifest can be found at -/prompt/escargot/buffalo- deployment.yaml

A. Please check explanations

B. Place Holder

Buy Now
Questions 12

CORRECT TEXT

Task

You are required to create a pod that requests a certain amount of CPU and memory, so it gets scheduled to-a node that has those resources available.

1.

Create a pod named nginx-resources in the pod-resources namespace that requests a minimum of 200m CPU and 1Gi memory for its container

2.

The pod should use the nginx image

3.

The pod-resources namespace has already been created

A. Please check explanations

B. Place Holder

Buy Now
Questions 13

CORRECT TEXT

Task:

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

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

A. Please check explanations

B. Place Holder

Buy Now
Exam Code: CKAD
Exam Name: Linux Foundation Certified Kubernetes Application Developer (CKAD)
Last Update: Jan 11, 2025
Questions: 33
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99