MCQOPTIONS
Saved Bookmarks
This section includes 9 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. |
Thedatabaseandwebkeyword are used to define two separate services. |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| E. | |
| Answer» B. No | |
| 2. |
Theimagekeyword is used to specify the image fromdockerhubfor ourmysqlandnginxcontainers |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | None of the above |
| Answer» B. FALSE | |
| 3. |
Which of the following is a text document that contains all the commands a user could call on the command line to assemble an image? |
| A. | Docker Cloud |
| B. | Dockerfile |
| C. | Docker Kitematic |
| D. | Docker Compose |
| Answer» C. Docker Kitematic | |
| 4. |
Which of the following is the native clustering for Docker? |
| A. | Docker Hub |
| B. | Docker Swarm |
| C. | Docker Compose |
| D. | Docker Cloud |
| Answer» C. Docker Compose | |
| 5. |
How to use JSON instead of YAML compose file? |
| A. | docker push myorg/img |
| B. | /var/lib/docker/volumes |
| C. | systemctl start/stop docker |
| D. | docker-compose -f docker-compose.json up |
| Answer» E. | |
| 6. |
________is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual Docker host. |
| A. | Docker Hub |
| B. | Docker Swarm |
| C. | Docker Compose |
| D. | None of the above |
| Answer» C. Docker Compose | |
| 7. |
version is used to specify that we want the details of the version of Docker Compose. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| Answer» B. FALSE | |
| 8. |
which of the following is used to check docker-compose version? |
| A. | compose version |
| B. | docker version |
| C. | docker-compose version |
| D. | None of the above |
| Answer» D. None of the above | |
| 9. |
Docker __________ is used to run multiple containers as a single service. |
| A. | Hub |
| B. | Compose |
| C. | Cloud |
| D. | Logging |
| Answer» C. Cloud | |