Question 56

Create and configure the service front-end-service so it's accessible through NodePort and routes to the existing pod named front-end.

Question 57

You are tasked with setting up fine-grained access control for a Kubernetes cluster running a microservices application. You need to ensure that developers can only access the resources related to their specific microservices while preventing them from accessing or modifying other services' resources. Define RBAC roles and permissions to achieve this, including details of the resources, verbs, and namespaces involved. Consider the following:

Question 58

Task Weight: 4%

Task
Scale the deployment webserver to 3 pods.

Question 59

Undo the deployment with the previous version and verify
everything is Ok

Question 60

Score: 7%

Task
Create a new NetworkPolicy named allow-port-from-namespace in the existing namespace echo. Ensure that the new NetworkPolicy allows Pods in namespace my-app to connect to port 9000 of Pods in namespace echo.
Further ensure that the new NetworkPolicy:
* does not allow access to Pods, which don't listen on port 9000
* does not allow access from Pods, which are not in namespace my-app