9

2020年11月CKA新题考试心得体会

 3 years ago
source link: https://www.pkslow.com/archives/cka-exam
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

1 什么是CKA

CKA,即Certificated Kubernetes AdministratorCNCF官方提供的Kubernetes技能认证,含金量还是不错的。还有CKAD,相对简单一些,没有必要两个都考。最近还出了CKS,难度很大,含金量最高,必须拿到CKA才可以去考。

CKA最近改版了,变更了许多,题目和难度都不一样,本文就改版后的考试心得做个简单梳理。

cka-exam.cka-cert.jpeg

2 考试基本情况与建议

考试费用为300美元,中文是2088,差不多;

考试时长为2小时,满分100分,66分通过,一共有17道题;

考试形式为线上考试、远程监考,考官通过共享桌面和摄像头来监控;

报名可以中文或英文,建议使用英文,然后准备护照;因为监考官一般是外国人,他不认身份证和中文;

考试需要用到Chrome插件,要科学上网才能安装;考试的时候并不需要科学上网,如果网速可以,建议不要使用,以免造成网络中断;

考试要在没其它人的室内,考试前考官会叫考生拿着摄像头转一圈。桌子最好保证没有其他东西,特别是书籍、电子产品等;

考试尽量不要喝水和提出休息,两个小时很快就过去了;

考试需要设置命令自动补全,设置一次就可以了;

考试可参考的资料为kubernetes.io和GitHub官网,其它网页都不行;

浏览器只能打开两个tag,一个考试,一个参考资料,所以强烈建议要把网页收藏好;

考试时题目有多种语言,建议用英文版,中文是翻译过来的,题意和字符串不确定是否有问题;

做完一道题尽量验证一下,如使用kubectl getkubectl describe等;

能用kubectl create等命令直接创建的,就用命令,写yaml文件会慢很多;

考试框提供一个记事本可以进行文字编辑,任何本地的软件都是不允许的;

遇到不会做的可以先跳过,mark下来回头再做;最好是记在记事本上,不然网络中断重新加载后,标识会丢失;

一定要记得切换上下文,不然可能做错环境,甚至是改坏本来正确的答案;

需要ssh跳到其它机器的,操作完记得跳回来;

建议考试前练习一下vi/vim,考试用得上;

3 题目是什么

网上是有真题的,可以搜出来,也有答案。但是,千万不过迷信网上的答案,有些很可能是错的。还是需要以自己理解为基础,并做出相应的调整。

所谓真题,我就不分享了,大家自己动用自己的搜索能力吧。我考试的题目如下:

  1. clusterrole:创建并绑定,建议多使用命令的方式;
  2. 驱逐cordon/drain:很简单,记得用kubectl get pod -o wide验证一下;
  3. 升级集群:比较难,照着官网做吧;
  4. etcd备份及恢复:比较难,官网有部分命令,其它还是要自己记一下;
  5. 网络策略:官网已经有yaml模板,简单改改就好;
  6. deployment端口与暴露服务:简单;
  7. ingress:可以通过curl来验证;
  8. scale deployment:简单,用命令行操作;
  9. Node selector:简单,可以查看nodelabel验证一下;
  10. 查看无污点的node:简单,熟悉一下污点与宽容;
  11. 多容器的Pod:题目貌似有点问题,按理说应该很简单;
  12. 创建pv:官网有模板;
  13. pvc与扩容,并记录:官网有模板,记得加--record,可以修改后验证一下;
  14. Pod的日志:简单;
  15. sidecar:这题目有点奇怪,一直无法提交;
  16. 查看pod的cpu使用率:简单,使用top命令,记得排序;
  17. 故障定位,重启kubelet:简单,记得ssh和获取权限。

心态平和,尽人事、听天命,其实并不是很难。考完36小时后,就有成绩出来了。祝大家收获自己的CKA证书吧。

使用阿里云搭建练习平台:详细记录用kubeadm在Ubuntu上安装Kubernetes集群

常用命令:Docker和Kubernetes常用命令(持续整理)

考试必备:vim常用命令,linux必备


我的考试收藏夹(Chrome不支持部分导出,大家将就着用吧,先打开然后自行收藏):

cka-exam.bookmark.jpeg

