SIMULATION
Check the Image version of nginx-dev pod using jsonpath
Correct Answer. Check the answer in explanation.SIMULATION
Create a persistent volume with name app-data, of capacity 2Gi and access mode ReadWriteMany. The type of volume is hostPath and its location is /srv/app-data.
Correct Answer. Check the answer in explanation.SIMULATION
Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed
Correct Answer. Check the answer in explanation.SIMULATION
List the nginx pod with custom columns POD_NAME and POD_STATUS
Correct Answer. Check the answer in explanation.SIMULATION
Create a deployment as follows:
1. Name: nginx-app
2. Using container nginx with version 1.11.10-alpine
3. The deployment should contain 3 replicas
Next, deploy the application with new version 1.11.13-alpine, by performing a rolling update. Finally, rollback that update to the previous version 1.11.10-alpine.
Correct Answer. Check the answer in explanation.SIMULATION
You must connect to the correct host.
Failure to do so may result in a zero score.
[candidate@base] $ ssh Cka000047
Task
A MariaDB Deployment in the mariadb namespace has been deleted by mistake. Your task is to restore the Deployment ensuring data persistence. Follow these steps:
Create a PersistentVolumeClaim (PVC ) named mariadb in the mariadb namespace with the following specifications:
Access mode ReadWriteOnce
Storage 250Mi
You must use the existing retained PersistentVolume (PV ).
Failure to do so will result in a reduced score.
There is only one existing PersistentVolume .
Edit the MariaDB Deployment file located at ~/mariadb-deployment.yaml to use PVC you created in the previous step.
Apply the updated Deployment file to the cluster.
Ensure the MariaDB Deployment is running and stable.
Correct Answer. Check the answer in explanation.SIMULATION Create a Kubernetes secret as follows:
Name: super-secret
password: bob
Create a pod named pod-secrets-via-file, using the redis Image, which mounts a secret named super- secret at /secrets. Create a second pod named pod-secrets-via-env, using the redis Image, which exports password as CONFIDENTIAL
Correct Answer. Check the answer in explanation.SIMULATION
Create a nginx pod with label env=test in engineering namespace .
Correct Answer. Check the answer in explanation.SIMULATION

Task
Reconfigure the existing deployment front-end and add a port specification named http exposing port 80/tcp of the existing container nginx. Create a new service named front-end-svc exposing the container port http.
Configure the new service to also expose the individual Pods via a NodePort on the nodes on which they are scheduled.
Correct Answer. Check the answer in explanation.SIMULATION
List all the pods sorted by name
Correct Answer. Check the answer in explanation.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Linux Foundation exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CKA exam preparations and Linux Foundation certification application, do not hesitate to visit our Vcedump.com to find your solutions here.