Question: 1
SIMULATION
Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.
Answer : A
Show Answer
Hide Answer
Question: 2
SIMULATION
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.
You can ssh to the failed node using:
[student@node-1] $ | ssh Wk8s-node-0
You can assume elevated privileges on the node with the following command:
[student@w8ks-node-0] $ | sudo --i
Answer : A
Show Answer
Hide Answer
Question: 3
SIMULATION
Create a pod as follows:
* Name: non-persistent-redis
* container Image: redis
* Volume with name: cache-control
* Mount path: /data/redis
The pod should launch in the staging namespace and the volume must not be persistent.
Answer : B
Show Answer
Hide Answer
Question: 4
SIMULATION
Create a pod as follows:
* Name: mongo
* Using Image: mongo
* In a new Kubernetes namespace named: my-website
Answer : A
Show Answer
Hide Answer
Question: 5
SIMULATION
Create a deployment spec file that will:
* Launch 7 replicas of the nginx Image with the label
app_runtime_stage=dev
* deployment name: kual00201
Save a copy of this spec file to /opt/KUAL00201/spec_deployment.yaml
(or /opt/KUAL00201/spec_deployment.json).
When you are done, clean up (delete) any new Kubernetes API object that you produced during this task.
Answer : B
Show Answer
Hide Answer