Mock CKA scenario-based practice test
You have two virtual machines, master-0
and worker-0
. Please complete the following mock scenarios.
Scenario 1
SSH into the worker-0
node and provision a new pod called ngnix
with a single container, nginx
.
Scenario 2
SSH to worker-0
and then scale nginx
to 5 copies.
Scenario 3
SSH to worker-0
, set a ConfigMap with a username and password, and then attach a new pod to BusyBox.
Scenario 4
SSH to worker-0
and create a nginx
pod with an init container called busybox
.
Scenario 5
SSH to worker-0
, create a nginx
pod, and then a busybox
container in the same pod.
You can find all the scenario resolutions in Appendix - Mock CKA scenario-based practice test resolutions of this book.