MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
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 |
| E. | |
| Answer» B. No | |
| 2. |
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 |
| Answer» B. FALSE | |
| 3. |
Which command is used to delete a container? |
| A. | delete |
| B. | remove |
| C. | rm |
| D. | drop |
| Answer» D. drop | |
| 4. |
which command is used to stop a running container? |
| A. | drop |
| B. | remove |
| C. | stop |
| D. | delete |
| Answer» D. delete | |
| 5. |
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 |
| Answer» B. FALSE | |
| 6. |
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 |
| Answer» C. -a | |
| 7. |
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 |
| Answer» D. -z | |
| 8. |
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 |
| Answer» E. | |
| 9. |
Running of containers is managed with the Docker ______ command. |
| A. | CREATE |
| B. | INSERT |
| C. | RUN |
| D. | SUDO |
| Answer» D. SUDO | |
| 10. |
___________ are instances of Docker images that can be run using the Docker run command. |
| A. | Hub |
| B. | Container |
| C. | File |
| D. | Cloud |
| Answer» C. File | |