SIMULATION
Ensure a single instance of pod nginx is running on each node of the Kubernetes cluster where nginx also represents the Image name which has to be used. Do not override any taints currently in place. Use DaemonSet to complete this task and use ds-kusc00201 as DaemonSet name.
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 cka000059
Context
A kubeadm-provisioned cluster was migrated to a new machine. It needs configuration changes to run successfully.
Task
Fix a single-node cluster that got broken during machine migration.
First, identify the broken cluster components and investigate what breaks them.
The decommissioned cluster used an external etcd server.
Next, fix the configuration of all broken cluster components.
Correct Answer. Check the answer in explanation.SIMULATION
Create a busybox pod that runs the command "env" and save the output to "envpod" file
Correct Answer. Check the answer in explanation.SIMULATION
Create a pod as follows: Name: non-persistent-redis container Image: redis Volume with name: cache-control Mount path: /data/redis The pod should launch in the staging namespace and the volume must not be persistent.
Correct Answer. Check the answer in explanation.SIMULATION
Given a partially-functioning Kubernetes cluster, identify symptoms of failure on the cluster.
Determine the node, the failing service, and take actions to bring up the failed service and restore the health of the cluster. Ensure that any changes are made permanently.
You can ssh to the relevant I nodes (bk8s-master-0 or bk8s-node-0) using:
[student@node-1] $ ssh
You can assume elevated privileges on any node in the cluster with the following command:
[student@nodename] $ | sudo -i
Correct Answer. Check the answer in explanation.SIMULATION

Task
First, create a snapshot of the existing etcd instance running at https://127.0.0.1:2379, saving the snapshot to /srv/data/etcd-snapshot.db.

Next, restore an existing, previous snapshot located at /var/lib/backup/etcd-snapshot-previous.db

SIMULATION

Task
Create a new HorizontalPodAutoscaler (HPA) named apache-server in the autoscale namespace.
This HPA must target the existing Deployment called apache-server in the same autoscale namespace.
Set the HPA to:
Target 50% CPU usage per Pod
Have at least 1 Pod
Have no more than 4 Pods
Set the downscale stabilization window to 30 seconds
Correct Answer. Check the answer in explanation.SIMULATION

Schedule a Pod as follows:
1. Name: kucc1
2. App Containers: 2
3. Container Name/images: redis consul
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 cka000054
Context:
Your cluster's CNI has failed a security audit. It has been removed. You must install a new CNI that can enforce network policies.
Task
Install and set up a Container Network Interface (CNI) that meets these requirements:
Pick and install one of these CNI options:
Flannel version 0.26.1
Manifest:
https://github.com/flannel-io/flannel/releases/download/v0.26.1/kube-flannel.yml
Calico version 3.28.2
Manifest:
https://raw.githubusercontent.com/projectcalico/calico/v3.28.2/manifests/tigera-operator.yaml
Correct Answer. Check the answer in explanation.SIMULATION

Task
Given an existing Kubernetes cluster running version 1.20.0, upgrade all of the Kubernetes control plane and node components on the master node only to version 1.20.1.
Be sure to drain the master node before upgrading it and uncordon it after the upgrade.

You are also expected to upgrade kubelet and kubectl on the master node.

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.