CKA Mock Exam 2 - Question 6

There appears to be an issue with question 6 in CKA Mock Exam 2:

The grading requires a csr of “john-developer”, but the instructions do not list this requirement. So, a different csr name (e.g. “john”) fails the test. Can the instructions or the grading be amended so students can get full credit for this question?

Thank you!

Hello maren,
“john-developer” is the name of csr. the user “john” is created, you should create role for this. please check the following:

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: development
 name: developer
rules:
- apiGroups: [""]
 resources: ["pods"]
 verbs: ["create","list","get","update","delete"]
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
 name: developer-binding
namespace: development
subjects:
- kind: User
 name: john
 apiGroup: rbac.authorization.k8s.io
roleRef:
 kind: Role
 name: developer
 apiGroup: rbac.authorization.k8s.io

then
Then check for example: kubectl auth can-i update pods -n development --as=john