Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Q1: Which of the following is a valid Kubernetes configuration?

Select those answers that


apply.?

a External etcd Cluster, Single Master and Multi-Worker Nodes

The correct Answer is: None

c External etcd Cluster, Multi-Master and Multi-Worker Nodes

d Single Master (with etcd) and Multi-Worker Nodes

e Kubernetes Swarm

f All-in-One Kubernetes Installation

Q2: What does the WHERE SQL operator does:?

a restricts the set of rows to the selection of those records for which the condition is
true

b changes the order of output rows

c converts the value of a column or function to a different type

d eliminates all row repeats from the result set

e None

f None

Q3: What is the difference between mysqli_fetch_object() and mysqli_fetch_array()??

a None

b None

c The mysqli_fetch_object() function collects the first single matching record where
mysqli_fetch_array() collects all matching records from the table in an array.

d The mysqli_fetch_object() function collects all matching records from the table in
an array where mysqli_fetch_array() collects the first single matching record

e None

f None
Q4: The -b flag in an Ansible ad-hoc command indicates that the command should be
executed with sudo privileges.?

a true

b false

c None

d None

e None

f None

Q5: How can you find the status of a Docker container??

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

d The command “docker ps -p” is used for identifying the status of a Docker
container.

e The command “docker ps -a” is used for identifying the status of a Docker
container.

f The command “docker ps status” is used for identifying the status of a Docker
container.

Q6: How to stream pod logs (stdout) in Kubernetes??

a kubectl stream -f my-pod

b kubectl logs my-pod

c kubectl logs -f my-pod

d kubectl pod -f my-pod

e None

f None
Q7: In which file, can we permanently change the SWAP priority?

a /etc/fstab

b /etc/boot.conf

The correct Answer is: None

The correct Answer is: None

e /etc/swappriority

f /etc/prswap

You might also like