SIMULATION
Create a deployment as follows: Name: nginx-random Exposed via a service nginx-random Ensure that the serviceand; pod are accessible via their respective DNS records The container(s) within any pod(s) running as a part of this deployment should use the nginx Image Next, use the utility nslookup to look up the DNS records of the service and pod and write the output to /opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.
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
You must connect to the correct host.
Failure to do so may result in a zero score.
[candidate@base] $ ssh Cka000049
Task
Perform the following tasks:
Create a new PriorityClass named high-priority for user-workloads with a value that is one less than the highest existing user-defined priority class value.
Patch the existing Deployment busybox-logger running in the priority namespace to use the high-priority priority class.
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 cka000058
Context
You manage a WordPress application. Some Pods are not starting because resource requests are too high.
Task
A WordPress application in the relative-fawn namespace consists of: A WordPress Deployment with 3 replicas.
Adjust all Pod resource requests as follows: Divide node resources evenly across all 3 Pods. Give each Pod a fair share of CPU and memory.
Correct Answer. Check the answer in explanation.SIMULATION

Schedule a pod as follows:
1. Name: nginx-kusc00101
2. Image: nginx
3. Node selector: disk=ssd
Correct Answer. Check the answer in explanation.SIMULATION
List all persistent volumes sorted by capacity, saving the full kubectl output to /opt/KUCC00102/volume_list. Use kubectl 's own functionality for sorting the output, and do not manipulate it any further.
Correct Answer. Check the answer in explanation.SIMULATION
Get list of all pods in all namespaces and write it to file "/opt/pods-list.yaml"
Correct Answer. Check the answer in explanation.SIMULATION

Context An existing Pod needs to be integrated into the Kubernetes built-in logging architecture (e.g.kubectl logs). Adding a streaming sidecar container is a good and common way to accomplish this requirement. Task
Add a sidecar container named sidecar, using the busybox Image, to the existing Pod big- corp-app. The new sidecar container has to run the following command:

SIMULATION
Quick Reference
ConfigMaps,
Documentation Deployments,
Namespace
You must connect to the correct host.
Failure to do so may result in a zero score.
[candidate@base] $ ssh cka000048b
Task
An NGINX Deployment named nginx-static is running in the nginx-static namespace. It is configured using a ConfigMap named nginx-config. First, update the nginx-config ConfigMap to also allow TLSv1.2 connections. You may re-create, restart, or scale resources as necessary. You can use the following command to test the changes:
[candidate@cka000048b] $ curl --tls-max 1.2 https://web.k8s.local
Correct Answer. Check the answer in explanation.SIMULATION
Create a pod that having 3 containers in it? (Multi-Container)
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.