You are on page 1of 5

Q1: Which of the following is not a valid logical operator??

a&

b AND

c &&

d None

e NOT

f!

Q2: Which of the following is a valid aggregate function?

a None

b MAXIMUM

c COUNT

d CURDATE()

e AVERAGE

f None

Q3: Where is WordPress content stored??

a WordPress stores it's content in a MySQL database on the server.

b None

c WordPress stores it's content in the wp-content folder

d None

e WordPress stores it's content in a MySQL database on the server.

f None

Q4: Which command will delete a table called 'test':?


a DROP test

b DROP TABLE test

c DELETE test WHERE Confirm = "YES"

d DROP test WHERE Confirm = "YES"

e None

f None

Q5: What is the mission of the control plane in Kubernetes??

a To move workloads from one host to another

b To manage clusters of pods

c To control nodes

The correct Answer is: None

e It makes sure that the actual state of system objects match the desired state.

The correct Answer is: None

Q6: How to dump the whole MySQL database to a file??

a mysql -e "select * from table" database > dumpfile.txt

b None of the above

c SELECT * from table FIELDS TERMINATED BY ',' ENCLOSED BY "" LINES


TERMINATED BY 'n'

d mysql -e "select * from table" -u user -pxxxxxxx database > dumpfile.txt

e None

f None

Q7: Which of the following is the best way to modify a table to allow null values??

a ALTER TABLE table CHANGE column column type DEFAULT NULL

b ALTER TABLE table MODIFY column varchar(255) null


c ALTER table MODIFY column varchar(255) null

d None of the above

e ALTER TABLE table MODIFY column VARCHAR(255)

f None

Q8: Containers running on a single machine all share the same operating system kernel.?

a False

b None

c None

d None

e None

f True

Q9: What is a Child Theme??

a None

b The child theme is an extension of the parent theme

c None

d The child theme is an extension of the super parent theme

e The child theme is an extension of the sub-child theme

f None

Q10: How to delete all pods in Kubernetes matching the awk pattern1 or pattern2??

a kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print


$1}' | xargs kubectl remove -n myns pod

b None

c kubectl get pods -n myns --no-headers=true | awk '/pattern1|pattern2/{print $1}'


| xargs kubectl delete -n myns pod
d kubectl get nodes -n myns --no-headers=true | awk '/pattern1|pattern2/{print
$1}' | xargs kubectl delete -n myns pod

e None

f kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print


$1}' | xargs kubectl delete -n myns pod

Q11: How do you declare a JavaScript variable??

a variable carName;

b None

c v carName;

d None

e var carName;

f None

Q12: What is the function of labels??

a To classify functions

b To assign functions to pods

The correct Answer is: None

d To be ignored by millennials

e To tag containers and link them together in groups

The correct Answer is: None

Q13: The syntax for adding a new column to an existing table is ALTER TABLE `table_name`
ADD COLUMN `column_name` `data_type`;?

a None

b True

c None
d False

e None

f None

Q14: What is the correct syntax of the usermeta function in Wordpress??

a get_user_meta( int $user_id, string $key = '', bool $single = false )

b None

c get_user( int $user_id, string $key = '', bool $single = true )

d get_user_meta( int $user_id, string $key = '', bool $single = true )

e None

f None

Q15: What is the recommended number of manager nodes in Docker Swarm??

a None

b None

c 3 or 5 managers

d As many as possible

e 1 manager

f 0 managers

You might also like