New Year Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Linux Foundation > Kubernetes and Cloud Native > KCNA

KCNA Kubernetes and Cloud Native Associate Question and Answers

Question # 4

What are the advantages of adopting a GitOps approach for your deployments?

A.

Reduce failed deployments, operational costs, and fragile release processes.

B.

Reduce failed deployments, configuration drift, and fragile release processes.

C.

Reduce failed deployments, operational costs, and learn git.

D.

Reduce failed deployments, configuration drift and improve your reputation.

Full Access
Question # 5

What do Deployments and StatefulSets have in common?

A.

They manage Pods that are based on an identical container spec.

B.

They support the OnDelete update strategy.

C.

They support an ordered, graceful deployment and scaling.

D.

They maintain a sticky identity for each of their Pods.

Full Access
Question # 6

Which of these events will cause the kube-scheduler to assign a Pod to a node?

A.

When the Pod crashes because of an error.

B.

When a new node is added to the Kubernetes cluster.

C.

When the CPU load on the node becomes too high.

D.

When a new Pod is created and has no assigned node.

Full Access
Question # 7

What is the main purpose of a DaemonSet?

A.

A DaemonSet ensures that all (or certain) nodes run a copy of a Pod.

B.

A DaemonSet ensures that the kubelet is constantly up and running.

C.

A DaemonSet ensures that there are as many pods running as specified in the replicas field.

D.

A DaemonSet ensures that a process (agent) runs on every node.

Full Access
Question # 8

What is the name of the Kubernetes resource used to expose an application?

A.

Port

B.

Service

C.

DNS

D.

Deployment

Full Access
Question # 9

Which of the following is a correct definition of a Helm chart?

A.

A Helm chart is a collection of YAML files bundled in a tar.gz file and can be applied without decompressing it.

B.

A Helm chart is a collection of JSON files and contains all the resource definitions to run an application on Kubernetes.

C.

A Helm chart is a collection of YAML files that can be applied on Kubernetes by using the kubectl tool.

D.

A Helm chart is similar to a package and contains all the resource definitions to run an application on Kubernetes.

Full Access
Question # 10

At which layer would distributed tracing be implemented in a cloud native deployment?

A.

Network

B.

Application

C.

Database

D.

Infrastructure

Full Access
Question # 11

In the Kubernetes platform, which component is responsible for running containers?

A.

etcd

B.

CRI-O

C.

cloud-controller-manager

D.

kube-controller-manager

Full Access
Question # 12

Which of the following is a definition of Hybrid Cloud?

A.

A combination of services running in public and private data centers, only including data centers from the same cloud provider.

B.

A cloud native architecture that uses services running in public clouds, excluding data centers in different availability zones.

C.

A cloud native architecture that uses services running in different public and private clouds, including on-premises data centers.

D.

A combination of services running in public and private data centers, excluding serverless functions.

Full Access
Question # 13

Which of the following will view the snapshot of previously terminated ruby container logs from Pod web-1?

A.

kubectl logs -p -c ruby web-1

B.

kubectl logs -c ruby web-1

C.

kubectl logs -p ruby web-1

D.

kubectl logs -p -c web-1 ruby

Full Access
Question # 14

What is the main purpose of etcd in Kubernetes?

A.

etcd stores all cluster data in a key value store.

B.

etcd stores the containers running in the cluster for disaster recovery.

C.

etcd stores copies of the Kubernetes config files that live /etc/.

D.

etcd stores the YAML definitions for all the cluster components.

Full Access
Question # 15

Why do administrators need a container orchestration tool?

A.

To manage the lifecycle of an elevated number of containers.

B.

To assess the security risks of the container images used in production.

C.

To learn how to transform monolithic applications into microservices.

D.

Container orchestration tools such as Kubernetes are the future.

Full Access
Question # 16

What is the order of 4C’s in Cloud Native Security, starting with the layer that a user has the most control over?

A.

Cloud -> Container -> Cluster -> Code

B.

Container -> Cluster -> Code -> Cloud

C.

Cluster -> Container -> Code -> Cloud

D.

Code -> Container -> Cluster -> Cloud

Full Access
Question # 17

Which storage operator in Kubernetes can help the system to self-scale, self-heal, etc?

A.

Rook

B.

Kubernetes

C.

Helm

D.

Container Storage Interface (CSI)

Full Access
Question # 18

The IPv4/IPv6 dual stack in Kubernetes:

A.

Translates an IPv4 request from a Service to an IPv6 Service.

B.

Allows you to access the IPv4 address by using the IPv6 address.

C.

Requires NetworkPolicies to prevent Services from mixing requests.

D.

Allows you to create IPv4 and IPv6 dual stack Services.

Full Access
Question # 19

What methods can you use to scale a Deployment?

A.

With kubectl edit deployment exclusively.

B.

With kubectl scale-up deployment exclusively.

C.

With kubectl scale deployment and kubectl edit deployment.

D.

With kubectl scale deployment exclusively.

