KCNA Flashcards
(126 cards)
Which is not a service type in Kubernetes?
A. ClusterIP
B. NodePort
C. Ingress
D. LoadBalancer
E. ExternalName
c. Ingress
What standard does kubelet use to communicate with the container runtime?
A. Service Mesh Interface (SMI)
B. CRI-O
C. ContainerD
D. Container Runtime Interface (CRI)
D. Container Runtime Interface (CRI)
What kind of limitation do cgroups allow? (Select all that apply)
A. Prioritization
B. Resource limiting
C. Accounting
D. None of the options
E. Control
F. Server cpu and memory
A, B, C, E
A. Prioritization
B. Resource limiting
C. Accounting
E. Control
What is the most common way to scale the application in the cloud environment?
A. Parallel Scaling
B. Horizontal Scaling
C. Vertical Scaling
B. Horizontal Scaling
Which of the following is an advantage a cloud-native microservices application has over monolithic
applications?
A. Cloud-native microservices applications tend to be faster and more responsive than monolithic
applications.
B. Cloud-native microservice applications tend to be easier to troubleshoot.
C. Cloud-native microservice applications tend to be easier to scale and perform updates on.
C. Cloud-native microservice applications tend to be easier to scale and perform updates on.
An application that is nearing its usage limit. To increase the amount of users it can handle, you allo-
cate additional memory resources to each instance of the application. What type of scaling is this?
A. Horizontal Scaling
B. Cluster Autoscaling
C. Recursive Scaling
D. Vertical Scaling
D. Vertical Scaling
Which of the following is not the part of Kubernetes Control Plane?
A. kube scheduler
B. etcd (pronounce: esty-d)
C. kube api-server
D. kube-proxy
D. kube-proxy
Which of the following factors does scheduling take into account when selecting a Node?
A. How many replicas there are in a Deployment
B. Services
C. Resource requirements
D. The number of existing Pods on a Node
C. Resource requirements
What is etcd used for in Kubernetes?
A. Integration with cloud platforms
B. Network routing for the cluster
C. Kubernetes API security
D. Backend object storage for the Kubernetes API
D. Backend object storage for the Kubernetes API
What are container runtimes with Kubernetes? (Select all that apply)
A. CRI-O
B. lxd
C. containerd
D. Dockershim
A, C
A. CRI-O
C. containerd
Which Kubernetes resource creates Kubernetes Jobs?
A. JobFactory
B. CronJob
C. Task
D. JobDeployment
B. CronJob
Which of the following are characteristics of Statefulsets?
A. Ordered, graceful deployment and scaling
B. Creates replica sets
C. Uses headless services
A. Ordered, graceful deployment and scaling
What can you use to add new resource types to your cluster?
A. start container
B. CustomResourceDefinitions
C. init container
D. Flux
E. CRI-O
B. CustomResourceDefinitions
What is horizontal scaling?
A. Creating a Deployment
B. Adding resources to existing apps and servers
C. Moving workloads from one server to another
D. Adding additional replicas of apps and servers
D. Adding additional replicas of apps and servers
What kubectl command is used to edit a resource on the server?
A. kubectl resource modify
B. kubectl update resource
C. kubectl edit
D. kubectl resource edit
C. kubectl edit
Which of the following computing model doesn’t require you to provision infrastructure?
A. None of the above
B. Bare Metal
C. Compute Engine
D. Virtual Machines
E. Serverless
E. Serverless
What Kubernetes resource would allow you to run one Pod on some of your Nodes?
A. DaemonSet
B. ClusterSet
C. Deployment
D. ReplicaSet
A. DaemonSet
What cloud-native construct does a kubernetes pod wrap?
A. Container
B. Virtual Machine (VM)
C. side car process
D. Docker image
A. Container
What is the smallest possible unit in Kubernetes to run a container?
A. pod
B. docker
C. service
D. container
A. pod
What command can you use to get documentation about a resource type from the command line?
A. kubectl api-resources
B. kubectl explain
C. kubectl get
D. kubeadm get-resource
B. kubectl explain
Stateful set requires which service for the network identity of pods?
A. Ingress
B. Load Balancer Service
C. Headless Service
C. Headless Service
What Linux feature is used to provide isolation for containers?
A. Processes
B. Services
C. NetworkPolicy
D. Control groups
D. Control groups
What does CNCF stand for?
A. Cloud Native Computing Foundation
B. Cloud Native Cloud Foundation
C. Cloud Native Container Foundation
A. Cloud Native Computing Foundation
Which of the following are not the metrics for Site Reliability Engineering?
A. Service Level Objectives ‘SLO’
B. Service Level Agreements ‘SLA’
C. Service Level Indicators ‘SLI’
D. Service Level Definition ‘SLD’
D. Service Level Definition ‘SLD’