FREE Docker Certified Associate Trivia Questions and Answers

0%

Which of the following parameters would allow you to SSH into an active "nginx" Docker container?

Correct! Wrong!

"docker exec -it nginx /bin/sh" will construct a TTY-equipped interactive session that is tied to the STDIN.

Which of the commands can be used to view an IPv4 network's subnet?

Correct! Wrong!

"docker network inspect" is an authorized command to examine a certain network

If the docker engine does not serve as a manager node for the docker swarm, how may overlay networks be created?

Correct! Wrong!

In the event that the docker engine is a component of a swarm, overlay networks may exist. Therefore, being a manager node in a swarm is a requirement for creating an overlay network.
The following problem occurs when we attempt to create overlay networks from a non-manager node:

ubuntu@ip-10-0-1-11:~$ docker network create -d overlay test-network


Daemon error message: Unable to build a multi-host network from a worker node. Please build the network starting with a manager node.

How can John launch a container that utilizes the json-file log driver when he has configured his Docker daemon to use the syslog log driver by default?

Correct! Wrong!

Which of the subsequent claims is true? Select exactly two statements.

Please select 2 correct answers

Correct! Wrong!

There are immutable layers in an image. A container is a live copy of an image.
When several containers are launched from a single picture, only one copy of the image is stored in memory. In order to handle its local modifications, each container has a separate Read and Write layer.

On AWS, you are creating a brand-new Docker Swarm. You must make sure that neither the Security Group Rules nor the Network Access Control List are blocking traffic between hosts. Which of the following statements accurately describes every port that needs to be open between Docker hosts?

Correct! Wrong!

  • TCP port 2377 for cluster management communications
  • TCP and UDP port 7946 for communication among nodes

  • What commands are valid to run global services in Docker swarm?

    Correct! Wrong!

    Premium Tests $49/mo
    FREE April-2024