Weekend Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

CKAD Certified Kubernetes Application Developer (CKAD) Program Questions and Answers

Questions 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

CKAD Question 4

Options:

Buy Now
Questions 5

CKAD Question 5

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.

Options:

Buy Now
Questions 6

CKAD Question 6

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

CKAD Question 6

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

CKAD Question 6

• 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

Options:

Buy Now
Questions 7

CKAD Question 7

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

Options:

Buy Now
Questions 8

CKAD Question 8

Task:

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

Update the nosol Deployment so that the Pod:

1) Request 160M of memory for its Container

2) Limits the memory to half the maximum memory constraint set for the crayfah name space.

CKAD Question 8

Options:

Buy Now
Questions 9

CKAD Question 9

Context

You are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount.

Task

Please complete the following:

• Create a ConfigMap named another-config containing the key/value pair: key4/value3

• start a pod named nginx-configmap containing a single container using the

nginx image, and mount the key you just created into the pod under directory /also/a/path

Options:

Buy Now
Exam Code: CKAD
Exam Name: Certified Kubernetes Application Developer (CKAD) Program
Last Update: Dec 9, 2024
Questions: 33

PDF + Testing Engine

$57.75  $164.99

Testing Engine

$43.75  $124.99
buy now CKAD testing engine

PDF (Q&A)

$36.75  $104.99
buy now CKAD pdf