Exhibit:
Context
You are tasked to create a secret and consume the secret in a pod using environment variables as follow:
Task
• Create a secret named another-secret with a key/value pair; key1/value4
• Start an nginx pod named nginx-secret using container image nginx, and add an environment variable exposing the value of the secret key key 1, using COOL_VARIABLE as the name for the environment variable inside the pod
Solution:
Solution:
Does this meet the goal?
Correct Answer:
A
Context
Anytime a team needs to run a container on Kubernetes they will need to define a pod within which to run the container.
Task
Please complete the following:
• Create a YAML formatted pod manifest
/opt/KDPD00101/podl.yml to create a pod named app1 that runs a container named app1cont using image Ifccncf/arg-output
with these command line arguments: -lines 56 -F
• Create the pod with the kubect1 command using the YAML file created in the previous step
• When the pod is running display summary data about the pod in JSON format using the kubect1 command and redirect the output to a file named /opt/KDPD00101/out1.json
• All of the files you need to work with have been created, empty, for your convenience
Solution:
Solution:
Does this meet the goal?
Correct Answer:
A
Exhibit:
Task:
Create a Pod named nginx resources in the existing pod resources namespace. Specify a single container using nginx:stable image.
Specify a resource request of 300m cpus and 1G1 of memory for the Pod’s container.
Solution:
Solution:
Text Description automatically generated with medium confidence
Text Description automatically generated
Text Description automatically generated
Does this meet the goal?
Correct Answer:
A
Exhibit:
Task:
1- Update the Propertunel scaling configuration of the Deployment web1 in the ckad00015 namespace setting maxSurge to 2 and maxUnavailable to 59
2- Update the web1 Deployment to use version tag 1.13.7 for the Ifconf/nginx container image. 3- Perform a rollback of the web1 Deployment to its previous version
Solution:
Solution:
Text Description automatically generated
Does this meet the goal?
Correct Answer:
A
Exhibit:
Context
You are asked to prepare a Canary deployment for testing a new application release.
Task:
A Service named krill-Service in the goshark namespace points to 5 pod created by the Deployment named current-krill-deployment
Solution:
Solution:
Text Description automatically generated
Does this meet the goal?
Correct Answer:
A