CKAD Dumps

CKAD Free Practice Test

Linux-Foundation CKAD: Certified Kubernetes Application Developer (CKAD) Program

QUESTION 1

Exhibit:
CKAD dumps exhibit
Task
A Deployment named backend-deployment in namespace staging runs a web application on port 8081.
CKAD dumps exhibit
Solution:
Solution:
CKAD dumps exhibit
Text Description automatically generated
CKAD dumps exhibit
CKAD dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 2

Exhibit:
CKAD dumps exhibit
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
Solution:
Solution:
CKAD dumps exhibit
CKAD dumps exhibit
CKAD dumps exhibit
CKAD dumps exhibit
CKAD dumps exhibit
CKAD dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 3

Exhibit:
CKAD dumps exhibit
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.
Solution:
Solution:
CKAD dumps exhibit
Text Description automatically generated with medium confidence
CKAD dumps exhibit
Text Description automatically generated
CKAD dumps exhibit
Text Description automatically generated
CKAD dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 4

Exhibit:
CKAD dumps exhibit
Task:
CKAD dumps exhibit
Solution:
Solution:
CKAD dumps exhibit
Text Description automatically generated
CKAD dumps exhibit
Text Description automatically generated
CKAD dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 5

Exhibit:
CKAD dumps exhibit
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.
CKAD dumps exhibit
CKAD dumps exhibit
Solution:
apiVersion: networking.k8s.io/v1 kind: NetworkPolicy
metadata:
name: internal-policy namespace: default spec:
podSelector: matchLabels: name: internal policyTypes:
- Egress
- Ingress ingress:
- {}
egress:
- to:
- podSelector: matchLabels: name: mysql ports:
- protocol: TCP port: 3306
- to:
- podSelector: matchLabels:
name: payroll ports:
- protocol: TCP port: 8080
- ports:
- port: 53 protocol: UDP
- port: 53 protocol: TCP

Does this meet the goal?

Correct Answer: A