Winter Special Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 713PS592

CKA Certified Kubernetes Administrator (CKA) Program Questions and Answers

Questions 4

List all the pods showing name and namespace with a json path expression

Options:

Buy Now
Questions 5

Create a pod with image nginx called nginx and allow traffic on port 80

Options:

Buy Now
Questions 6

Create a snapshot of the etcd instance running at https://127.0.0.1:2379, saving the snapshot to the file path /srv/data/etcd-snapshot.db.

The following TLS certificates/key are supplied for connecting to the server with etcdctl:

  • CA certificate: /opt/KUCM00302/ca.crt
  • Client certificate: /opt/KUCM00302/etcd-client.crt
  • Client key: Topt/KUCM00302/etcd-client.key

Options:

Buy Now
Questions 7

Create a busybox pod and add “sleep 3600” command

Options:

Buy Now
Questions 8

Create a nginx pod with label env=test in engineering namespace

Options:

Buy Now
Questions 9

List the nginx pod with custom columns POD_NAME and POD_STATUS

Options:

Buy Now
Questions 10

List all the pods sorted by created timestamp

Options:

Buy Now
Questions 11

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.

Options:

Buy Now
Questions 12

Create a pod that echo “hello world” and then exists. Have the pod deleted automatically when it’s completed

Options:

Buy Now
Questions 13

Create a pod with environment variables as var1=value1.Check the environment variable in pod

Options:

Buy Now
Questions 14

Create a deployment as follows:

  • Name: nginx-app
  • Using container nginx with version 1.11.10-alpine
  • 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.

Options:

Buy Now
Questions 15

Get list of all the pods showing name and namespace with a jsonpath expression.

Options:

Buy Now
Questions 16

List all the pods sorted by name

Options:

Buy Now
Questions 17

List all the pods sorted by name

Options:

Buy Now
Questions 18

Score: 5%

CKA Question 18

Task

Monitor the logs of pod bar and:

• Extract log lines corresponding to error file-not-found

• Write them to /opt/KUTR00101/bar

Options:

Buy Now
Questions 19

Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.

Options:

Buy Now
Questions 20

Score: 7%

CKA Question 20

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

Options:

Buy Now
Exam Code: CKA
Exam Name: Certified Kubernetes Administrator (CKA) Program
Last Update: Nov 30, 2024
Questions: 67

PDF + Testing Engine

$66  $164.99

Testing Engine

$50  $124.99
buy now CKA testing engine

PDF (Q&A)

$42  $104.99
buy now CKA pdf