You are on page 1of 4

Q1: What is the correct syntax of the usermeta function in Wordpress??

a None

b None

c get_user_meta( int $user_id, string $key = '', bool $single = false )

d None

e get_user_meta( int $user_id, string $key = '', bool $single = true )

f get_user( int $user_id, string $key = '', bool $single = true )

Q2: How do you write the contents of 3 files into a single file??

a cat file1 > file || cat file2 > file || cat file3 > file

b cat file1 > file && cat file2 >> file && cat file3 >> file

c cat file1 > file && cat file2 > file && cat file3 > file

d cat file1 >> file; cat file2 >> file; cat file3 >> file

e cat file1 > file; cat file2 > file; cat file3 > file

f cat file1 file2 file3 > file

Q3: Which Is not a property of attribute behaviour of <Marquee> Tag??

a None

b Alternate

c Scroll

d Slide

e Blur

f None

Q4: How can we propagate a session id??


a None

b You can propagate a session id via cookies or URL parameters.

c None

d None

e You can propagate a session id via headers and routing.

f None

Q5: How can you call a constructor for a parent class??

a Parents:: call($value)

b Parents:: call_constructor($value)

c None

d None

e None

f Parents:: constructor($value)

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

a UPDATE TABLE

b It's not possible to change the structure

c ALTER TABLE

d CHANGE TABLE

e None

f MODIFY TABLE

Q7: Which of the following are true for etcd??

a To encrypt cluster data and send it to a secrets manager

The correct Answer is: None


c To validate cluster nodes

d etcd is a distributed key-value store

The correct Answer is: None

f etcd is the primary datastore of Kubernetes; storing and replicating all Kubernetes
cluster state

Q8: Which command can be used to execute a command/s repeatedly for the given
schedule??

a for

b while

The correct Answer is: None

The correct Answer is: None

e set

f crontab

Q9: Is JavaScript case-sensitive??

a None

b None

c None

d None

e True

f False

Q10: How to show the metrics for a given node in Kubernetes??

a kubectl top node my-node

b None

c kubectl ps node my-node


d kubectl resources node my-node

e kubectl uptime node my-node

f None

Q11: What is the correct HTML for inserting an image??

a <img src="image.gif" alt="MyImage">

b <img href="image.gif" alt="MyImage">

c <image src="image.gif" alt="MyImage">

d None

e <img alt="MyImage">image.gif</img>

f None

Q12: Which command will duplicate each line in a file??

a sed 'p' < filename

b cp 'd' < filename

c cat 'd' < filename

d cat 'p' < filename

e cp 'p' < filename

f sed 'd' < filename

You might also like