Want to pass your Certified Kubernetes Application Developer (CKAD) Program CKAD exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
CORRECT TEXT
Context
A project that you are working on has a requirement for persistent data to be available.
Task
To facilitate this, perform the following tasks:
1.
Create a file on node sk8s-node-0 at /opt/KDSP00101/data/index.html with the content Acct=Finance
2.
Create a PersistentVolume named task-pv-volume using hostPath and allocate 1Gi to it, specifying that the volume is at /opt/KDSP00101/data on the cluster's node.
The configuration should specify the access mode of ReadWriteOnce. It should define the StorageClass name exam for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this PersistenetVolume.
1.
Create a PefsissentVolumeClaim named task-pv-claim that requests a volume of at least 100Mi and specifies an access mode of ReadWriteOnce
2.
Create a pod that uses the PersistentVolmeClaim as a volume with a label app: my- storage-app mounting the resulting volume to a mountPath /usr/share/nginx/html inside the pod
A. Please check explanations
B. Place Holder
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
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