New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Kubernetes Application Developer CKAD Passing Score

Page: 2 / 2
Total 33 questions

Certified Kubernetes Application Developer (CKAD) Program Questions and Answers

Question 5

Task:

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

Options:

Question 6

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:

Options:

Question 7

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

Options:

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

Options:

Page: 2 / 2
Total 33 questions