Question 21
Create a deployment as follows:
Name: nginx-app
Using container nginx with version 1.11.10-alpine
The deployment should contain
Next, deploy the application with new version , by performing a rolling update.
Finally, rollback that update to the previous version
Name: nginx-app
Using container nginx with version 1.11.10-alpine
The deployment should contain
Next, deploy the application with new version , by performing a rolling update.
Finally, rollback that update to the previous version
Question 22
Score: 13%

Task
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.


Task
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.

Question 23
You have a Kubernetes cluster with a 'default' namespace. You want to prevent any users from creating pods in this namespace.
Create a ClusterRole and ClusterRoleBinding to achieve this restriction.
Create a ClusterRole and ClusterRoleBinding to achieve this restriction.
Question 24
You are working with a Kubernetes cluster that has been configured with RBAC. You need to create a deployment for a new application, but you are encountering permission issues. You have verified that your user account belongs to the "developers" group, which should have sufficient permissions to create deployments. However, you are receiving an error message indicating insufficient privileges.
Investigate the potential causes for the permission issue and provide solutions to resolve the problem.
Investigate the potential causes for the permission issue and provide solutions to resolve the problem.
Question 25
You are tasked with configuring RBAC for a Kubernetes cluster hosting a microservices application.
The application consists of three services:
- 'frontend' which only needs to access the 'nginx-ingress-controller' deployment to configure Ingress resources.
- 'backend' which needs read-only access to the 'postgres' service for database queries.
- 'worker' which needs to create, update, and delete pods in the 'worker-namespace' namespace and access the 'redis' service.
The application consists of three services:
- 'frontend' which only needs to access the 'nginx-ingress-controller' deployment to configure Ingress resources.
- 'backend' which needs read-only access to the 'postgres' service for database queries.
- 'worker' which needs to create, update, and delete pods in the 'worker-namespace' namespace and access the 'redis' service.







