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

Linux Foundation KCNA - Kubernetes and Cloud Native Associate

Page: 7 / 8
Total 239 questions

Which of the following is a challenge derived from running cloud native applications?

A.

The operational costs of maintaining the data center of the company.

B.

Cost optimization is complex to maintain across different public cloud environments.

C.

The lack of different container images available in public image repositories.

D.

The lack of services provided by the most common public clouds.

What default level of protection is applied to the data in Secrets in the Kubernetes API?

A.

The values use AES symmetric encryption

B.

The values are stored in plain text

C.

The values are encoded with SHA256 hashes

D.

The values are base64 encoded

What element allows Kubernetes to run Pods across the fleet of nodes?

A.

The node server.

B.

The etcd static pods.

C.

The API server.

D.

The kubelet.

What is the goal of load balancing?

A.

Automatically measure request performance across instances of an application.

B.

Automatically distribute requests across different versions of an application.

C.

Automatically distribute instances of an application across the cluster.

D.

Automatically distribute requests across instances of an application.

Which Kubernetes Service type exposes a service only within the cluster?

A.

ClusterIP

B.

NodePort

C.

LoadBalancer

D.

ExternalName

What is the primary purpose of a Horizontal Pod Autoscaler (HPA) in Kubernetes?

A.

To automatically scale the number of Pod replicas based on resource utilization.

B.

To track performance metrics and report health status for nodes and Pods.

C.

To coordinate rolling updates of Pods when deploying new application versions.

D.

To allocate and manage persistent volumes required by stateful applications.

Which of the following sentences is true about container runtimes in Kubernetes?

A.

If you let iptables see bridged traffic, you don't need a container runtime.

B.

If you enable IPv4 forwarding, you don't need a container runtime.

C.

Container runtimes are deprecated, you must install CRI on each node.

D.

You must install a container runtime on each node to run pods on it.

How are ReplicaSets and Deployments related?

A.

Deployments manage ReplicaSets and provide declarative updates to Pods.

B.

ReplicaSets manage stateful applications, Deployments manage stateless applications.

C.

Deployments are runtime instances of ReplicaSets.

D.

ReplicaSets are subsets of Jobs and CronJobs which use imperative Deployments.

What is a key feature of a container network?

A.

Proxying REST requests across a set of containers.

B.

Allowing containers running on separate hosts to communicate.

C.

Allowing containers on the same host to communicate.

D.

Caching remote disk access.

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