You are on page 1of 3

Q1: How do you create an array in PHP??

a None

b $cars = "Volvo", "BMW", "Toyota";

c None

d $cars = newarray("Volvo", "BMW", "Toyota");

e $cars = array("Volvo", "BMW", "Toyota");

f $cars = array["Volvo", "BMW", "Toyota"];

Q2: The employees table has 20 records, what will be the output of the query SELECT
gender FROM employees GROUP BY gender;?

a None

b the query will return two rows only

c None

d the query will not return any records

e the query will return 20 records

f the query will generate an error message

Q3: Which of the following is not a services in Kubernetes??

a Load Balancer

b Container Proxy

c Cluster IP

d Node port

e External name

The correct Answer is: None

Q4: What is the default working directory of the Linux administrator user??
a Doesn't have one

b /home/root

c /usr/admin

d /administrator

e /admin

f /root

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

a The function func_num_args() is used to give the number of parameters passed


into a function.

b The function func_num_args() is used to give the boolean r of parameters passed


into a function.

c None

d None

e None

f The function func_num_args() is used to give the string of parameters passed into a
function.

Q6: How to get detailed information about docker installed on the system including the
kernel version, number of containers and images, etc.?

The correct Answer is: None

b $ docker --info

c $ docker information

The correct Answer is: None

The correct Answer is: None

f $ docker info

Q7: #!/bin/bash is commonly called as?


a None

b hashbang

c shebang

d Script Initialiser

e None

f None of the Above

Q8: What are Docker Images??

a Docker image is the source of Docker system.

b Docker image is the source of Docker virtualization.

c Docker image is the source of Docker container.

d None

e None

f None

You might also like