wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Pre-Test_TPLUS

Total questions: 10

Worksheet time: 15mins

Name
Class
Date
1.

What is the primary difference between a Docker image and a Docker container?

a)

An image is a running instance of a container, while a container is a lightweight, standalone, executable package.

b)

Images are used only for development, while containers are used only for production.

c)

An image is a blueprint for a container, and a container is a running instance of an image.

d)

Images are a form of virtual machine, while containers are a form of serverless function.

2.

Which command is used to push a local Docker image to a registry like Docker Hub?

a)

A. Docker upload

b)

B. Docker send

c)

C. Docker push

d)

D. Docker save

3.

3. ຈຸດປະສົງຫຼັກຂອງ Private Docker Registry ດັ່ງເຊັ່ນ Harbor ແມ່ນຫຍັງ?

a)

ເພື່ອເກັບຮັກສາ, ຈັດການ, ແລະ ປົກປ້ອງຄວາມປອດໄພຂອງ Docker images ພາຍໃນເຄືອຂ່າຍສ່ວນຕົວ ຫຼື ອົງກອນ.

b)

ເພື່ອສະໜອງ Graphical User Interface (GUI) ສໍາລັບການຈັດການ Docker Containers.

c)

ເພື່ອສ້າງ Docker Images ຈາກ Source Code ໂດຍອັດຕະໂນມັດ.

d)

  ເພື່ອເຮັດໜ້າທີ່ເປັນ Public Repository ສໍາລັບ Docker Images ທັງໝົດ.

4.

4. ຄໍາຕອບຂໍ້ໃດຕໍ່ໄປນີ້ ແມ່ນຂໍ້ໄດ້ປຽບຂອງການໃຊ້ Portainer ເພື່ອຈັດການສະພາບແວດລ້ອມ Docker?

a)

ມັນສາມາດສະໜອງ command-line interface (CLI) ສໍາລັບການຂຽນ script ຂັ້ນສູງ.

b)

   ມັນເຮັດໃຫ້ການຈັດການ Container ແລະ Service ງ່າຍຂຶ້ນຜ່ານ Web Interface ທີ່ເປັນມິດກັບຜູ້ໃຊ້.

c)

ມັນສາມາດໃຊ້ໄດ້ພຽງແຕ່ຈັດການ Docker ທີ່ຕິດຕັ້ງຢູ່ໃນເຄື່ອງດຽວເທົ່ານັ້ນ.

d)

ມັນບໍ່ຈໍາເປັນຕ້ອງມີ Docker ແລະ Docker Compose.

5.

5. When creating a web server with NGINX in Docker, what is the role of the Dockerfile?

a)

The Dockerfile is an external tool used to monitor container performance.

b)

The Dockerfile is the running instance of the NGINX container.

c)

The Dockerfile is a text document that contains all the commands to assemble an image.

d)

The Dockerfile is a file that stores the web server's log data.

6.

ຈຸດປະສົງຫຼັກຂອງການສ້າງ ເຄືອຂ່າຍແຍກຕ່າງຫາກ ສໍາລັບແອັບພລິເຄຊັນທີ່ເປັນ Container ໃນ Docker ແມ່ນຫຍັງ?

a)

ເພື່ອເຮັດໃຫ້ແອັບພລິເຄຊັນບໍ່ສາມາດເຂົ້າເຖິງໄດ້ຈາກພາຍນອກ.

b)

ເພື່ອຫຼຸດຜ່ອນການໃຊ້ CPU ແລະ Memory ຂອງ containers.

c)

ເພື່ອສຳຮອງຂໍ້ມູນຂອງ Container ໂດຍອັດຕະໂນມັດ.

d)

ເພື່ອແຍກ Containers ແລະ ເປີດໃຊ້ການສື່ສານທີ່ປອດໄພລະຫວ່າງພວກມັນ.

7.

ໜ້າທີ່ຫຼັກຂອງ Docker Registry ແມ່ນຫຍັງ?

a)

ເພື່ອ Run ແລະ ປະຕິບັດການ Docker Containers.

b)

ເພື່ອສ້າງ ແລະ ລວບລວມ Docker Images.

c)

ເພື່ອເກັບຮັກສາ ແລະ ແຈກຢາຍ Docker Images.

d)

ເພື່ອຕິດຕາມສຸຂະພາບ ແລະປະສິດທິພາບຂອງ Containers.

8.

Kubernetes ມີໜ້າທີ່ຫຼັກໃນການເຮັດວຽກແນວໃດ?

a)

ໃຊ້ສ້າງເວັບໄຊໂດຍສະເພາະ (To Directly Create Websites)

b)

ໃຊ້ຈັດການຄອນເທນເນີ (To Manage Containers or Container Orchestration)

c)

ໃຊ້ແທນລະບົບຖານຂໍ້ມູນ (To replace a database system)

d)

ໃຊ້ແທນລະບົບປະຕິບັດການຂອງຄອມພິວເຕີ (To Replace a Computer Operating System)

9.

If a system administrator wants to manage Kubernetes through commands in the Terminal, which tool should be used?

a)

GUI Dashboard

b)

CLI (kubectl)

c)

Load Balancer

d)

Database Server

10.

ໃນ Kubernetes, ຖ້າມີການປັບປຸງແອັບພລິເຄຊັນແລ້ວເກີດບັນຫາ ຫາກຕ້ອງການຍ້ອນກັບໄປເວີຊັນເກົ່າ ຄວນຈະໃຊ້ຂະບວນການໃດລຸ່ມນີ້?

a)

Deployment

b)

Rollback

c)

Redo

d)

Load Balancing