0% found this document useful (0 votes)
10 views4 pages

4 Test Prep For VJHN

The document contains 11 multiple choice questions about various programming and technology topics. The questions cover scaling a Kubernetes replicaset, creating a Kubernetes deployment, checking if a value is alphanumeric, correct HTML for a checkbox, default user home directory location, how objects are passed in PHP, output of a SQL LIMIT query, creating command aliases in shell, deleting a stopped Docker container, attributes of the HTML <table> tag, and character used to indicate an HTML end tag.

Uploaded by

Hisoka Ryugi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

4 Test Prep For VJHN

The document contains 11 multiple choice questions about various programming and technology topics. The questions cover scaling a Kubernetes replicaset, creating a Kubernetes deployment, checking if a value is alphanumeric, correct HTML for a checkbox, default user home directory location, how objects are passed in PHP, output of a SQL LIMIT query, creating command aliases in shell, deleting a stopped Docker container, attributes of the HTML <table> tag, and character used to indicate an HTML end tag.

Uploaded by

Hisoka Ryugi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Q1: How to scale a replicaset named 'foo' to 3??

a kubectl up --replicas=3 rs/foo

b kubectl update --replicas=3 rs/foo

c kubectl deploy --replicas=3 rs/foo

d None

e None

f kubectl scale --replicas=3 rs/foo

Q2: Which command is used to create a deployment in Kubernetes??

a None

b kubectl apply deployment

c None

d kubectl run

e kubectl deploy

f kubernetes set deployment

Q3: How can we check if the value of a given variable is alphanumeric??

a None

b gtype_alnum to check whether it is an alphanumeric value or not.

c None

d ctype_alnum to check whether it is an alphanumeric value or not.

e None

f dtype_alnum to check whether it is an alphanumeric value or not.

Q4: What is the correct HTML for making a checkbox??


a <input type="check">

b None

c None

d <check>

e <input type="checkbox">

f <checkbox>

Q5: In which directory by default user home directories are created??

a /tmp

b /usr

The correct Answer is: None

d /etc

e /home

f /user

Q6: How are objects in PHP passed by??

a Objects are passed by value.

b None

c Objects are passed by reference.

d Neither of the mentioned

e None

f None

Q7: What will be the output of the query SELECT * FROM `members` LIMIT 1, 2;?

a None

b the query will return the first 2 records


c the query will generate an error

d None

e the query will return skip the first record then return the following 2 records only

f the query will return all records from the members table

Q8: How do we create command aliases in a shell??

a None

b set alias Aliasname="Command whose alias is to be created"

c None

d alias Aliasname="Command whose alias is to be created"

e We can't create aliases directly in shell

f configure Aliasname="Command whose alias is to be created"

Q9: How to delete a stopped container??

a None

b None

c $ docker ---rm <container id>

d $ docker rm <container id>

e $ docker rm -n <container id>

f None

Q10: Which of the following is an attribute of the <Table> tag??

a None

b BOLD

c SRC

d CELLPADDING
e None

f LINK

Q11: Which character is used to indicate an end tag??

a^

b None

c<

d*

e None

f/

You might also like