Which Kubernetes object is used to run a set of replicas for a pod on each node in the cluster?DeploymentReplicaSetStatefulSetDaemonSet
Question
Which Kubernetes object is used to run a set of replicas for a pod on each node in the cluster?DeploymentReplicaSetStatefulSetDaemonSet
Solution
The Kubernetes object used to run a set of replicas for a pod on each node in the cluster is the DaemonSet.
Similar Questions
Which Kubernetes object is used to deploy a containerized application and manage its lifecycle?DeploymentConfigMapServiceNamespace
1.Question 1How do you create a ReplicaSet from scratch?1 pointApply a YAML file with the ‘kind’ attribute set to ‘ReplicaSet’.Use the ‘get pods’ command.Use the ‘scale’ command to scale the deployment.Apply a JSON file that includes the number of desired replicas.2.Question 2What Kubernetes object adds or deletes pods for scaling and redundancy?1 pointA Config MapA ReplicaSetA DaemonSetA Secret3.Question 3Which Kubernetes autoscaler type scales the Cluster?1 pointHorizontal Pod Autoscaler (HPA)Cluster Autoscaler (CA)You cannot autoscale a Kubernetes Cluster.Vertical Pod Autoscaler (VPA)4.Question 4How do you prepare your application to enable rolling updates?1 pointSet the maxSurge to 100%.Use autoscaling.Set the maxSurge to 50%.Add liveness and readiness probes to deployments.5.Question 5Which rolling update types ensure 100% app availability?1 pointBoth all-at-once and one-at-a-time updates and rollbacks ensure 100% app availability.All-at-once updates and rollbacks ensure 100% app availability.No rolling update types can ensure 100% app availability.One-at-a-time updates and rollbacks ensure 100% app availability.6.Question 6What does a ConfigMap do?1 pointProvides variables for your applicationVerifies that a Secret was createdMounts a file using the volumes plugin Provides sensitive information to your application7.Question 7What are three ways to create a ConfigMap? 1 pointBy using string literalsBy using an existing property or ‘key’ = ‘value’ fileBy adding another environment to the deployment descriptorBy providing a ConfigMap YAML descriptor file8.Question 8What are three ways to create a Secret?1 pointBy providing a ConfigMap YAML descriptor fileBy using a string literal By using volume mountsBy using environment variables 9.Question 9What does Service binding do? 1 pointManages configuration and credentials for back-end Services while protecting sensitive dataMakes Service credentials hidden.Calls the service without using binding credentials.Provides variables for your application10.Question 10What are the three required steps to bind the IBM Cloud Service to your Cluster? 1 pointErase the credential configuration file after credential setup.Provision an instance of the Service.Configure your app to access the credentials.Bind the Service to your Cluster to create credentials.
In Kubernetes, what is a `StatefulSet`?A higher-level abstraction over pods that provides guarantees about the ordering and uniqueness of podsA configuration object for storage volumesA mechanism for scaling applications horizontallyAn API object that manages external access to services in a cluster
Fill in the blank. __________ is a tool for orchestrating multiple containers across different machines or clouds.(1 Point)PodmanVirtual machineDockerKubernetes
What is a Kubernetes Ingress?A group of related Pods and their configurationsAn API object that manages external access to services in a clusterA mechanism for scaling applications horizontallyA storage volume for persisting data
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.