You are on page 1of 5

Q1: What command, followed by the directory name is used to access that specific

directory??

a cd

b acs

c None

d cp

e None

f access

Q2: In Kubernetes how to create a service for a replicated Nginx, which serves on port 80
and connects to the containers on port 8000??

a kubectl expose rc nginx --port=80 --target-port=8000

b kubectl rc nginx --port=80 --target-port=8000

c None

d kubectl expose rc nginx --port=8080 --target-port=80

e kubectl expose nginx --port=80 --target-port=8000

f None

Q3: When started for the first time, minikube requires Internet access. True or False??

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

e True

f False
Q4: Which the the currently accepted best practice method for hashing passwords to hash
passwords??

a bcrypt()

b md5()

c encode()

d None

e hash()

f None

Q5: Is it a good practice to run Docker compose in production??

a True

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

f False

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

The correct Answer is: None

b kubectl get deploy

The correct Answer is: None

The correct Answer is: None

e kubectl get deployments

f kubectl require deployments

Q7: Which of the following is correct about constants vs variables in PHP??


The correct Answer is: None

b Both of the mentioned

The correct Answer is: None

d None of the mentioned

e Constants cannot be defined by simple assignment, they may only be defined using
the define() function.

f There is no need to write a dollar sign ($) before a constant, where as in Variable
one has to write a dollar sign.

Q8: In which programming language WordPress is written??

a Java

b VueJS

c PHP

d Node

e Javascript

f Python

Q9: Which functions can be used to get the image's properties (size, width, and height)??

a None

b None

c The functions are getimagesize() for size, imagesx() for width and imagesy() for
height.

d The functions are getsizeimage() for size, imagesx() for width and imagesy() for
height.

e The functions are getimagesizeof() for size, imagesxn() for width and imagesyn()
for height.

f None

Q10: How to insert a comment that has more than one line??
a None

b //This comment has more than one line//

c /*This comment has more than one line*/

d None

e <!--This comment has more than one line-->

f None

Q11: What is the function file_get_contents() used for??

a None

b None

c file_get_contents() is used for reading a file and storing it in a string variable.

d file_get_contents() is used for processing a file and storing it in a string variable.

e file_get_contents() is used for parsing a file and storing it in a string variable.

f None

Q12: How can you change table sctructure after it was created??

a None

b UPDATE TABLE

c ALTER TABLE

d CHANGE TABLE

e MODIFY TABLE

f It's not possible to change the structure

Q13: What is the highest privilege user in Wordpress??

a Contributer
b None

c Editor

d Administrator

e Author

f None

Q14: What is the correct HTML for making a text input field??

a <input type="textfield">

b <textinput type="text">

c None

d <input type="text">

e <textfield>

f None

You might also like