Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Certified Kubernetes Administrator (CKA) Practice Exam: Part 7

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!

Google Cloud Platform icon

Path Info

Clock icon Intermediate
Clock icon 30m
Clock icon Nov 20, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a PersistentVolume

    1. Create a PersistentVolume called host-storage-pv with a storage capacity of 1Gi in the acgk8s context. Configure this PersistentVolume so that volumes that use it can be expanded in the future.

      Note: This may require you to create additional objects.

    2. Configure the PersistentVolume to use a hostPath for storage located at /etc/data.
    3. Configure the PersistentVolume so that it can be automatically reused if all claims are deleted.
  2. Challenge

    Create a Pod That Uses the PersistentVolume for Storage

    1. Create a Pod called pv-pod in the auth Namespace. Configure this Pod so that it uses the host-storage-pv PersistentVolume for storage.

      Note: This will require the creation of a PersistentVolumeClaim in the same namespace as the Pod.

    2. Name the PersistentVolumeClaim host-storage-pvc. Give your PersistentVolumeClaim a size of 100Mi.
    3. Use the busybox image for this Pod, and configure it to run the command sh -c while true; do echo success > /output/output.log; sleep 5; done.
    4. Mount the volume that uses the PersistentVolume for storage, such that the /output directory ultimately writes to the PersistentVolume.
  3. Challenge

    Expand the PersistentVolumeClaim

    Expand the PersistentVolumeClaim so that the requested storage size is 200Mi.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans