Certified Kubernetes Administrator (CKA) Practice Exam: Part 4

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

This lab provides practice scenarios to help prepare you for the Certified Kubernetes Administrator (CKA) exam. You will be presented with tasks to complete as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKA exam. Good luck!

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Back Up the etcd Data

From the exam server, log in to the etcd1 server and back up the etcd data to a file located at /home/cloud_user/etcd_backup.db.

Note: On the etcd1 server, you can find certificates which you can use to authenticate with etcd in /home/cloud_user/etcd-certs.

Restore the etcd Data from the Backup

On the etcd1 server, restore your etcd data from the backup file at /home/cloud_user/etcd_backup.db.

Additional Resources

Each of the objectives represents a task which you will need to complete using the available cluster and server(s). Read each objective carefully and complete the task specified.

For this question, you will need to ssh into the ectd1 server. You can do so using the hostname (i.e., ssh etcd1). When referencing etcd1, use the hostname etcd1 and not localhost.

Note: You cannot ssh into another node from any node other than the root node. Once you have completed the necessary tasks on a server, be sure to exit and return to the root node before proceeding.

If you need to assume root privileges on a server, you can do so with sudo -i.

You can run the verification script located at /home/cloud_user/verify.sh on the etcd1 server at any time to check your work!

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?