You are on page 1of 4

Q1: Which command do we need to execute to check the available repos in yum (CentOS)?

a yum showrepo

b yum repolist

c yum listrepo

d yum searchrepo

e yum reposearch

f yum reposhow

Q2: PHP is a ________________________?

a Tightly typed language

b Server typed language

c None

d None

e Client typed language

f Loosely typed language

Q3: What does the command top show?

a None

b The current processes alongside information about them

c The space usage

d None

e Nothing, it's not a command

f The memory usage

Q4: What is the difference between character 23 and x23??


a None

b None

c None

d None

e 23 specifies the octal 23 and x23 determine the hex 23.

f 23 specifies the hex 23 and x23 determine the octal 23

Q5: Which "text Type" has the maximum number of bytes??

a Long Text

b Tiny Text

c None

d Text

e None

f Medium Text

Q6: Once you’ve worked with an image, how do you push it to docker hub??

a None

b None

c $ docker push <username/image name>

d $ docker --push <username image name>

e $ docker push <username image name>

f None

Q7: 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 Docker Compose for running the docker-compose commands


b Docker Machine for running docker-machine commands

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

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

e Oracle RealBox Containers

f Oracle VirtualBox

Q8: In a LIKE clause, you can ask for any 6 Letter Value by writing:?

a LIKE ^.{6}$

b LIKE ______ (Six Underscore Characters)

c LIKE .{6}

d None

e None

f LIKE ??????

Q9: What is the default session time in PHP??

a The default session time in php is until the closing of the system

b The default session time in php is until the closing of the browser

c None

d The default session time in php is until the closing of the page

e None

f None

Q10: Which of the following method acts as a destructor function in a PHP class??

a __destruct

The correct Answer is: None

c destructor
The correct Answer is: None

e class_name()

f destructor()

Q11: How to list only the running containers??

a docker ps

b docker print

c docker run

d None

e docker list

f None

You might also like