Pass4itsure > Linux Foundation > Linux Foundation Certifications > CKAD > CKAD Online Practice Questions and Answers

CKAD Online Practice Questions and Answers

Questions 4

CORRECT TEXT

Task: Create a Deployment named expose in the existing ckad00014 namespace running 6 replicas of a Pod. Specify a single container using the ifccncf/nginx: 1.13.7 image Add an environment variable named NGINX_PORT with the value 8001 to the container then expose port 8001

A. Please check explanations

B. Place Holder

Buy Now
Questions 5

CORRECT TEXT

Context

A project that you are working on has a requirement for persistent data to be available.

Task

To facilitate this, perform the following tasks:

1.

Create a file on node sk8s-node-0 at /opt/KDSP00101/data/index.html with the content Acct=Finance

2.

Create a PersistentVolume named task-pv-volume using hostPath and allocate 1Gi to it, specifying that the volume is at /opt/KDSP00101/data on the cluster's node.

The configuration should specify the access mode of ReadWriteOnce. It should define the StorageClass name exam for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this PersistenetVolume.

1.

Create a PefsissentVolumeClaim named task-pv-claim that requests a volume of at least 100Mi and specifies an access mode of ReadWriteOnce

2.

Create a pod that uses the PersistentVolmeClaim as a volume with a label app: my- storage-app mounting the resulting volume to a mountPath /usr/share/nginx/html inside the pod

A. Please check explanations

B. Place Holder

Buy Now
Questions 6

CORRECT TEXT

Context

You are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount.

Task

Please complete the following:

1.

Create a ConfigMap named another-config containing the key/value pair: key4/value3

2.

start a pod named nginx-configmap containing a single container using the nginx image, and mount the key you just created into the pod under directory /also/a/path

A. Please check explanations

B. Place Holder

Buy Now
Questions 7

CORRECT TEXT

Task:

1.

Update the Propertunel scaling configuration of the Deployment web1 in the ckad00015 namespace setting maxSurge to 2 and maxUnavailable to 59

2.

Update the web1 Deployment to use version tag 1.13.7 for the Ifconf/nginx container image.

3.

Perform a rollback of the web1 Deployment to its previous version

A. Please check explanations

B. Place Holder

Buy Now
Questions 8

CORRECT TEXT Context Anytime a team needs to run a container on Kubernetes they will need to define a pod within which to run the container. Task Please complete the following:

1.

Create a YAML formatted pod manifest

2.

/opt/KDPD00101/podl.yml to create a pod named app1 that runs a container named app1cont using image Ifccncf/arg-output with these command line arguments: -lines 56 -F

3.

Create the pod with the kubect1 command using the YAML file created in the previous step

4.

When the pod is running display summary data about the pod in JSON format using the kubect1 command and redirect the output to a file named /opt/KDPD00101/out1.json

5.

All of the files you need to work with have been created, empty, for your convenience

A. Please check explanations

B. Place Holder

Buy Now
Questions 9

CORRECT TEXT

Task:

A Dockerfile has been prepared at -/human-stork/build/Dockerfile

A. Please check explanations

B. Place Holder

Buy Now
Questions 10

CORRECT TEXT

Task:

Update the Deployment app-1 in the frontend namespace to use the existing ServiceAccount app.

A. Please check explanations

B. Place Holder

Buy Now
Questions 11

CORRECT TEXT

Task

A Deployment named backend-deployment in namespace staging runs a web application on port 8081.

A. Please check explanations

B. Place Holder

Buy Now
Questions 12

CORRECT TEXT

Task

You are required to create a pod that requests a certain amount of CPU and memory, so it gets scheduled to-a node that has those resources available.

1.

Create a pod named nginx-resources in the pod-resources namespace that requests a minimum of 200m CPU and 1Gi memory for its container

2.

The pod should use the nginx image

3.

The pod-resources namespace has already been created

A. Please check explanations

B. Place Holder

Buy Now
Questions 13

CORRECT TEXT

Task:

Modify the existing Deployment named broker-deployment running in namespace quetzal so that its containers.

The broker-deployment is manifest file can be found at:

A. Please check explanations

B. Place Holder

Buy Now
Exam Code: CKAD
Exam Name: Linux Foundation Certified Kubernetes Application Developer (CKAD)
Last Update: Dec 31, 2024
Questions: 33
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99