You are on page 1of 3

Q1: How to restart the docker container with container id mentioned in the command.?

a $ docker rs 109cb6nw

b $ docker restart 109cb6nw

c $ docker res 109cb6nw

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q2: What is the correct HTML for creating a hyperlink??

a <a name="http://www.w3schools.com">W3Schools.com</a>

b None

c <a href="http://www.w3schools.com">W3Schools</a>

d None

e <a>http://www.w3schools.com</a>

f <a url="http://www.w3schools.com">W3Schools.com</a>

Q3: How to push docker image to docker hub??

a By using the docker merge

b By using the docker push

The correct Answer is: None

The correct Answer is: None

e By using the docker-hub command

The correct Answer is: None

Q4: How to initialize a docker swarm??


a None

b docker swarm init --advertise-addr your_server_ip_here

c docker master init --advertise-addr your_server_ip_here

d docker init swarm --advertise-addr your_server_ip_here

e None

f docker init --advertise-addr your_server_ip_here

Q5: Which of the following is used to add multiple line comments in PHP ??

a {/ \}

b None

c /* */

d //

e None

f {{ }}

Q6: Which one of these variables has an illegal name??

a None

b $my-Var

c $myVar

d $MyVar

e $my_Var

f None

Q7: __________ is the XML equivalent to strict HTML 4.01.?

a XHTML 1.0 Frameset

b None
c XHTML 1.0 Transitional

d None

e XHTML 1.0 Strict

f None Of The Mentioned

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

a cat 'd' < filename

b sed 'd' < filename

c sed 'p' < filename

d cat 'p' < filename

e cp 'd' < filename

f cp 'p' < filename

Q9: What happens when you use this 'kill %s' command??

a The first job with 's' will be terminated

b All jobs with command beginning with ‘s’ will be terminated

c None

d The last job with 's' will be terminated

e None

f System processes will be stopped

You might also like