You are on page 1of 5

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

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


TERMINATED BY 'n'

b None

c None of the above

d None

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

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

Q2: Which of the following is correct about geolocation api in HTML5??

a Today most of the browsers and mobile devices support Geolocation API.

b HTML5 Geolocation API lets you share your location with your favorite web sites.

c A Javascript can capture your latitude and longitude and can be sent to backend
web server and do fancy location-aware things like finding local businesses or showing your
location on a map.

d All of these

e None

f None

Q3: Which program copies databases from one server to another??

a Mysqldbmove

b Mysqldbcopy

c Mysqldbflush

d Mysqlflushdb

e Mysqlmovedb

f Mysqlcopydb
Q4: In Linux, the priority of a running process can be changed using which command??

a passwd

b priority

c renice

d None

e ps -A

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

The correct Answer is: None

The correct Answer is: None

e To control nodes

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

Q6: How can PHP and Javascript interact??

a They interact via the browser

b They interact through services such as Apache or Nginx

c None

d PHP and Javascript cannot directly interact since PHP is a server side language and
Javascript is a client-side language.

e None

f None

Q7: MySQL runs on which Operating Systems??


a Unix And Linux Only

b None

c Linux And Mac OS-X Only

d Unix, Linux, Windows,Mac And Others

e Windows only

f None

Q8: What kind of replication is supported by the MySQL Server??

a Master To Slave Replication

b Single File Based Clustering

c None

d Master to Master Replication

e Multiple-master Replication

f MySQL Doesn't Support Replication

Q9: Which function is used to Strip whitespace (or other characters) from the beginning and
end of a string??

a strip_str

b strip

c None

d trim

e trim_str

f None

Q10: Which query will return values containing strings "apple", "banana" or "orange" in the
database??

a None
b SELECT * FROM table WHERE field REGEXP ‘apple|banana|orange’;

c SELECT * FROM table WHERE field = ‘?apple?’ OR field = ‘?banana?’ OR field = ‘?


orange?’;

d None

e SELECT * FROM table WHERE field = ‘%apple%’ OR field = ‘%banana%’ OR field =


‘%orange%’;

f SELECT * FROM table WHERE field LIKE ‘%apple%’ OR field LIKE ‘%banana%’ OR
field LIKE ‘%orange%’;

Q11: Which command is used to create a Kubernetes service??

a kubectl create service

b None

c kubectl deploy service

d kubectl set service

e None

f kubectl expose

Q12: Can you run several versions of PHP at the same time??

a None

b None

c None

d False

e True

f None

Q13: Following Docker command: eval $(docker-machine env default) is used to:?

a Commit changes done in a Docker image


b None

c Access a running container

d None

e Build an image

f Activate default VM machine

Q14: What is the default DATE field type format??

a DD-MM-YYYY

b MMDDYYYY

c YYYY-MM-DD

d None

e MM-DD-YY

f YYYY-DD-MM

Q15: Who is known as the father of PHP??

a None

b Rasmus Lerdorf

c List Barely

d Willam Makepiece

e None

f Drek Kolkevi

You might also like