CKA Examination - Clarirfication to a question

Hi All !

I came across a question in the real CKA examination which asked to take backup and restore of a particular node ETCD. They had provided the endpoints (http://127.0.0.1:2379) , private certificate (/etc/kubernetes/pki/etcd/peer.crt) , private key(/etc/kubernetes/pki/etcd/peer.crt) and ca certification(/etc/kubernetes/pki/etcd/ca.crt).

However, when I was trying to take backup (after doing ssh to that node) - it said permission to the key denied. I went to /etc/kubernetes/manifests/etcd.yaml to see the values but there also I could not open the etcd.yaml file as it said permission denied)

Is it because I need to run the command using “sudu” ? Or I need to type $sude -i and then run the command? Or it is to do with the private key which is peer.key ? I am little confused ?

Can anyone guide me on this ?

Regards,
Rudra

Hi @rudrapm,
Discussing official questions is against the NDA. Please delete this post ASAP.

Regards,