https://kubernetes.io/zh/docs/reference/kubectl/cheatsheet/
https://kubernetes.io/zh/docs/reference/kubectl/kubectl/
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#drain
https://kubernetes.io/zh/docs/reference/access-authn-authz/rbac/
https://kubernetes.io/zh/docs/concepts/architecture/nodes/
https://kubernetes.io/zh/docs/tasks/administer-cluster/safely-drain-node/
https://kubernetes.io/zh/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
https://kubernetes.io/zh/docs/tasks/administer-cluster/configure-upgrade-etcd/
https://kubernetes.io/zh/docs/concepts/services-networking/network-policies/
https://kubernetes.io/zh/docs/concepts/services-networking/service/#nodeport
https://kubernetes.io/zh/docs/concepts/services-networking/ingress/
https://kubernetes.io/zh/docs/concepts/workloads/controllers/deployment/
https://kubernetes.io/zh/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/
https://kubernetes.io/zh/docs/concepts/workloads/pods/pod-topology-spread-constraints/
https://kubernetes.io/zh/docs/concepts/workloads/pods/init-containers/
https://kubernetes.io/zh/docs/concepts/storage/persistent-volumes/
https://kubernetes.io/zh/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
https://kubernetes.io/zh/docs/concepts/storage/persistent-volumes/#%E5%9C%A8%E5%AE%B9%E5%99%A8%E4%B8%AD%E6%B7%BB%E5%8A%A0%E5%8E%9F%E5%A7%8B%E5%9D%97%E8%AE%BE%E5%A4%87%E8%B7%AF%E5%BE%84%E7%9A%84-pod-%E8%A7%84%E7%BA%A6
https://kubernetes.io/zh/docs/concepts/storage/volumes/#emptydir
https://kubernetes.io/zh/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume
https://kubernetes.io/zh/docs/concepts/storage/volumes/#hostpath
https://kubernetes.io/zh/docs/concepts/storage/storage-classes/#%E5%85%81%E8%AE%B8%E5%8D%B7%E6%89%A9%E5%B1%95
https://kubernetes.io/zh/docs/tasks/debug-application-cluster/debug-service/
https://kubernetes.io/zh/docs/concepts/cluster-administration/logging/
https://kubernetes.io/zh/docs/tasks/debug-application-cluster/debug-cluster/
https://kubernetes.io/zh/docs/tasks/configure-pod-container/configure-volume-storage/
https://kubernetes.io/zh/docs/tasks/configure-pod-container/configure-pod-configmap/
https://kubernetes.io/zh/docs/tasks/inject-data-application/distribute-credentials-secure/
https://kubernetes.io/zh/docs/concepts/services-networking/dns-pod-service/
https://kubernetes.io/zh/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
https://kubernetes.io/zh/docs/tasks/configure-pod-container/security-context/
https://kubernetes.io/zh/docs/concepts/policy/pod-security-policy/


欢迎关注微信公众号<南瓜慢说>,将持续为你更新...

file

推荐阅读:
如何制定切实可行的计划并好好执行
容器技术(Docker-Kubernetes)
SpringBoot-Cloud相关
Https专题


Recommend

  • 54
    • yunlzheng.github.io 6 years ago
    • Cache

    关于CNCF的CKA认证考试

    最近花了些时间完成了CNCF官方基金会推出的CKA(Certified Kubernetes Administrator)认证考试,这边文章就简单说一下CKA认证考试是撒,以及参加考试一些准备过程。 更多详细信息,请参考本文末尾的参考资料部分的CKA candidate handboo...

  • 36
    • yalishizhude.github.io 6 years ago
    • Cache

    CKA认证考试心得

    CKA认证考试心得

  • 116
    • www.dboracle.com 6 years ago
    • Cache

    12C OCM 升级考试心得体会

    5月底去考了12C OCM的升级考试,这周五成绩出来了。大概收到成绩邮件约为三个星期。 12C OCM升级考试主要考四门,我个人认为比11G OC...

  • 14
    • lupeier.com 4 years ago
    • Cache

    CKA考试经验总结

    CKA考试相关说明及经验总结 什么是CKA考试? CKA全称是Certified Kubernetes Administrator,即Kubernetes认证管理员,由CNCF官方组织考试并颁发证书,应该来说还是比较权威的,还有一个是CKAD考试,对于报考人员的要...

  • 10

    Important Directories to Know for Kubernetes CKA Exam...

  • 7
    • brandonwillmott.com 3 years ago
    • Cache

    CKA 2020 Curriculum for Kubernetes v1.19

    CKA 2020 Curriculum for Kubernetes v1.19 Leave a reply *** LIVE DOCUMENT *** Las...

  • 9
    • capgemini.github.io 3 years ago
    • Cache

    Zero to CKA in 2 Weeks | Capgemini Engineering

    Zero to CKA in 2 WeeksSkip to main content Prior to the 2 weeks leading up to my CKA exam, I had no Kubernetes knowledge to speak of. I didn’t k...

  • 15

    I previously wrote about my first CKA exam attempt, I wanted to share things I’ve reflected on and plan to change for my second attempt. I hope these tips will b...

  • 8
    • brandonwillmott.com 3 years ago
    • Cache

    How I Plan to Pass 2nd CKA Attempt

    The time finally came for me to take the CKA exam on October 29, 2020. I felt about 90% confident that I would pass but came up short and scored 51% (66% needed to pass). I feel that this represented 1-3 questions that I got wrong so I feel c...

  • 8
    • www.pkslow.com 2 years ago
    • Cache

    How to pass the CKA exam

    技术之前,先读诗书:世人若被明日累,春去秋来老将至。 How to pass the CKA exam ...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK