ExamGecko
Home / Linux Foundation / CKA / List of questions
Ask Question

Linux Foundation CKA Practice Test - Questions Answers, Page 6

List of questions

Question 51

Report
Export
Collapse

Score: 7%

Linux Foundation CKA image Question 51 51430 09182024211423000000

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.

Linux Foundation CKA image Question 51 51430 09182024211423000000

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

Linux Foundation CKA image Question 51 51430 09182024211423000000

Become a Premium Member for full access
  Unlock Premium Member

Question 52

Report
Export
Collapse

Score: 7%

Linux Foundation CKA image Question 52 51431 09182024211423000000

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.

Linux Foundation CKA image Question 52 51431 09182024211423000000

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

Linux Foundation CKA image Question 52 51431 09182024211423000000

Become a Premium Member for full access
  Unlock Premium Member

Question 53

Report
Export
Collapse

Score: 7%

Linux Foundation CKA image Question 53 51432 09182024211423000000

Task

Create a new NetworkPolicy named allow-port-from-namespace in the existing namespace echo.

Ensure that the new NetworkPolicy allows Pods in namespace my-app to connect to port 9000 of

Pods in namespace echo.

Further ensure that the new NetworkPolicy:

• does not allow access to Pods, which don't listen on port 9000

• does not allow access from Pods, which are not in namespace my-app

Become a Premium Member for full access
  Unlock Premium Member

Question 54

Report
Export
Collapse

Score: 7%

Linux Foundation CKA image Question 54 51433 09182024211423000000

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.

Become a Premium Member for full access
  Unlock Premium Member

Question 55

Report
Export
Collapse

Score: 7%

Linux Foundation CKA image Question 55 51434 09182024211423000000

Task

Create a new nginx Ingress resource as follows:

• Name: ping

• Namespace: ing-internal

• Exposing service hi on path /hi using service port 5678

Linux Foundation CKA image Question 55 51434 09182024211423000000

Become a Premium Member for full access
  Unlock Premium Member

Question 56

Report
Export
Collapse

Score: 4%

Linux Foundation CKA image Question 56 51435 09182024211423000000

Task

Scale the deployment presentation to 6 pods.

Become a Premium Member for full access
  Unlock Premium Member

Question 57

Report
Export
Collapse

Score: 4%

Linux Foundation CKA image Question 57 51436 09182024211423000000

Task

Schedule a pod as follows:

• Name: nginx-kusc00401

• Image: nginx

• Node selector: disk=ssd

Become a Premium Member for full access
  Unlock Premium Member

Question 58

Report
Export
Collapse

Score: 4%

Linux Foundation CKA image Question 58 51437 09182024211423000000

Task

Check to see how many nodes are ready (not including nodes tainted NoSchedule ) and write the number to /opt/KUSC00402/kusc00402.txt.

Become a Premium Member for full access
  Unlock Premium Member

Question 59

Report
Export
Collapse

Score: 4%

Linux Foundation CKA image Question 59 51438 09182024211423000000

Task

Create a pod named kucc8 with a single app container for each of the following images running inside (there may be between 1 and 4 images specified): nginx + redis + memcached .

Become a Premium Member for full access
  Unlock Premium Member

Question 60

Report
Export
Collapse

Score: 4%

Linux Foundation CKA image Question 60 51439 09182024211423000000

Task

Create a persistent volume with name app-data , of capacity 1Gi and access mode ReadOnlyMany.

The type of volume is hostPath and its location is /srv/app-data .

Become a Premium Member for full access
  Unlock Premium Member
Total 67 questions
Go to page: of 7
Search