From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Practice questions

Practice questions

- All right, we are now at the end of this lesson. Let's do a couple of practice questions. So, question number one, which resource would you use to create an application that runs one application instance on each cluster node? Would that be a statefulset, a deployment, a daemonset, or a job? That was a daemonset. A daemonset is like a special modification of a deployment, and the purpose of a daemonset is to run one instance of the application on every single node of the cluster. Very convenient for running agents and such Next question, which application resource should you use to implement a replicated database? Would that be a statefulset, a deployment, a daemonset, or a job? Now, this would be a stateful set because stateful sets are used to keep the state of your application, and that allows you to manage names of your instances, for instance. Last question, which resource should you use to run an application to completion? Again, the choices are statefulset, deployment…

Contents