Mock CKA scenario-based practice test
You have two virtual machines, master-0
and worker-0
– please complete the following mock scenarios.
Scenario 1
Create a new service account named packt-sa
in a new namespace called packt-ns
.
Scenario 2
Create a Role named packtrole
and bind it with the RoleBinding packt-clusterbinding
. Map the packt-sa
service account with list
and get
permissions.
Scenario 3
Create a new pod named packt-pod
with the busybox:1.28
image in the packt-ns
namespace. Expose port 80
. Then, assign the packt-sa
service account to the Pod.
You can find all the scenario resolutions in Appendix - Mock CKA scenario-based practice test resolutions of this book.