You are on page 1of 4

Q1: What is the purpose of $_SESSION[]??

a Used to register a global variable

b Used to initialize a session.

c None

d Used to store variables of the current session

e none of the above

f None

Q2: How to remove two pods labelled 'production' and 'development'?

a $ kubectl delete pods -l 'env in (production, development)'

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

e $ kubectl trim pods -l 'env in (production, development)'

The correct Answer is: None

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

a docker service scale name_of_your_service_here=7

b None

c docker service update name_of_your_service_here=7

d None

e docker service replica-set name_of_your_service_here=7

f docker service upgrade name_of_your_service_here=7

Q4: What is a Dockerfile??


a None

b Docker cannot be build images automatically by reading the instructions from a


file called Dockerfile.

c None

d None

e Docker can build audio automatically by reading the instructions from a file called
Dockerfile.

f Docker can build images automatically by reading the instructions from a file
called Dockerfile.

Q5: HTML Is a subset of?

a SGML

b None

c SGMD

d SGMT

e None

f None Of These

Q6: What does PHP stand for??

a Private Home Page

b None

c Personal Hypertext Processor

d PHP: Hypertext Preprocessor

e None

f Personal Home Page

Q7: Following Docker command: docker exec -it container_id bash is used to:?
a None

b Commit changes done in a Docker image

c Access a running container

d None

e Build an image

f Activate default VM machine

Q8: What is the difference between Numeric and Associative?

a The Numeric arrays can store numbers, strings and any object but their index will
be represented by numbers while the Associative arrays each element in the main array can
also be an array.

b The Numeric and Associative arrays differ only in the maximum allowed objects in
them.

c There are no Associative arrays

The correct Answer is: None

The correct Answer is: None

f The Numeric arrays can store numbers, strings and any object but their index will
be represented by numbers while the Associative arrays have their index stored as string.

Q9: Docker Toolbox is an installer for quick setup and launch of a Docker environment on
Mac and Windows systems. Select all of the Docker tools that come with the Docket
Toolbox?

a Oracle RealBox Containers

b A shell pre-configured for a Docker command-line environment

c A shell post-configured for a Docker command-line environment

d Docker Machine for running docker-machine commands

e Docker Compose for running the docker-compose commands

f Oracle VirtualBox

Q10: JavaScript is the same as Java.?


a False

b True

c None

d None

e None

f None

Q11: What will happen if two tables have names 'users' and 'USERS'??

a This is possible only on Windows

b None

c This is possible only on UNIX/LINUX

d This is not possible because table names are case insensitive

e This is possible because table names are case sensitive

f This depends on lower_case_table_names system variable

Q12: How to delete a stopped container??

a None

b $ docker rm -n <container id>

c None

d None

e $ docker ---rm <container id>

f $ docker rm <container id>

You might also like