"Create a service account called pink-sa-cka24-arch . Further create a cluster role called pink-role-cka24-arch with full permissions on all resources in the core api group under defaultnamespace in cluster1 .
Finally create a cluster role binding called pink-role-binding-cka24-arch to bind pink-role-cka24-arch cluster role with pink-sa-cka24-arch service account."
========================
Based on my understanding and reference of kubernetes doc,it is supposed to be a role that needs to be created to fulfill the answer but the given solution for this question is pointing out to create a clusterrole, which is not the right answer since cluster role does not belong to any namespace.
The problem is that you’re not granting access for anything outside of the core group of APIs, and a deployment is API group “apps”. Take a look at what YAML your imperative command generates: