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

Q1: 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 None

b None

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

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

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

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

Q2: Which of the following tags represents a section of the document intended for
navigation in HTML5??

a nav

b footer

c None

d section

e dialog

f None

Q3: How to start a container??

The correct Answer is: None

b $ docker push <container_id>

c $ docker start <container_id>

d $ docker -->start <container_id>

The correct Answer is: None

The correct Answer is: None


Q4: You have lost access to your admin area and can't recover it with email. What do you
do??

a Delete your themes folder.

b Reinstall Wordpress.

c Reset the password of your user through MySQL.

d Register a new user and set it as an administrator via your panel.

e Add a new user with admin privileges in MySQL.

f Install a plugin to recover your password.

Q5: Which of the following statements are true about SQL injection attacks??

a Usage of later versions of MySQL, validation, and explicit setting of the charset of
user input are valid measures to decrease vulnerability to SQL injections.

b Wrapping all variables containing user input by a call to


mysql_real_escape_string() makes the code immune to SQL injections.

c SQL injections are not possible, if only emulated prepared statements are used.

d Parametrized queries do not make code less vulnearable to SQL injections.

e None

f None of the above

Q6: What is the correct syntax for referring to an external script called "xxx.js"??

a <script name="xxx.js">

b None

c None

d <script declare="xxx.js">

e <script href="xxx.js">

f <script src="xxx.js">
Q7: Will a comparison of an integer 12 and a string "13" work in PHP??

a None

b True

c None

d False

e None

f None

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

a Mysql

b None

c None

d Mysqld

e Httpd

f Mysql.exe

Q9: Inline elements are normally displayed without starting a new line?

a None

b True

c None

d None

e False

f None

Q10: The __________ Element represents a span of text that is isolated from it's surroundings
for the purposes of bidirectional text formatting?
a Base

b Bdi

c Bdo

d None

eB

f None

You might also like