Full Access
Question # 20

A Kubernetes _____ is an abstraction that defines a logical set of Pods and a policy by which to access them.

A.

Selector

B.

Controller

C.

Service

D.

Job

Full Access
Question # 21

In which framework do the developers no longer have to deal with capacity, deployments, scaling and fault tolerance, and OS?

A.

DockerSwarm

B.

Kubernetes

C.

Mesos

D.

Serverless

Full Access
Question # 22

What is Serverless computing?

A.

A computing method of providing backend services on an as-used basis.

B.

A computing method of providing services for AI and ML operating systems.

C.

A computing method of providing services for quantum computing operating systems.

D.

A computing method of providing services for cloud computing operating systems.

Full Access
Question # 23

How do you deploy a workload to Kubernetes without additional tools?

A.

Create a Bash script and run it on a worker node.

B.

Create a Helm Chart and install it with helm.

C.

Create a manifest and apply it with kubectl.

D.

Create a Python script and run it with kubectl.

Full Access
Question # 24

What Kubernetes component handles network communications inside and outside of a cluster, using operating system packet filtering if available?

A.

kube-proxy

B.

kubelet

C.

etcd

D.

kube-controller-manager

Full Access
Question # 25

In CNCF, who develops specifications for industry standards around container formats and runtimes?

A.

Open Container Initiative (OCI)

B.

Linux Foundation Certification Group (LFCG)

C.

Container Network Interface (CNI)

D.

Container Runtime Interface (CRI)

Full Access
Question # 26

What is a cloud native application?

A.

It is a monolithic application that has been containerized and is running now on the cloud.

B.

It is an application designed to be scalable and take advantage of services running on the cloud.

C.

It is an application designed to run all its functions in separate containers.

D.

It is any application that runs in a cloud provider and uses its services.

Full Access
Question # 27

How long should a stable API element in Kubernetes be supported (at minimum) after deprecation?

A.

9 months

B.

24 months

C.

12 months

D.

6 months

Full Access
Question # 28

What kubectl command is used to retrieve the resource consumption (CPU and memory) for nodes or Pods?

A.

kubectl cluster-info

B.

kubectl version

C.

kubectl top

D.

kubectl api-resources

Full Access
Question # 29

What is the default eviction timeout when the Ready condition of a node is Unknown or False?

A.

Thirty seconds.

B.

Thirty minutes.

C.

One minute.

D.

Five minutes.

Full Access
Question # 30

What's the most adopted way of conflict resolution and decision-making for the open-source projects under the CNCF umbrella?

A.

Financial Analysis

B.

Discussion and Voting

C.

Flipism Technique

D.

Project Founder Say

Full Access
Question # 31

What is a Kubernetes Service Endpoint?

A.

It is the API endpoint of our Kubernetes cluster.

B.

It is a name of special Pod in kube-system namespace.

C.

It is an IP address that we can access from the Internet.

D.

It is an object that gets IP addresses of individual Pods assigned to it.

Full Access
Question # 32

CI/CD stands for:

A.

Continuous Information / Continuous Development

B.

Continuous Integration / Continuous Development

C.

Cloud Integration / Cloud Development

D.

Continuous Integration / Continuous Deployment

Full Access
Question # 33

What is the main role of the Kubernetes DNS within a cluster?

A.

Acts as a DNS server for virtual machines that are running outside the cluster.

B.

Provides a DNS as a Service, allowing users to create zones and registries for domains that they own.

C.

Allows Pods running in dual stack to convert IPv6 calls into IPv4 calls.

D.

Provides consistent DNS names for Pods and Services for workloads that need to communicate with each other.

Full Access
Question # 34

In the DevOps framework and culture, who builds, automates, and offers continuous delivery tools for developer teams?

A.

Application Users

B.

Application Developers

C.

Platform Engineers

D.

Cluster Operators

Full Access
Question # 35

Imagine there is a requirement to run a database backup every day. Which Kubernetes resource could be used to achieve that?

A.

kube-scheduler

B.

CronJob

C.

Task

D.

Job

Full Access
Question # 36

What is the main purpose of the Ingress in Kubernetes?

A.

Access HTTP and HTTPS services running in the cluster based on their IP address.

B.

Access services different from HTTP or HTTPS running in the cluster based on their IP address.

C.

Access services different from HTTP or HTTPS running in the cluster based on their path.

D.

Access HTTP and HTTPS services running in the cluster based on their path.

Full Access
Question # 37

What is ephemeral storage?

A.

Storage space that need not persist across restarts.

B.

Storage that may grow dynamically.

C.

Storage used by multiple consumers (e.g., multiple Pods).

D.

Storage that is always provisioned locally.

Full Access
Question # 38

Which control plane component is responsible for updating the node Ready condition if a node becomes unreachable?

A.

The kube-proxy

B.

The node controller

C.

The kubectl

D.

The kube-apiserver

Full Access
Question # 39

What is the main purpose of the Open Container Initiative (OCI)?

A.

