<< Prev Question Next Question >>

Question 34/38

You must connect to the correct host.
Failure to do so may result in a zero score.
[candidate@base] $ ssh Cka000037
Context
A legacy app needs to be integrated into the Kubernetes built-in logging architecture (i.e.
kubectl logs). Adding a streaming co-located container is a good and common way to accomplish this requirement.
Task
Update the existing Deployment synergy-leverager, adding a co-located container named sidecar using the busybox:stable image to the existing Pod . The new co-located container has to run the following command:
/bin/sh -c "tail -n+1 -f /var/log/syne
rgy-leverager.log"
Use a Volume mounted at /var/log to make the log file synergy-leverager.log available to the co- located container .
Do not modify the specification of the existing container other than adding the required volume mount .
Failure to do so may result in a reduced score.

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (38q)
Question 1: For this item, you will have to ssh to the nodes ik8s-master...
Question 2: You must connect to the correct host. Failure to do so may r...
Question 3: Score: 13% (Exhibit) Task A Kubernetes worker node, named wk...
Question 4: Create a Kubernetes secret as follows: * Name: super-secret ...
Question 5: Create and configure the service front-end-service so it's a...
Question 6: You must connect to the correct host. Failure to do so may r...
Question 7: You must connect to the correct host. Failure to do so may r...
Question 8: You must connect to the correct host. Failure to do so may r...
Question 9: Create a pod as follows: * Name: mongo * Using Image: mongo ...
Question 10: List all the pods sorted by name...
Question 11: List all the pods showing name and namespace with a json pat...
Question 12: Create a namespace called 'development' and a pod with image...
Question 13: Score: 4% (Exhibit) Task Set the node named ek8s-node-1 as u...
Question 14: Score:7% (Exhibit) Task Create a new PersistentVolumeClaim *...
Question 15: Create a pod named kucc8 with a single app container for eac...
Question 16: Score: 4% (Exhibit) Task Create a pod named kucc8 with a sin...
Question 17: Create a persistent volume with name app-data, of capacity 2...
Question 18: Get list of all the pods showing name and namespace with a j...
Question 19: Get list of all pods in all namespaces and write it to file ...
Question 20: A Kubernetes worker node, named wk8s-node-0 is in state NotR...
Question 21: List pod logs named "frontend" and search for the pattern "s...
Question 22: Score: 7% (Exhibit) Task Create a new nginx Ingress resource...
Question 23: List all the pods sorted by name...
Question 24: List the nginx pod with custom columns POD_NAME and POD_STAT...
Question 25: You must connect to the correct host. Failure to do so may r...
Question 26: (Exhibit) Task Create a new HorizontalPodAutoscaler (HPA ) n...
Question 27: Score: 4% (Exhibit) Task Check to see how many nodes are rea...
Question 28: Create a deployment as follows: * Name: nginx-app * Using co...
Question 29: Score: 4% (Exhibit) Task Scale the deployment presentation t...
Question 30: Score: 4% (Exhibit) Context You have been asked to create a ...
Question 31: Create a deployment spec file that will: * Launch 7 replicas...
Question 32: What is the maximum number of samples that can be submitted ...
Question 33: (Exhibit) Task Create a new Ingress resource as follows: . N...
Question 34: You must connect to the correct host. Failure to do so may r...
Question 35: Monitor the logs of pod foo and: * Extract log lines corresp...
Question 36: You must connect to the correct host. Failure to do so may r...
Question 37: Create a busybox pod that runs the command "env" and save th...
Question 38: Score: 5% (Exhibit) Task Monitor the logs of pod bar and: * ...