ExamGecko

Linux Foundation CKA Practice Test - Questions Answers, Page 6

Question list
Search
Search

List of questions

Search

Question 51

Report
Export
Collapse

Score: 7%

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.

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member

Question 52

Report
Export
Collapse

Score: 7%

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-previo us.db

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member

Question 53

Report
Export
Collapse

Score: 7%

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  Unlock Premium Member

Question 54

Report
Export
Collapse

Score: 7%

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  Unlock Premium Member

Question 55

Report
Export
Collapse

Score: 7%

Task

Create a new nginx Ingress resource as follows:

• Name: ping

• Namespace: ing-internal

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

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member

Question 56

Report
Export
Collapse

Score: 4%

Task

Scale the deployment presentation to 6 pods.

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member

Question 57

Report
Export
Collapse

Score: 4%

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  Unlock Premium Member

Question 58

Report
Export
Collapse

Score: 4%

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  Unlock Premium Member

Question 59

Report
Export
Collapse

Score: 4%

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  Unlock Premium Member

Question 60

Report
Export
Collapse

Score: 4%

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  Unlock Premium Member
Total 67 questions
Go to page: of 7