New Year Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Linux Foundation KCNA Practice Exam with Questions & Answers | Set: 5

Questions 41

Which of the following is a feature Kubernetes provides by default as a container orchestration tool?

Options:
A.

A portable operating system.

B.

File system redundancy.

C.

A container image registry.

D.

Automated rollouts and rollbacks.

Linux Foundation KCNA Premium Access
Questions 42

What feature must a CNI support to control specific traffic flows for workloads running in Kubernetes?

Options:
A.

Border Gateway Protocol

B.

IP Address Management

C.

Pod Security Policy

D.

Network Policies

Questions 43

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

Options:
A.

Port

B.

Service

C.

DNS

D.

Deployment

Questions 44

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

Options:
A.

Open Container Initiative (OCI)

B.

Linux Foundation Certification Group (LFCG)

C.

Container Network Interface (CNI)

D.

Container Runtime Interface (CRI)

Questions 45

Which is the correct kubectl command to display logs in real time?

Options:
A.

kubectl logs -p test-container-1

B.

kubectl logs -c test-container-1

C.

kubectl logs -l test-container-1

D.

kubectl logs -f test-container-1

Questions 46

What is the difference between a Deployment and a ReplicaSet?

Options:
A.

With a Deployment, you can’t control the number of pod replicas.

B.

A ReplicaSet does not guarantee a stable set of replica pods running.

C.

A Deployment is basically the same as a ReplicaSet with annotations.

D.

A Deployment is a higher-level concept that manages ReplicaSets.

Questions 47

Which of the following characteristics is associated with container orchestration?

Options:
A.

Application message distribution

B.

Dynamic scheduling

C.

Deploying application JAR files

D.

Virtual machine distribution

Questions 48

Which Kubernetes resource workload ensures that all (or some) nodes run a copy of a Pod?

Options:
A.

DaemonSet

B.

StatefulSet

C.

kubectl

D.

Deployment

Questions 49

What is a best practice to minimize the container image size?

Options:
A.

Use a DockerFile.

B.

Use multistage builds.

C.

Build images with different tags.

D.

Add a build.sh script.

Questions 50

What happens with a regular Pod running in Kubernetes when a node fails?

Options:
A.

A new Pod with the same UID is scheduled to another node after a while.

B.

A new, near-identical Pod but with different UID is scheduled to another node.

C.

By default, a Pod can only be scheduled to the same node when the node fails.

D.

A new Pod is scheduled on a different node only if it is configured explicitly.