Accelerating the adoption of containers and Kubernetes in the industry.

B.

Creating open industry standards around container formats and runtimes.

C.

Creating industry standards around container formats and runtimes for private purposes.

D.

Improving the security of standards around container formats and runtimes.

Full Access
Question # 40

What is the default value for authorization-mode in Kubernetes API server?

A.

--authorization-mode=RBAC

B.

--authorization-mode=AlwaysAllow

C.

--authorization-mode=AlwaysDeny

D.

--authorization-mode=ABAC

Full Access
Question # 41

What is the Kubernetes object used for running a recurring workload?

A.

Job

B.

Batch

C.

DaemonSet

D.

CronJob

Full Access
Question # 42

What are the 3 pillars of Observability?

A.

Metrics, Logs, and Traces

B.

Metrics, Logs, and Spans

C.

Metrics, Data, and Traces

D.

Resources, Logs, and Tracing

Full Access
Question # 43

Which of the following is a valid PromQL query?

A.

SELECT * from http_requests_total WHERE job=apiserver

B.

http_requests_total WHERE (job="apiserver")

C.

SELECT * from http_requests_total

D.

http_requests_total(job="apiserver")

Full Access
Question # 44

If a Pod was waiting for container images to download on the scheduled node, what state would it be in?

A.

Failed

B.

Succeeded

C.

Unknown

D.

Pending

Full Access
Question # 45

Which of the following is the correct command to run an nginx deployment with 2 replicas?

A.

kubectl run deploy nginx --image=nginx --replicas=2

B.

kubectl create deploy nginx --image=nginx --replicas=2

C.

kubectl create nginx deployment --image=nginx --replicas=2

D.

kubectl create deploy nginx --image=nginx --count=2

Full Access
Question # 46

Which Kubernetes-native deployment strategy supports zero-downtime updates of a workload?

A.

Canary

B.

Recreate

C.

BlueGreen

D.

RollingUpdate

Full Access
Question # 47

Which of the following would fall under the responsibilities of an SRE?

A.

Developing a new application feature.

B.

Creating a monitoring baseline for an application.

C.

Submitting a budget for running an application in a cloud.

D.

Writing policy on how to submit a code change.

Full Access
Question # 48

Which one of the following is an open source runtime security tool?

A.

lxd

B.

containerd

C.

falco

D.

gVisor

Full Access
Question # 49

What function does kube-proxy provide to a cluster?

A.

Implementing the Ingress resource type for application traffic.

B.

Forwarding data to the correct endpoints for Services.

C.

Managing data egress from the cluster nodes to the network.

D.

Managing access to the Kubernetes API.

Full Access
Question # 50

What does vertical scaling an application deployment describe best?

A.

Adding/removing applications to meet demand.

B.

Adding/removing node instances to the cluster to meet demand.

C.

Adding/removing resources to applications to meet demand.

D.

Adding/removing application instances of the same application to meet demand.

Full Access
Question # 51

Which Prometheus metric represents a single value that can go up and down?

A.

Counter

B.

Gauge

C.

Summary

D.

Histogram

Full Access
Question # 52

How do you perform a command in a running container of a Pod?

A.

kubectl exec --

B.

docker exec

C.

kubectl run --

D.

kubectl attach -i

Full Access
Question # 53

Which API object is the recommended way to run a scalable, stateless application on your cluster?

A.

ReplicaSet

B.

Deployment

C.

DaemonSet

D.

Pod

Full Access
Question # 54

How can you monitor the progress for an updated Deployment/DaemonSets/StatefulSets?

A.

kubectl rollout watch

B.

kubectl rollout progress

C.

kubectl rollout state

D.

kubectl rollout status

Full Access
Question # 55

What is Flux constructed with?

A.

GitLab Environment Toolkit

B.

GitOps Toolkit

C.

Helm Toolkit

D.

GitHub Actions Toolkit

Full Access
Question # 56

Which of the following options include resources cleaned by the Kubernetes garbage collection mechanism?

A.

Stale or expired CertificateSigningRequests (CSRs) and old deployments.

B.

Nodes deleted by a cloud controller manager and obsolete logs from the kubelet.

C.

Unused container and container images, and obsolete logs from the kubelet.

D.

Terminated pods, completed jobs, and objects without owner references.

Full Access
Question # 57

What is an ephemeral container?

A.

A specialized container that runs as root for infosec applications.

B.

A specialized container that runs temporarily in an existing Pod.

C.

A specialized container that extends and enhances the main container in a Pod.

D.

A specialized container that runs before the app container in a Pod.

Full Access
Question # 58

What is CRD?

A.

Custom Resource Definition

B.

Custom Restricted Definition

C.

Customized RUST Definition

D.

Custom RUST Definition

Full Access
Question # 59

What does CNCF stand for?

A.

Cloud Native Community Foundation

B.

Cloud Native Computing Foundation

C.

Cloud Neutral Computing Foundation

D.

Cloud Neutral Community Foundation

Full Access