You are on page 1of 3

Q1: Suppose you have 3 containers running and out of these, you wish to access one of

them. How do you access a running container??

a $ docker exec it <container id> bash

b $ docker exec -it <container id> bash

c $ docker exec --it <container id>

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q2: What is Gravatar??

a Profile Image

b CMS

c Globally Recognized Image or Photo

d None

e WordPress core functionality

f A Plugin

Q3: Function which causes retrieval of any kind of data from database is considered as?

a None

b Interface or Signature

c Logical signature

d User friendly signature

e Conceptual signature

f None

Q4: What is a cluster??


The correct Answer is: None

b A software package that performs a specific function for an end user

The correct Answer is: None

d A specific set of ordered operations

e A computer program or device that provides services to other computers

f A system made up of multiple servers and other resources

Q5: How do we access the value of 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );?

a $a[4]

b $a[2]

c None

d $a[3]

e $a[1]

f $a[0]

Q6: What is the use of the function 'imagetypes()'??

a None

b imagetypes() is not a real function

c imagetypes() hasn't been used since PHP4 and it's not being supported.

d None

e imagetypes() gives the image size and types supported by the current version of
GH-PHP.

f imagetypes() gives the image format and types supported by the current version of
GD-PHP.

Q7: The command to remove rows from a table "MOVIE" is:?

a UPDATE FROM MOVIE


b None

c None

d DROP FROM MOVIE

e DELETE FROM MOVIE WHERE

f REMOVE FROM MOVIE

Q8: How to scale a service to 7 replicas in Docker Swarm??

a None

b None

c docker service update name_of_your_service_here=7

d docker service replica-set name_of_your_service_here=7

e docker service upgrade name_of_your_service_here=7

f docker service scale name_of_your_service_here=7

You might also like