Podcast
Questions and Answers
Which node component is responsible for running workloads?
Which node component is responsible for running workloads?
- The kubelet
- The kube-proxy
- The container runtime (correct)
- The kube-apiserver
Which API object is the recommended way to run a scalable, stateless application on your cluster?
Which API object is the recommended way to run a scalable, stateless application on your cluster?
- DaemonSet
- ReplicaSet
- Pod
- Deployment (correct)
When a CronJob is triggered, which sequence of actions occurs in the cluster?
When a CronJob is triggered, which sequence of actions occurs in the cluster?
- CronJob controller creates a Job, which then creates a Pod. (correct)
- Kube-scheduler schedules the CronJob.
- CronJob controller creates a Pod and waits for completion.
- Kubelet directly runs the Pod.
What is the primary function of the kubelet within a Kubernetes cluster?
What is the primary function of the kubelet within a Kubernetes cluster?
When RBAC is enabled, what is the default value for authorization-mode
in the Kubernetes API server?
When RBAC is enabled, what is the default value for authorization-mode
in the Kubernetes API server?
An organization needs to process large amounts of data in bursts, specifically 1000 compute jobs each Monday morning, with completion required by Monday night. Which method is most cost-effective?
An organization needs to process large amounts of data in bursts, specifically 1000 compute jobs each Monday morning, with completion required by Monday night. Which method is most cost-effective?
What is a Kubernetes service called when it is created without a cluster IP address?
What is a Kubernetes service called when it is created without a cluster IP address?
What do the letters 'CI/CD' stand for?
What do the letters 'CI/CD' stand for?
By default, how is data protected within Kubernetes Secrets?
By default, how is data protected within Kubernetes Secrets?
What is Kube-proxy's primary function?
What is Kube-proxy's primary function?
After deprecation, what is the minimum length of time that a stable Kubernetes API element should be supported?
After deprecation, what is the minimum length of time that a stable Kubernetes API element should be supported?
Which Kubernetes distribution is designed for lightweight loT and edge computing?
Which Kubernetes distribution is designed for lightweight loT and edge computing?
Which Kubernetes component enables automatic management of the number of nodes in your cluster to meet demand?
Which Kubernetes component enables automatic management of the number of nodes in your cluster to meet demand?
Regarding Open Policy Agent (OPA), which statement is accurate?
Regarding Open Policy Agent (OPA), which statement is accurate?
In the context of cloud-native technologies, what does the abbreviation 'laC' stand for?
In the context of cloud-native technologies, what does the abbreviation 'laC' stand for?
Which framework abstracts away the complexities of capacity, deployments, scaling, fault tolerance, and OS management from developers?
Which framework abstracts away the complexities of capacity, deployments, scaling, fault tolerance, and OS management from developers?
Which characteristic is primarily associated with container orchestration?
Which characteristic is primarily associated with container orchestration?
Which workload requires a headless service when deploying into a namespace?
Which workload requires a headless service when deploying into a namespace?
What is Helm?
What is Helm?
What is the recommended approach for loading and generating required data before a Pod starts up?
What is the recommended approach for loading and generating required data before a Pod starts up?
Which kubectl
command will display logs in real time?
Which kubectl
command will display logs in real time?
What is the core functionality of GitOps tools such as Argo CD and Flux?
What is the core functionality of GitOps tools such as Argo CD and Flux?
Which Kubernetes resource ensures that a copy of a Pod runs on all (or some) nodes?
Which Kubernetes resource ensures that a copy of a Pod runs on all (or some) nodes?
The Kubernetes API can be extended using CRDs and the API Aggregation Layer. What does CRD stand for?
The Kubernetes API can be extended using CRDs and the API Aggregation Layer. What does CRD stand for?
Kubernetes project work is primarily carried out by SIGs. What does SIG stand for?
Kubernetes project work is primarily carried out by SIGs. What does SIG stand for?
In Cloud Native Security, what is the correct order of the 4Cs, starting with the layer a user has the most control over?
In Cloud Native Security, what is the correct order of the 4Cs, starting with the layer a user has the most control over?
Which container runtimes provide additional sandboxed isolation and elevated security?
Which container runtimes provide additional sandboxed isolation and elevated security?
Which is the common standard for Service Meshes?
Which is the common standard for Service Meshes?
Which statement about Ingress is correct?
Which statement about Ingress is correct?
What best describes cloud native service discovery?
What best describes cloud native service discovery?
What components are common in a service mesh?
What components are common in a service mesh?
Which storage operator in Kubernetes can help the system to self-scale, self-heal, etc?
Which storage operator in Kubernetes can help the system to self-scale, self-heal, etc?
What fields must exist in any Kubernetes object (e.g. YAML) file?
What fields must exist in any Kubernetes object (e.g. YAML) file?
Which activity falls under the responsibilities of a Site Reliability Engineer (SRE)?
Which activity falls under the responsibilities of a Site Reliability Engineer (SRE)?
What are the initial namespaces that Kubernetes starts with?
What are the initial namespaces that Kubernetes starts with?
What is a probe within Kubernetes?
What is a probe within Kubernetes?
What Kubernetes feature helps to maintain application availability and guard against split-brain scenarios in a distributed application?
What Kubernetes feature helps to maintain application availability and guard against split-brain scenarios in a distributed application?
What feature must a CNI (Container Network Interface) support to control specific traffic flows for workloads running in Kubernetes?
What feature must a CNI (Container Network Interface) support to control specific traffic flows for workloads running in Kubernetes?
What is the main role of the Kubernetes DNS within a cluster?
What is the main role of the Kubernetes DNS within a cluster?
Scenario: You have a Kubernetes cluster hosted in a public cloud provider. When trying to create a Service of type LoadBalancer, the external-ip is stuck in the 'Pending' state. Which Kubernetes component is failing in this scenario?
Scenario: You have a Kubernetes cluster hosted in a public cloud provider. When trying to create a Service of type LoadBalancer, the external-ip is stuck in the 'Pending' state. Which Kubernetes component is failing in this scenario?
What are the characteristics for building every cloud-native application?
What are the characteristics for building every cloud-native application?
What does CNCF stand for?
What does CNCF stand for?
Kubernetes supports multiple virtual clusters backed by the same physical cluster. What are these virtual clusters called?
Kubernetes supports multiple virtual clusters backed by the same physical cluster. What are these virtual clusters called?
What component enables end users, different parts of the Kubernetes cluster, and external components to communicate with one another?
What component enables end users, different parts of the Kubernetes cluster, and external components to communicate with one another?
Which kubectl
command will list the resource types that exist within a cluster?
Which kubectl
command will list the resource types that exist within a cluster?
Which of these components is part of the Kubernetes Control Plane?
Which of these components is part of the Kubernetes Control Plane?
What is a key feature of a container network?
What is a key feature of a container network?
How can you monitor the progress for an updated Deployment/DaemonSets/StatefulSets?
How can you monitor the progress for an updated Deployment/DaemonSets/StatefulSets?
Flashcards
Container Runtime
Container Runtime
The component of the node responsible for running workloads.
Deployment
Deployment
The recommended API object for running scalable, stateless applications on a cluster.
CronJob Controller
CronJob Controller
Component that creates a Job, then the Job controller creates a Pod and waits until it finishes.
Kubelet purpose in Kubernetes
Kubelet purpose in Kubernetes
Signup and view all the flashcards
--authorization-mode
--authorization-mode
Signup and view all the flashcards
Cost-Effective Kubernetes Batch Job
Cost-Effective Kubernetes Batch Job
Signup and view all the flashcards
Headless Service
Headless Service
Signup and view all the flashcards
What CI/CD stands for
What CI/CD stands for
Signup and view all the flashcards
Kubernetes Secrets Protection Level
Kubernetes Secrets Protection Level
Signup and view all the flashcards
Kube-proxy Function
Kube-proxy Function
Signup and view all the flashcards
Kubernetes API Deprecation Support
Kubernetes API Deprecation Support
Signup and view all the flashcards
K3s
K3s
Signup and view all the flashcards
Cluster Autoscaler
Cluster Autoscaler
Signup and view all the flashcards
Correct statement concerning Open Policy Agent (OPA)
Correct statement concerning Open Policy Agent (OPA)
Signup and view all the flashcards
What laC stands for
What laC stands for
Signup and view all the flashcards
Kubernetes Benefit
Kubernetes Benefit
Signup and view all the flashcards
Characteristic associated with container orchestration?
Characteristic associated with container orchestration?
Signup and view all the flashcards
Workload Requires Headless Service
Workload Requires Headless Service
Signup and view all the flashcards
Helm
Helm
Signup and view all the flashcards
Loading Data Before Pod Startup
Loading Data Before Pod Startup
Signup and view all the flashcards
Correct kubectl command to display logs in real time
Correct kubectl command to display logs in real time
Signup and view all the flashcards
Core Functionality of GitOps tools
Core Functionality of GitOps tools
Signup and view all the flashcards
DaemonSet
DaemonSet
Signup and view all the flashcards
What is CRD
What is CRD
Signup and view all the flashcards
What SIG stand for?
What SIG stand for?
Signup and view all the flashcards
What is the order of 4C's
What is the order of 4C's
Signup and view all the flashcards
Group of container runtimes that provides additional sandboxed isolation and elevated security
Group of container runtimes that provides additional sandboxed isolation and elevated security
Signup and view all the flashcards
Common standard for Service Meshes?
Common standard for Service Meshes?
Signup and view all the flashcards
Correct statement about Ingress
Correct statement about Ingress
Signup and view all the flashcards
Cloud Native Service Discovery
Cloud Native Service Discovery
Signup and view all the flashcards
Components are common in a service mesh?
Components are common in a service mesh?
Signup and view all the flashcards
Which storage operator can help the system to self-scale, self-heal
Which storage operator can help the system to self-scale, self-heal
Signup and view all the flashcards
Fields must exist in any Kubernetes object file
Fields must exist in any Kubernetes object file
Signup and view all the flashcards
Responsibilities of an SRE?
Responsibilities of an SRE?
Signup and view all the flashcards
Initial namespaces that Kubernetes starts with
Initial namespaces that Kubernetes starts with
Signup and view all the flashcards
Probe Within Kubernetes
Probe Within Kubernetes
Signup and view all the flashcards
Study Notes
Exam A Study Notes
Question 1
- The container runtime is the node component responsible for running workloads.
Question 2
- Deployment API object is the recommended way to run scalable, stateless apps on a cluster.
Question 3
- The CronJob controller creates a Job, which then creates a Pod when it's time for the CronJob to run.
Question 4
- Kubelet is an agent that runs on each node in the cluster and ensures containers are running in a Pod.
Question 5
- The default value for authorization-mode in the Kubernetes API server is RBAC (--authorization-mode=RBAC).
Question 6
- Leveraging the Kubernetes Cluster Autoscaler to automatically start and stop nodes is cost-effective for burst data processing.
Question 7
- A Kubernetes service with no cluster IP address is called a Headless Service.
Question 8
- CI/CD stands for Continuous Integration / Continuous Development.
Question 9
- Secrets in the Kubernetes API use base64 encoding for the default level of data protection.
Question 10
- Kube-proxy forwards data to the correct endpoints for Services within a cluster.
Question 11
- A stable Kubernetes API element should be supported for at least 12 months after deprecation.
Question 12
- k3s is the name of the lightweight Kubernetes distribution built for IoT and edge computing.
Question 13
- Kubernetes Cluster Autoscaler allows automatic management of the number of nodes in a cluster.
Question 14
- Kubernetes can use the Open Policy Agent (OPA) to validate requests and apply policies.
Question 15
- In cloud-native Infrastructure as Code (IaC) is the management and provisioning of infrastructure through code rather than manual processes.
Question 16
- In a Serverless framework developers no longer handle capacity, deployments, scaling, fault tolerance, and OS.
Question 17
- Dynamic scheduling is associated with container orchestration.
Question 18
- StatefulSet workload requires a headless service while deploying into the namespace.
Question 19
- Helm is a package manager for Kubernetes applications.
Question 20
- To load and generate data required before the Pod startup, use an init container with shared file storage.
Question 21
- The correct kubectl command to display logs in real time is: kubectl logs -f test-container-1.
Question 22
- GitOps tools like Argo CD and Flux continuously compare the desired state in Git with the actual production state.
Question 23
- The DaemonSet Kubernetes resource workload ensures that all, or some, nodes run a copy of a Pod.
Question 24
- CRD stands for Custom Resource Definition.
Question 25
- SIG stands for Special Interest Group.
Question 26
- The order of 4C's in Cloud Native Security, starting with the layer that a user has the most control over is Code -> Container -> Cluster -> Cloud.
Question 27
- runsc and kata container runtimes provides additional sandboxed isolation and elevated security
Question 28
- Service Mesh Interface (SMI) is the common standard for Service Meshes.
Question 29
- Ingress exposes routes from outside the cluster to services in the cluster.
Question 30
- Cloud native service discovery is a mechanism for apps and microservices to locate each other on a network.
Question 31
- A service proxy and control plane are common components in a service mesh.
Question 32
- Rook is a storage operator in Kubernetes that can help the system to self-scale and self-heal.
Question 33
- apiVersion, kind, and metadata fields must exist in any Kubernetes object YAML file.
Question 34
- Creating a monitoring baseline for an application is a responsibility of an SRE (Site Reliability Engineer).
Question 35
- The initial namespaces that Kubernetes starts with are default, kube-system, kube-public, and kube-node-lease.
Question 36
- A probe within Kubernetes is a diagnostic performed periodically by the kubelet on a container.
Question 37
- StatefulSet is the Kubernetes feature to guard against split-brain scenarios with your distributed application.
Question 38
- A CNI must support Network Policies to control specific traffic flows for workloads running in Kubernetes.
Question 39
- The main role of the Kubernetes DNS within a cluster is to provide consistent DNS Names for Pods and Services for workloads that need to communicate with each other.
Question 40
- The Cloud Controller Manager Kubernetes component is failing when the external-ip is stuck in the "Pending" state when trying to create a Service of type LoadBalancer.
Question 41
- Every cloud-native application is characterized by Resiliency, Agility, Operability, and Observability.
Question 42
- CNCF stands for Cloud Native Computing Foundation.
Question 43
- Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters are called namespaces.
Question 44
- The Kubernetes API enables communication between end-users, different parts of the Kubernetes cluster, and external components.
Question 45
- The command "kubectl api-resources" will list the resource types that exist within a cluster.
Question 46
- The Cloud Controller Manager is part of the Kubernetes Control Plane.
Question 47
- The Cloud Controller Manager is part of the Kubernetes Control Plane.
Question 48
- A key feature of a container network is allowing containers running on separate hosts to communicate.
Question 49
- Progress for an updated Deployment/DaemonSets/StatefulSets can be monitored using kubectl rollout status.
Question 50
- The goal of load balancing is to automatically distribute requests across instances of an application.
Question 51
- Deployments manage ReplicaSets and provide declarative updates to Pods.
Question 52
- Pod memory requests, node taints, and Pod affinity influence the Kubernetes scheduler when it places Pods on nodes.
Question 53
- Gauge is the core metric type in Prometheus used to represent a single numerical value that can go up and down.
Question 54
- Labels are the primary mechanism to identify grouped objects in a Kubernetes cluster.
Question 55
- The Kubernetes resource used to expose an application is called a Service.
Question 56
- A DaemonSet ensures a specific set of nodes run a copy of a Pod.
Question 57
- Traces is the telemetry component representing related distributed events encoding the end-to-end request flow.
Question 58
- CRI-O is responsible for running containers in the Kubernetes platform.
Question 59
- Services and Pods in Kubernetes are YAML objects.
Question 60
- Kube-proxy handles network communications inside and outside of a cluster, using OS packet filtering.
Question 61
- Kube-apiserver exposes the programmatic interface used to create, manage, and interact with Kubernetes objects.
Question 62
- Services without selectors require manual creation of Endpoints.
Question 63
- The command "kubectl explain" retrieves documentation and field definitions for a Kubernetes resource
Question 64
- Linkerd is a lightweight tool for managing traffic flow between services, enforcing access policies and aggregate telemetry data.
Question 65
- ConfigMap Kubernetes resource uses immutable: true boolean field.
Question 66
- Pods can communicate with all other Pods without NAT.
Question 67
- Pod is the resource type used to package sets of containers for scheduling in a cluster.
Question 68
- Kubernetes Service can expose multiple ports where you must specify an unambiguous name for each port.
Question 69
- Site Reliability Engineers are typically responsible for defining, testing, and running an incident management process.
Question 70
- Rolling update is the default deployment strategy in Kubernetes.
Question 71
- The command "kubectl explain deployment.spec.replicas" provides information about the field replicas within the spec resource of a deployment object.
Question 72
- Outlining the project's "terms of engagement" is a responsibility of the governance board of an open-source project.
Question 73
- A NetworkPolicy in Kubernetes classifies Pods as isolated and non-isolated.
Question 74
- Network throughput and disk I/O are the most important resources to guarantee the performance of an etcd cluster.
Question 75
- To deploy a workload to Kubernetes without additional tools, create a manifest and apply it with kubectl.
Question 76
- "kubectl exec" is how you perform a command in a running container.
Question 77
- A headless service is created by specifying '.spec.clusterIP: None'
Question 78
- To use dynamic storage provisioning, a user has to include an existing storage class in their PersistentVolumeClaim.
Question 79
- Scheduling, scaling, and manage the health of containers, are tasks performed by a container orchestration tool.
Question 80
- Hybrid cloud a cloud native architecture that uses a combination of services running in different public and private clouds, including on-premises data centers.
Question 81
- A Kubernetes Service Endpoint is an object that gets IP addresses of individual Pods assigned to it.
Question 82
- Cloud Native Architecture is important because it removes constraints to rapid innovation.
Question 83
- A Pod is the smallest deployable unit of computing in Kubernetes.
Question 84
- Answer not provided
Question 85
- Environment variables and DNS are the two primary modes for Service discovery within a Kubernetes cluster.
Question 86
- NET_BIND_SERVICE is an option to add to a container using the Restricted policy.
Question 87
- Methods that can be used to scale a deployment are: kubectl scale deployment and kubectl edit deployment.
Question 88
- Answer not provided
Question 89
- Containerd is the industry-standard container runtime with an emphasis on simplicity, robustness, and portability.
Question 90
- Vertical scaling an application deployment is best described as the act of adding/removing resources to applications to meet demand.
Question 91
- Answer not provided
Question 92
- Serverless computing is a computing method of providing backend services on an as-used basis.
Question 93
- The purpose of the CRI (Container Runtime Interface) is to provide an interface allowing Kubernetes to support pluggable container runtimes.
Question 94
- Answer not provided
Question 95
- Open Container Initiative (OCI) in CNCF develops specifications for industry standards around container formats and runtimes.
Question 96
- v1alpha1, v2beta3, v2 includes valid API versions.
Question 97
- To view the snapshot of previously terminated ruby container logs from Pod web-1, run the following command: kubectl logs -p -c ruby web-1
Question 98
- Service in Kubernetes is an abstraction that defines a logical set of Pods and a policy by which to access them.
Question 99
- Six hosts are required to set up a highly available Kubernetes cluster when using an external etcd topology.
Question 100
- When a new Pod is created and has no assigned node, the kube-scheduler will assign the Pod to a node.
Question 101
- Answer not provided
Question 102
- PersistentVolumeClaim is the resource you use to attach a volume in a Pod.
Question 103
- etcd is the key-value store used to persist Kubernetes cluster data.
Question 104
- Answer not provided
Question 105
- Answer not provided
Question 106
- Answer not provided
Question 107
- Answer not provided
Question 108
- Answer not provided
Question 109
- Answer not provided
Question 110
- Answer not provided
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.