Docker DCA - Quiz di Allenamento 1

Modalità demo: le risposte non verranno salvate né certificate.

Tempo limite: 40 minuti Punteggio minimo: 70%

Domanda 1

Domanda ID: 889

What does the `-v` flag do when used with `docker run`?

Domanda 2

Domanda ID: 837

What happens when an image is pulled without specifying a tag?

Domanda 3

Domanda ID: 857

What happens if WORKDIR points to a non-existent path?

Domanda 4

Domanda ID: 822

Can multiple Docker contexts coexist on the same client?

Domanda 5

Domanda ID: 776

What does `docker rm` remove by default?

Domanda 6

Domanda ID: 924

What does `docker inspect` show about mounted volumes?

Domanda 7

Domanda ID: 887

How are anonymous volumes created?

Domanda 8

Domanda ID: 855

What is the main difference between ADD and COPY?

Domanda 9

Domanda ID: 800

What does `docker top` display for a container?

Domanda 10

Domanda ID: 833

What is the effect of using `--format` with `docker ps`?

Domanda 11

Domanda ID: 814

What does the `DOCKER_HOST` environment variable control?

Domanda 12

Domanda ID: 826

How does Docker generate container names when none are provided?

Domanda 13

Domanda ID: 861

Why is chaining commands in a single RUN instruction recommended?

Domanda 14

Domanda ID: 742

What happens if `docker run --name web nginx` is executed when a container named `web` already exists?

Domanda 15

Domanda ID: 862

How does Docker cache layers during image builds?

Domanda 16

Domanda ID: 1002

How are secrets distributed to Swarm services?

Domanda 17

Domanda ID: 767

What does the STATUS column in `docker ps` represent?

Domanda 18

Domanda ID: 974

What is the purpose of a Swarm service?

Domanda 19

Domanda ID: 772

What is the purpose of the `--platform` option in `docker run`?

Domanda 20

Domanda ID: 760

Can `docker rename` be executed on a running container?

Torna alla scheda quiz