Question 71

You must connect to the correct host . Failure to do so may result in a zero score.
[candidate@base] $ ssh ckad00027
Task
A Deployment named app-deployment in namespace prod runs a web application port 0001 A Deployment named app-deployment in namespace prod runs a web application on port 8081.
The Deployment 's manifest files can be found at
/home/candidate/spicy-pikachu/app-deployment.yaml
Modify the Deployment specifying a readiness probe using path /healthz .
Set initialDelaySeconds to 6 and periodSeconds to 3.

Question 72

You need to create a container image for an application that uses a specific version of Node.js (v16.x). How would you define this version within your Dockerfile to ensure the application runs as expected in a Kubernetes cluster?

Question 73

You have a container image that contains a Python application. The application depends on specific libraries that are not included in the base image used for the container. Describe the steps involved in modifying the image to install the necessary libraries Without rebuilding the entire application.

Question 74


Task:
Create a Pod named nginx resources in the existing pod resources namespace.
Specify a single container using nginx:stable image.
Specify a resource request of 300m cpus and 1G1 of memory for the Pod's container.

Question 75

Refer to Exhibit.

Task:
1) Fix any API depreciation issues in the manifest file -/credible-mite/www.yaml so that this application can be deployed on cluster K8s.

2) Deploy the application specified in the updated manifest file -/credible-mite/www.yaml in namespace cobra