Question 56
You have a Deployment running a microservice that is responsible for processing user data To ensure the security of this data, you need to implement a NetworkPolicy that restricts network traffic to and from the microservice's pods.
Question 57
You are deploying a sensitive application that requires strong security measures. You need to implement a solution to prevent unauthorized access to the container's runtime environment. How would you use Seccomp profiles to enforce security policies at the container level?
Question 58
You are running a critical application on Kubernetes, and your security team has mandated the use of Pod Security Policies (PSPs) to enhance the security posture of your cluster. You have a Deployment that uses a privileged container for certain tasks. However, PSPs restrict the use of privileged containers. Describe how you can address this challenge while adhering to the security requirements imposed by PSPs.
Question 59
You have a Helm cnan named 'my-app' that deploys a web application. The chan uses a 'service' and 'deployment' to expose the application. However, the chart currently deploys the application using a static 'image: my-app:v1.0.0' in the 'deployment section. How can you modify the Helm chan to dynamically pull the latest image tag from a Git tag tor the 'my-app' repository?
Question 60
You must connect to the correct host . Failure to do so may result in a zero score.
[candidate@base] $ ssh ckad00033
Task
A Dockerfile has been prepared at /home/candidate/build/Dockerfile.
Using the prepared Dockerfile, build a container image with the name macaque and tag 1.2. You may install and use the tool of your choice.
Multiple image builders and tools have been pre-installed in the base system, including: docker, skopeo, buildah, img , and podman.
Please do not push the built image to a registry, run a container, or otherwise consume it.
Using the tool of your choice, export the built container image in OCI or Docker image format and store it at
/home/candidate/macaque-1.2.tar.
[candidate@base] $ ssh ckad00033
Task
A Dockerfile has been prepared at /home/candidate/build/Dockerfile.
Using the prepared Dockerfile, build a container image with the name macaque and tag 1.2. You may install and use the tool of your choice.
Multiple image builders and tools have been pre-installed in the base system, including: docker, skopeo, buildah, img , and podman.
Please do not push the built image to a registry, run a container, or otherwise consume it.
Using the tool of your choice, export the built container image in OCI or Docker image format and store it at
/home/candidate/macaque-1.2.tar.









