Pass4itsure > Linux Foundation > Kubernetes Application Developer > CKAD > CKAD Online Practice Questions and Answers

CKAD Online Practice Questions and Answers

Questions 4

CORRECT TEXT

Task

Create a new deployment for running.nginx with the following parameters:

1.

Run the deployment in the kdpd00201 namespace. The namespace has already been created

2.

Name the deployment frontend and configure with 4 replicas

3.

Configure the pod with a container image of lfccncf/nginx:1.13.7

4.

Set an environment variable of NGINX__PORT=8080 and also expose that port for the container above

A. Please check explanations

B. Place Holder

Buy Now
Questions 5

CORRECT TEXT

Context

You have been tasked with scaling an existing deployment for availability, and creating a service to expose the deployment within your infrastructure.

Task

Start with the deployment named kdsn00101-deployment which has already been deployed to the namespace kdsn00101. Edit it to:

1.

Add the func=webFrontEnd key/value label to the pod template metadata to identify the pod for the service definition

2.

Have 4 replicas

Next, create and deploy in namespace kdsn00l01 a service that accomplishes the following:

1.

Exposes the service on TCP port 8080

2.

is mapped to me pods defined by the specification of kdsn00l01-deployment

3.

Is of type NodePort

4.

Has a name of cherry

A. Please check explanations

B. Place Holder

Buy Now
Questions 6

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 7

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 8

CORRECT TEXT

Context

A user has reported an application is unreachable due to a failing livenessProbe .

Task

Perform the following tasks:

Find the broken pod and store its name and namespace to /opt/KDOB00401/broken.txt in the format:

The output file has already been created

1.

Store the associated error events to a file /opt/KDOB00401/error.txt, The output file has already been created. You will need to use the -o wide output specifier with your command

2.

Fix the issue.

A. Please check explanations

B. Place Holder

Buy Now
Questions 9

CORRECT TEXT

Task:

A. Please check explanations

B. Place Holder

Buy Now
Questions 10

CORRECT TEXT

Context

As a Kubernetes application developer you will often find yourself needing to update a running application.

Task

Please complete the following:

1.

Update the app deployment in the kdpd00202 namespace with a maxSurge of 5% and a maxUnavailable of 2%

2.

Perform a rolling update of the web1 deployment, changing the Ifccncf/ngmx image version to 1.13

3.

Roll back the app deployment to the previous version

A. Please check explanations

B. Place Holder

Buy Now
Questions 11

CORRECT TEXT

Task:

The pod for the Deployment named nosql in the crayfish namespace fails to start because its container runs out of resources.

Update the nosql Deployment so that the Pod:

A. Please check explanations

B. Place Holder

Buy Now
Questions 12

CORRECT TEXT

Task:

A pod within the Deployment named buffalo-deployment and in namespace gorilla is logging errors.

Look at the logs identify errors messages.

Find errors, including User "system:serviceaccount:gorilla:default" cannot list resource "deployment" [...] in the namespace "gorilla"

The buffalo-deployment `S manifest can be found at -/prompt/escargot/buffalo- deployment.yaml

A. Please check explanations

B. Place Holder

Buy Now
Questions 13

CORRECT TEXT

Task:

Key3: value1

Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.

A. Please check explanations

B. Place Holder

Buy Now
Exam Code: CKAD
Exam Name: Certified Kubernetes Application Developer (CKAD) Program
Last Update: Apr 22, 2024
Questions: 33
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99