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

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

a $a[0]

b $a[4]

c $a[2]

d $a[1]

e None

f $a[3]

Q2: How can we check if the value of a given variable is alphanumeric??

a None

b None

c None

d gtype_alnum to check whether it is an alphanumeric value or not.

e ctype_alnum to check whether it is an alphanumeric value or not.

f dtype_alnum to check whether it is an alphanumeric value or not.

Q3: The kube-apiserver on Kubernetes master is designed to scale:?

a None

b None

c Vertically

d None

e kube-apiserver is not used for scaling

f Horizontally

Q4: Which function in PHP is used to get the length of a string variable??
a len

b strcount

c None

d None

e strlen

f count()

Q5: What is the strpos() function used for??

a Find the last character of a string

b Locate position of a string’s first character

c Search for character within a string

d None

e None

f Both b and c

Q6: What is Docker Machine??

a Docker machine is a tool that lets you install Docker Engine on virtual hosts

b None

c None

d Docker machine is a tool that lets you install Docker files on virtual hosts

e None

f None

Q7: What is the use of SQL??

a Storing data in database

b None
c Managing queries

d Manipulating data in database

e Displaying images

f Retrieving data in database

Q8: How to delete an image from the local storage system??

a $ docker rmi <image-id>

b None

c None

d $ docker --rmi <image-id>

e $ docker rmin <imageid>

f None

You might also like