Question 51

You have a microservice application that is deployed as a Deployment. You want to implement a mechanism to handle temporary network issues or other transient failures that may occur during the application's communication with external services. Explain how you can use readiness probes and liveness probes in combination with a restart policy to address these failures.

Question 52

You are working on a Kubernetes application that requires ephemeral storage. The application data needs to be stored within the pod's container and should be deleted when the pod is deleted. How can you achieve this using ephemeral storage in Kubernetes?

Question 53

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 54

You are running a web application on a Kubernetes cluster, and you want to ensure that thecontainer running your application is protected from potential security vulnerabilities. You are specifically concerned about unauthorized access to the container's filesystem. Explain how you would implement AppArmor profiles to restrict access to the container's filesystem.

Question 55

Context

Task
A deployment is falling on the cluster due to an incorrect image being specified. Locate the deployment, and fix the problem.