Linux Foundation CKA Practice Test - Questions Answers, Page 5
List of questions
Related questions
Check the Image version of nginx-dev pod using jsonpath
Create a busybox pod and add "sleep 3600" command
Create an nginx pod and list the pod with different levels of verbosity
List the nginx pod with custom columns POD_NAME and POD_STATUS
List all the pods showing name and namespace with a json path expression
List "nginx-dev" and "nginx-prod" pod and delete those pods
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.
Score: 4%
Task
Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.
Question