5 Notes For GLOH

You might also like

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

Q1: MySQL does not support auto generating numbers?

a True

b None

c None

d False

e None

f None

Q2: Which command can introduce clock delay??

a None

b suspend

c None

d delay

e wait

f sleep

Q3: If we want to be sure a file will be created if it doesn't exesit with fopen() which mode of
the function are we going ot use:?

a w+

b r+

ca

dx

e x+

f a+

Q4: How can we add comments in PHP??


a None

b # commented code to end of line

c /* commented code here */

d None

e // commented code to end of line

f all of the above

Q5: Which of the following is true for a Persistent Cookie??

a A persistent cookie is a data file capable of providing websites with user


preferences, settings and information for future visits.

b A cookie that is stored on a user's hard drive until the next login

c The next time you visit a particular site which you have already done it will not
recognise you and will treat you as a completely new visitor as long as it hasn't been more
than 2 days

d A persistent cookie is temporary stored in a cookie file on the browser's computer.

e A persistent cookie is permanently stored in a cookie file on the browser's


computer.

f Persistent cookies provide convenient and rapid access to familiar objects, which
enhances the user experience (UX)

Q6: Which filter can be applied on lines of text for arranging in ascending or descending
order??

a collate

b None

c None

d sort

e None of the above

f arrange

Q7: How do you create secrets in Kubernetes??


a kubectl generate secret generic db-user-pass --from-file=./username.txt --from-
file=./password.txt

b kubectl create secret generic db-user-pass --from-file=./username.txt --from-


file=./password.txt

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q8: Which command will you use to list all deployments??

The correct Answer is: None

b kubectl get deploy

The correct Answer is: None

d kubectl get deployments

e kubectl require deployments

The correct Answer is: None

You might also like