Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

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

Questions 31

Have a pod 'hello' and a container in that pod 'green'. Which of the following commands would get the logs for that container?

Options:
A.

alias k='kubectl'

k logs -p hello -c green

B.

alias k='kubectl'

k logs hello -c green

C.

alias k='kubectl'

k get logs -p hello -c green

D.

alias k='kubectl'

k logs -p hello green

Linux Foundation KCNA Premium Access
Questions 32

Which of the following best describes the way kubernetes Role-based access control (RBAC) works?

Options:
A.

Kubernetes does not do RBAC

B.

Kubernetes RBAC states which users can perform which actions against which re-source

C.

Kubernetes RBAC lists which operations on which resources are denied to users

D.

Kubernetes RBAC is responsible for authenticating subjects such as users and groups

Questions 33

What are default kubernetes namespaces?

Options:
A.

default, kube-public, kube-system, kube-node-lease

B.

kube-default, kube-public, kube-system, kube-node-lease

C.

default, kube-public, kube-systems, kube-node-lease

D.

default, kube-public, kube-system, kube-node-leases

Questions 34

What is the use of labels in Kubernetes?

Options:
A.

All of the options

B.

It is used to assign annotation to an object

C.

It is used to assign key-value pair to an object

D.

It is used to assign a name to an object.

Questions 35

A ________ is a ready-to-run software package, containing everything needed to run an application.

Options:
A.

Container Repository

B.

Container Runtime

C.

Docker

D.

Container Image

Questions 36

Which of the following is not the part of Kubernetes Control Plane?

Options:
A.

kube scheduler

B.

etcd (pronounce: esty-d)

C.

kube api-server

D.

kube-proxy

Questions 37

Which of the following is not a stop on the cloud native trailmap?

Options:
A.

Microservices

B.

CI/CD

C.

Containerization

D.

Software distribution