Question 51

Score: 4%

Task
Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.

Question 52

Scale the deployment webserver to

Question 53

You have a Deployment named 'my-app-deployment' running a web application. The Deployment's Service is exposed using a NodePort service. You need to configure a new Ingress resource that allows traffic to reach the web application through a specific domain name. How would you set up the Ingress configuration?

Question 54

You have a deployment named 'wordpress-deployment' that runs a WordPress application. The deployment is configured to use a PersistentVolumeClaim (PVC) for its data storage. However, you need to change the access mode of the PVC to 'ReadWriteMany to allow multiple pods to share the same dat a. How would you modify the Deployment and PVC to achieve this?

Question 55

Create a pod as follows:
Name: non-persistent-redis
container Image: redis
Volume with name: cache-control
Mount path: /data/redis
The pod should launch in the staging namespace and the volume must not be persistent.