You are on page 1of 5

Q1: How to show metrics for a given pod and its containers in Kubernetes??

a kubectl top pod POD_NAME --containers

b None

c kubectl top POD_NAME --containers

d None

e kubectl status pod POD_NAME --containers

f kubectl resources pod POD_NAME --containers

Q2: How do we access the value of 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );?

a $a[4]

b $a[0]

c $a[2]

d $a[3]

e None

f $a[1]

Q3: Which command can be used to know the terminal type??

a tty

b who

c terminal

The correct Answer is: None

e pts

The correct Answer is: None

Q4: What is the correct HTML element for playing video files??
a <media>

b None

c None

d <video>

e <movie>

f <type="video">

Q5: Docker containers can run on:?

a Linux distributions and Windows systems

b None

c Only Windows systems

d Only Linux distributions

e None

f None

Q6: What is the correct way to create a function in PHP??

a create new_function myFunction()

b new_function myFunction()

c function myFunction()

d None

e create myFunction()

f None

Q7: When looking for all the processes running on a Linux system, what command should
you use??

a xrun

b None
c ps

d service

e None

f oterm

Q8: Which of the following provides content type of the uploaded file in PHP??

a None

b None

c $_FILES['file']['name']

d $_FILES['file']['type']

e $_FILES['file']['tmp_name']

f $_FILES['file']['size']

Q9: Which command can be used to rename a file/directory??

a cp

b mv

c rename

The correct Answer is: None

e rm

The correct Answer is: None

Q10: Which of the following are Kubernetes Objects??

The correct Answer is: None

The correct Answer is: None

c Kubernetes objects are Pod, Service and Volume.

The correct Answer is: None


The correct Answer is: None

f Kubernetes objects are Host, Auth and Cluster.

Q11: What is a filter hook??

a None

b None

c A Filter hook in WordPress allows you get and modify WordPress data before it is
sent to the database or the browser.

d A Filter hook in WordPress allows you get and truncate WordPress data before it
is sent to the database or the browser.

e None

f None

Q12: Which Is not a property of attribute behaviour of <Marquee> Tag??

a Slide

b None

c Blur

d Alternate

e None

f Scroll

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

a None

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

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

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

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


f None

Q14: What will be the output of the following query INSERT INTO students (student name)
VALUE ('James Lenon');?

a a student record with the name James Lenon will be added into the students table

b None

c None

d None

e None

f the above query will generate an error message.

You might also like