You are on page 1of 4

Q1: What is the correct way to add 1 to the $count variable??

a count++;

b None

c None

d ++count

e $count =+1

f $count++;

Q2: How to delete a pod in Kubernetes using the type and name specified in pod.json??

a None

b kubectl remove -f ./pod.json

c kubectl remove ./pod.json

d kubectl delete -f ./pod.json

e kubectl delete ./pod.json

f None

Q3: Words ORDER BY in the SQL operator?

a changes the order of output rows

b None

c eliminates all repeated rows from the result set

d None

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

f allows you to combine the results of individual queries across multiple tables into
a single result table

Q4: How many containers can run per host??


a There can be only 4 containers

b There can be as many containers as you wish per host. Docker does not put any
restrictions on it.

The correct Answer is: None

The correct Answer is: None

e There can be only 3containers

The correct Answer is: None

Q5: Which function is used to get the current time in mysql??

a None

b None

c getTime()

d NOW()

e Time()

f None

Q6: What is array_keys() used for??

a None

b Compares array keys, and returns the matches

c Returns all the keys of an array

d Both b and c above

e None

f Checks if the specified key exists in the array

Q7: Which of the following is true about Cookies??

a Cookies are limited to about 4 KB of data . Not enough to store required data.

b None
c None

d Cookies are included with every HTTP request, thereby sending data unencrypted
over the internet.

e Cookies are included with every HTTP request, thereby slowing down your web
application by transmitting the same data.

f All of the above.

Q8: All HTML Tags must be enclosed In??

a # And #

b None

c { And }

d < And >

e None

f ? And !

Q9: When patching resources in Kubernetes, how to partially update a node??

a kubectl patch node k8s-node-1 -p '{"patch":{"unschedulable":true}}'

b kubectl patch node k8s-node-1 -pr '{"spec":{"unschedulable":true}}'

c None

d None

e kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'

f kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":false}}'

Q10: How to check the current disk usage on Linux??

a uptime

b None

c free
d None

e df

f usage

Q11: Which command shows merged kubeconfig settings??

a kubectl config view

b None

c kubectl config print

d kubectl config show

e kubectl config list

f None

You might also like