This page represents practice test consisting of objective questions and answers on Kubernetes. The following topics are covered as part of this practice test / quiz:
- Container hooks and related lifecycle
The practice test can prove to be very helpful if you are preparing to take Certified Kubernetes Administrator (CKA) certification examination in near future. It covers the Core Concepts from CKA certification exam syllabus.
Those preparing for interviews in relation with Kubernetes or cloud-native apps would find these questions to be useful enough. These questions can prove to be useful for interns / freshers / beginners.
Revision Notes – Kubernetes Concepts (Container Hooks / Pods)
- Kubernetes provides containers with following lifecycle hooks:
- Kubernetes supports implementation of following hook handlers for containers:
- Exec: Executes a specific command, such as pre-stop.sh, inside the cgroups and namespaces of the Container.
- Http: Executes an HTTP request against a specific endpoint on the Container.
- Container hook handlers are synchronous
- Hook handlers are debugged using events broadcasted for both PostStart (FailedPostStartHook) and PreStop (FailedPreStopHook)
- A pod represents a running process in the cluster
- A pod encapsulates some of the following:
- One or more containers
- Storage resources
- Network IP
- A Pod supports the following container runtime
- Pods provide the following two kinds of shared resources for their constituent containers:
- Each Pod is assigned a unique IP address.
- A pod can not self-heal. It is the controller that handles the work of managing the relatively disposable Pod instances.
- Controllers use pod templates to create pods
Practice Test – Kubernetes Concepts (Container Hooks / Pods)
Kubernetes provides containers with which of the following lifecycle hooks?
Kubernetes supports implementation of following hook handler(s) for containers
Container hook handlers are ___________
Hook handlers can be debugged using ____________
A pod can comprise of only one container
A pod encapsulates which of the following
A Pod supports which of the following container runtime
Pods provide which of the following kind of shared resource(s) for their constituent containers
Each Pod is assigned a unique IP address.
A pod can self-heal
Additional Kubernetes Practice Tests (Interview Questions / Answers)
The following is a list of other practice tests you can take to test your knowledge of Kubernetes concepts:
- Practice test on introduction to Kubernetes
- Practice test on Pods, Taints and Tolerations
- Practice test on Pods Lifecycle
- Practice test on Services
Please feel free to suggest or share the page if you liked the practice test and related concepts on Kubernetes.
He has also authored the book, Building Web Apps with Spring 5 and Angular.
Latest posts by Ajitesh Kumar (see all)
- AWS reInvent – Top 7 New Machine Learning Services - November 30, 2018
- Solution – Macbook Air Stuck at Progress Bar Loading - November 25, 2018
- Guidelines for Creating an Ethical AI Framework - November 23, 2018