You are on page 1of 4

Q1: If we want to return a value from a function we called, how can we do that??

a We need to use 'return = $value;'

b None

c None

d None

e We need to use 'return: $value;'

f We need to use 'return $value;'

Q2: In HTML document the tags?

a None

b should be written in lower case

c can be written in both uppercase or lowercase

d should be written in propercase

e Should be written in upper case

f None

Q3: Character data can be stored as?

a Both fixed or variable length strings

b Variable length strings

c Fixed length strings

d None

e None of the mentioned

f None

Q4: How do we change permissions on files?


a chattr

b We Can't change them

c None

d lsattr

e chmod

f chown

Q5: Which of the queries below will return 0 (false)??

a None

b SELECT "EXPERTRATING" LIKE "Exp%"

c All those will return 1 (true)

d SELECT BINARY "EXPERTRATING" LIKE "Exp%"

e SELECT BINARY "EXPERTRATING" LIKE "EXP%"

f SELECT "EXPERTRATING" LIKE "EXP%"

Q6: How to list PersistentVolumes sorted by capacity in Kubernetes??

a kubectl get pv --sort-by=.spec.capacity.memory

b kubectl get pv --sort-by=.spec.capacity.space

c kubectl get pv --sort-by=.spec.capacity.storage

d kubectl get pv --sort-by=.spec.capacity.volume

e None

f None

Q7: Which operator is included in the data manipulation language (DML)??

a CREATE

b DROP
c INSERT

d None

e None

f GRANT

Q8: Which licensing authority is responsible for WordPress??

a GPLv2 (GNU General Public License)

b GPU

c None

d GWPL

e MIT license

f None

Q9: Which of the following is a cloud-hosted service from Docker that provides registry
capabilities for public and private content.?

a Docker Cloud

b None

c Docker Compose

d Docker Hub

e Docker Swarm

f None

Q10: What will the following code return: Boolean(10 > 9)?

a true

b None

c NaN

d false
e None

f None

Q11: What does the /etc/hosts file contains??

a None

b CPU and memory info

c The IP address of the default gateway

d IP addresses to hostnames mappings

e None

f Hostnames of all devices on the network segment

Q12: When using the POST method, variables are displayed in the URL:?

a True

b None

c None

d None

e False

f None

You might also like