<< Prev Question Next Question >>

Question 30/38

Score: 4%

Context
You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific ServiceAccount scoped to a specific namespace.
Task
Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:
* Deployment
* StatefulSet
* DaemonSet
Create a new ServiceAccount named cicd-token in the existing namespace app-team1.
Bind the new ClusterRole deployment-clusterrole lo the new ServiceAccount cicd-token , limited to the namespace app-team1.

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (38q)
Question 1: For this item, you will have to ssh to the nodes ik8s-master...
Question 2: You must connect to the correct host. Failure to do so may r...
Question 3: Score: 13% (Exhibit) Task A Kubernetes worker node, named wk...
Question 4: Create a Kubernetes secret as follows: * Name: super-secret ...
Question 5: Create and configure the service front-end-service so it's a...
Question 6: You must connect to the correct host. Failure to do so may r...
Question 7: You must connect to the correct host. Failure to do so may r...
Question 8: You must connect to the correct host. Failure to do so may r...
Question 9: Create a pod as follows: * Name: mongo * Using Image: mongo ...
Question 10: List all the pods sorted by name...
Question 11: List all the pods showing name and namespace with a json pat...
Question 12: Create a namespace called 'development' and a pod with image...
Question 13: Score: 4% (Exhibit) Task Set the node named ek8s-node-1 as u...
Question 14: Score:7% (Exhibit) Task Create a new PersistentVolumeClaim *...
Question 15: Create a pod named kucc8 with a single app container for eac...
Question 16: Score: 4% (Exhibit) Task Create a pod named kucc8 with a sin...
Question 17: Create a persistent volume with name app-data, of capacity 2...
Question 18: Get list of all the pods showing name and namespace with a j...
Question 19: Get list of all pods in all namespaces and write it to file ...
Question 20: A Kubernetes worker node, named wk8s-node-0 is in state NotR...
Question 21: List pod logs named "frontend" and search for the pattern "s...
Question 22: Score: 7% (Exhibit) Task Create a new nginx Ingress resource...
Question 23: List all the pods sorted by name...
Question 24: List the nginx pod with custom columns POD_NAME and POD_STAT...
Question 25: You must connect to the correct host. Failure to do so may r...
Question 26: (Exhibit) Task Create a new HorizontalPodAutoscaler (HPA ) n...
Question 27: Score: 4% (Exhibit) Task Check to see how many nodes are rea...
Question 28: Create a deployment as follows: * Name: nginx-app * Using co...
Question 29: Score: 4% (Exhibit) Task Scale the deployment presentation t...
Question 30: Score: 4% (Exhibit) Context You have been asked to create a ...
Question 31: Create a deployment spec file that will: * Launch 7 replicas...
Question 32: What is the maximum number of samples that can be submitted ...
Question 33: (Exhibit) Task Create a new Ingress resource as follows: . N...
Question 34: You must connect to the correct host. Failure to do so may r...
Question 35: Monitor the logs of pod foo and: * Extract log lines corresp...
Question 36: You must connect to the correct host. Failure to do so may r...
Question 37: Create a busybox pod that runs the command "env" and save th...
Question 38: Score: 5% (Exhibit) Task Monitor the logs of pod bar and: * ...