You are on page 1of 5

Q1: Which of the below symbols is a newline character??

a None

b /r

c \r

d /n

e \n

f None

Q2: Which of the following provides content type of the uploaded file in PHP??

a $_FILES['file']['name']

b $_FILES['file']['size']

c None

d None

e $_FILES['file']['type']

f $_FILES['file']['tmp_name']

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

a $_GET

The correct Answer is: None

c None of the above.

d $GETREQUEST

e $GET

The correct Answer is: None

Q4: What is the correct JavaScript syntax for opening a new window called "w2" ??
a w2 = window.new("http://www.w3schools.com");

b None

c None

d w2 = window.open("http://www.w3schools.com");

e None

f None

Q5: How to protect special characters in a query string??

a None

b None

c urlencode()

d url_encode()

e None

f urlbypass()

Q6: To program additional authentication logic besides available authenticator modules,


_______________ can be used.?

The correct Answer is: None

b OpenID Connect Tokens

The correct Answer is: None

d WebHook Authentication

e Authentication Proxy

f Keystone Password

Q7: Which command can be used to display file contents in octal??

a od

b oshow
c oct

d None

e octal

f None

Q8: How to pull the Apache HTTP server image.?

a $ docker pull httpd

b None

c $ docker pull http img

d None

e None

f $ docker pull httpd img

Q9: If you wish to have something mounted when the server is booted in which file would
you need to add it:?

a /etc/fstab

b /etc/boot

The correct Answer is: None

d /etc/boot.conf

The correct Answer is: None

f /etc/grub.conf

Q10: How to update the container's configurations which shows all the update options.?

a None

b $ docker update help

c $ docker update -help

d None
e None

f $ docker update --help

Q11: How to list all pods that are either labelled with env=development or with
env=production?

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

d $ kubectl get pods 'env in (production, development)'

e $ kubectl get pods -l 'env in (production, development)'

The correct Answer is: None

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

a getSource()

b getCode()

c getLine()

d getMessage()

e getFile()

The correct Answer is: None

Q13: Choose the correct HTML tag for the smallest size heading??

a <heading>

b <h6>

c <head>

d None

e <h1>

f None
Q14: Which artisan command would you use to create a new Laravel Model??

a None

b php artisan model create ModelName

c php artisan make:model ModelName

d php artisan create:model ModelName

e php artisan model:make ModelName

f None

Q15: In which variable is the users IP address stored??

a $DOMAIN

b $GLOBALS

c $_ENV

d None

e None

f $REMOTE_ADDR

You might also like