顶级考试系列
https://blog.topexamcollection.com/zh/2023/04/enhance-your-career-with-available-preparation-guide-for-cka-exam-q18-q37/
Export date: Mon Jan 20 11:18:23 2025 / +0000 GMT

通过 CKA 考试备考指南 [Q18-Q37] 提升您的职业生涯




Enhance Your Career With Available Preparation Guide for CKA Exam

Get Special Discount Offer of CKA Certification Exam Sample Questions and Answers

新问题 18
Create the nginx pod with version 1.17.4 and expose it on port 80

新问题 19
List all the events sorted by timestamp and put them into file.log and verify

 
 
 

新问题 20
得分: 4%

任务
Schedule a pod as follows:
* Name: nginx-kusc00401
* Image: nginx
* Node selector: disk=ssd

新问题 21
Score:7%

背景
An existing Pod needs to be integrated into the Kubernetes built-in logging architecture (e. g. kubectl logs). Adding a streaming sidecar container is a good and common way to accomplish this requirement.
任务
Add a sidecar container named sidecar, using the busybox Image, to the existing Pod big-corp-app. The new sidecar container has to run the following command:
/bin/sh -c tail -n+1 -f /va r/log/big-corp-app.log
Use a Volume, mounted at /var/log, to make the log file big-corp-app.log available to the sidecar container.

新问题 22
Check the image version in pod without the describe command

新问题 23
Create and configure the service front-end-service so it’s accessible through NodePort and routes to the existing pod named front-end.

新问题 24
将其中一个 pod 的标签更改为 env=uat,然后列出所有 pod 以进行验证

新问题 25
List pod logs named “frontend” and search for the pattern “started” and write it to a file “/opt/error-logs”

新问题 26
Label a node as app=test and verify

新问题 27
Undo the deployment with the previous version and verify
everything is Ok

新问题 28
Scale the deployment webserver to 6 pods.

新问题 29
Create a configmap called myconfigmap with literal value
appname=myapp

 
 

新问题 30
创建一个回声为 "hello world "的 pod,然后让它存在。完成后自动删除 pod

新问题 31
Get the list of pods of webapp deployment

 
 

新问题 32
Schedule a pod as follows:
Name: nginx-kusc00101
Image: nginx
Node selector: disk=ssd

新问题 33
Add a taint to node “worker-2” with effect as “NoSchedule” and
list the node with taint effect as “NoSchedule”

 
 

新问题 34
Create a deployment as follows:
Name: nginx-random
Exposed via a service nginx-random
Ensure that the service & pod are accessible via their respective DNS records The container(s) within any pod(s) running as a part of this deployment should use the nginx Image Next, use the utility nslookup to look up the DNS records of the service & pod and write the output to /opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.

新问题 35
Create a pod with environment variables as var1=value1.Check the environment variable in pod

 
 

新问题 36
Get all the pods with label “env”

新问题 37
Create an nginx pod and load environment values from the above configmap “keyvalcfgmap” and exec into the pod and verify the environment variables and delete the pod

 
 


The Linux Foundation Certified Kubernetes Administrator (CKA) Program Certification Exam is designed to test the skills and knowledge of individuals in the field of Kubernetes administration. The exam is aimed at individuals who are responsible for designing, deploying, and maintaining Kubernetes clusters in production environments. The CKA Program Certification Exam is a performance-based exam, which means that candidates will be required to perform tasks on a live Kubernetes cluster rather than answering multiple-choice questions.

 

Updated CKA Dumps Questions Are Available For Passing Linux Foundation Exam: https://www.topexamcollection.com/CKA-vce-collection.html 1

链接
  1. https://www.topexamcollection.com/CKA-vce-collecti on.html
Post date: 2023-04-17 09:36:56
Post date GMT: 2023-04-17 09:36:56

Post modified date: 2023-04-17 09:36:56
Post modified date GMT: 2023-04-17 09:36:56

Export date: Mon Jan 20 11:18:23 2025 / +0000 GMT
本页从 Top Exam Collection 导出 [ http://blog.topexamcollection.com ]