0% found this document useful (0 votes)
9 views5 pages

4_Week_for_GPMK

The document contains a series of multiple-choice questions related to MySQL, WordPress, PHP, Kubernetes, and Linux commands. Each question presents several options, with some questions indicating the correct answer. The topics covered include data handling, views in MySQL, object passing in WordPress, exception handling, remote login tools, and Kubernetes metrics.

Uploaded by

Melanie Ma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

4_Week_for_GPMK

The document contains a series of multiple-choice questions related to MySQL, WordPress, PHP, Kubernetes, and Linux commands. Each question presents several options, with some questions indicating the correct answer. The topics covered include data handling, views in MySQL, object passing in WordPress, exception handling, remote login tools, and Kubernetes metrics.

Uploaded by

Melanie Ma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1: The main MySQL program that does all the data handling is called?

a Mysql

b None

c Httpd

d Mysql.exe

e None

f Mysqld

Q2: What Is a MySQL View??

a VIEWS are static tables that store data but the data can't be changed

b VIEWS are temporary tables that store data which store data only for a certain
amount of time

c None

d VIEWS are no different that any other tables except they are used for faster
loading.

e VIEWS are virtual tables that do not store any data of their own but display data
stored in other tables.

f None

Q3: In WordPress, objects are passed by value or by reference.?

a None

b None

c None

d None

e In WordPress, all objects are passed by reference.

f In WordPress, all objects are passed by value.


Q4: Which of the following method of Exception class returns source line??

a getSource()

The correct Answer is: None

c getLine()

d getMessage()

e getCode()

f getFile()

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

a True

b False

c None

d None

e None

f None

Q6: Which Element Represents A Control For Generating A Public-private Key Pair??

a None

b Command

c Ins

d Keygen

e None

f Key

Q7: Which is the best tool to use for logging in remotely??


a None

b telnet

c login

d None

e ssh

f rsh

Q8: 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 kubectl status pod POD_NAME --containers

e kubectl resources pod POD_NAME --containers

f None

Q9: The if statement is used to execute some code only if a specified condition is true?

a False

b None

c True

d None

e None

f None

Q10: Which of the following is used to get information sent via get method in PHP??

a $GET

The correct Answer is: None


c $GETREQUEST

The correct Answer is: None

e None of the above.

f $_GET

Q11: An abstraction in kubernetes which defines a logical set of pods and a policy to access
them.?

a node

b service

c cluster

d set

e None

f None

Q12: What does the include() function does??

a The include() function takes specified strings and includes them into another
string. This is used when we want to concatenate different strings.

The correct Answer is: None

The correct Answer is: None

d The include() function takes all the text in a specified file and copies it into the file
that uses the include function

e The include() function takes the included file and makes sure it's executed before
the file the function is used into

The correct Answer is: None

Q13: Which of the following answers refers to a Linux command-line command used for
configuring network interface parameters specific to the wireless communication??

a None
b net config

c None

d ifconfig

e iwconfig

f networksetup

Q14: Kubernetes helps in the effective distribution of resources by allocating the resources
that are used by a particular application?

The correct Answer is: None

The correct Answer is: None

c True

d False

The correct Answer is: None

The correct Answer is: None

Q15: Which of the following attribute is used to group elements??

a None

b item

c itemprop

d itemcheck

e itemgroup

f None

You might also like