Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Certified Kubernetes Application Developer (CKAD) Program

Last Update 19 hours ago Total Questions : 48

The Certified Kubernetes Application Developer (CKAD) Program content is now fully updated, with all current exam questions added 19 hours ago. Deciding to include CKAD practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our CKAD exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these CKAD sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Certified Kubernetes Application Developer (CKAD) Program practice test comfortably within the allotted time.

Question # 4

Context

Anytime a team needs to run a container on Kubernetes they will need to define a pod within which to run the container.

Task

Please complete the following:

• Create a YAML formatted pod manifest

/opt/KDPD00101/podl.yml to create a pod named app1 that runs a container named app1cont using image Ifccncf/arg-output

with these command line arguments: -lines 56 -F

• Create the pod with the kubect1 command using the YAML file created in the previous step

• When the pod is running display summary data about the pod in JSON format using the kubect1 command and redirect the output to a file named /opt/KDPD00101/out1.json

• All of the files you need to work with have been created, empty, for your convenience

Question # 5

Task:

A Dockerfile has been prepared at -/human-stork/build/Dockerfile

1) Using the prepared Dockerfile, build a container image with the name macque and lag 3.0. You may install and use the tool of your choice.

2) Using the tool of your choice export the built container image in OC-format and store it at -/human stork/macque 3.0 tar

Question # 6

Task

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

Question # 7

You must connect to the correct host . Failure to do so may result in a zero score.

[candidate@base] $ ssh ckad00032

The Pod for the Deployment named nosql in the haddock namespace fails to start because its Container runs out of resources.

Update the nosql Deployment so that the Container :

    requests 128Mi of memory

    limits the memory to half the maximum memory constraint set for the haddock namespace

Question # 8

Given a container that writes a log file in format A and a container that converts log files from format A to format B, create a deployment that runs both containers such that the log files from the first container are converted by the second container, emitting logs in format B.

Task:

• Create a deployment named deployment-xyz in the default namespace, that:

• Includes a primary

lfccncf/busybox:1 container, named logger-dev

• includes a sidecar Ifccncf/fluentd:v0.12 container, named adapter-zen

• Mounts a shared volume /tmp/log on both containers, which does not persist when the pod is deleted

• Instructs the logger-dev

container to run the command

which should output logs to /tmp/log/input.log in plain text format, with example values:

• The adapter-zen sidecar container should read /tmp/log/input.log and output the data to /tmp/log/output.* in Fluentd JSON format. Note that no knowledge of Fluentd is required to complete this task: all you will need to achieve this is to create the ConfigMap from the spec file provided at /opt/KDMC00102/fluentd-configma p.yaml , and mount that ConfigMap to /fluentd/etc in the adapter-zen sidecar container

Question # 9

You must connect to the correct host . Failure to do so may result in a zero score.

[candidate@base] $ ssh ckad00034c

Task

A Deployment named content-marlin-deployment , running in namespace content-marlin is exposed via Ingress content-marlin-ingress .

The manifest files for the Deployment, Service and Ingress can be found at /home/candidate/content-marlin/.

The Deployment is supposed to be reachable at

http://content-marlin.local/content-marlin , but requesting this URL is currently returning an error.

Question # 10

Set Configuration Context:

[student@node-1] $ | kubectl

Config use-context k8s

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:

• 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.

• 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.

• Configure the probe-pod pod provided to use these endpoints

• The probes should use port 8080

Go to page: