<style>.lazy{display:none}</style>Тест: как много вы знаете о Docker? (en)

Тест: как много вы знаете о Docker? (en)

1 / 18

Docker containers are based on open standard____________.

Не верно!

Docker containers are based on an open standard, which means that they can be run on all major Linux distributions and Microsoft operating systems. This open standard ensures compatibility and flexibility, allowing containers to be easily deployed and run across different platforms without any compatibility issues.


Не верно!

Docker containers are based on an open standard, which means that they can be run on all major Linux distributions and Microsoft operating systems. This open standard ensures compatibility and flexibility, allowing containers to be easily deployed and run across different platforms without any compatibility issues.


Верно!

Containers running on a single machine all share the same operating system kernel, so they start instantly and make more efficient use of RAM.

Верно!

Не верно!

Containers running on a single machine share the same operating system kernel, which allows them to start instantly and use RAM more efficiently. This is because containers do not require a separate operating system instance for each container, unlike virtual machines. Instead, they utilize the host machine’s operating system, resulting in faster startup times and optimized resource utilization. Therefore, the statement is true.


Each virtual machine includes the application, the necessary binaries and libraries, and an entire guest operating system – All of which may be tens of GBs in size.

Верно!

Не верно!

The statement is true because virtual machines are self-contained environments that include all the necessary components to run an application, including the application itself, binaries, libraries, and a guest operating system. These components can take up a significant amount of storage space, often totaling tens of gigabytes in size.


Containers include the application and all of its dependencies, but share the kernel with other containers. They run as an isolated process in userspace on the host operating system. They’re also not tied to any specific infrastructure – Docker containers run on any computer, on any infrastructure, and in any cloud.

Верно!

Не верно!

Containers are a lightweight form of virtualization that include the application and all its dependencies. They operate in isolation from other containers and run as isolated processes in userspace on the host operating system.

Unlike traditional virtual machines, containers share the same kernel with other containers, making them more efficient and lightweight. Additionally, containers are platform-agnostic and can run on any computer, infrastructure, or cloud platform.

Therefore, the statement that containers are not tied to any specific infrastructure and can run on any computer, infrastructure, and in any cloud is true.


________is a cloud-hosted service from Docker that provides registry capabilities for public and private content.

Не верно!

Docker Hub is a cloud-hosted service from Docker that provides registry capabilities for public and private content. It allows users to store and share Docker images, making it easier to distribute and deploy containerized applications. With Docker Hub, developers can access a vast library of pre-built images and collaborate with others in the Docker community.


Верно!

Не верно!

Docker Hub is a cloud-hosted service from Docker that provides registry capabilities for public and private content. It allows users to store and share Docker images, making it easier to distribute and deploy containerized applications. With Docker Hub, developers can access a vast library of pre-built images and collaborate with others in the Docker community.


Не верно!

Docker Hub is a cloud-hosted service from Docker that provides registry capabilities for public and private content. It allows users to store and share Docker images, making it easier to distribute and deploy containerized applications. With Docker Hub, developers can access a vast library of pre-built images and collaborate with others in the Docker community.


________is a tool for defining and running multi-container Docker applications.

Не верно!

Docker Compose is a tool used to define and run multi-container Docker applications. It allows users to define the services, networks, and volumes required for an application in a YAML file, and then use a single command to start and stop all the containers defined in the file.

Docker Compose simplifies the process of managing and coordinating multiple containers, making it easier to deploy and scale complex applications.


Не верно!

Docker Compose is a tool used to define and run multi-container Docker applications. It allows users to define the services, networks, and volumes required for an application in a YAML file, and then use a single command to start and stop all the containers defined in the file.

Docker Compose simplifies the process of managing and coordinating multiple containers, making it easier to deploy and scale complex applications.


Не верно!

Docker Compose is a tool used to define and run multi-container Docker applications. It allows users to define the services, networks, and volumes required for an application in a YAML file, and then use a single command to start and stop all the containers defined in the file.

Docker Compose simplifies the process of managing and coordinating multiple containers, making it easier to deploy and scale complex applications.


Верно!

________is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual Docker host.

Верно!

Не верно!

Docker Swarm is a native clustering solution for Docker that allows users to create and manage a swarm of Docker nodes, turning them into a single, virtual Docker host. This enables users to easily scale their applications across multiple Docker hosts, improving availability and performance.

Docker Swarm provides features such as load balancing, service discovery, and fault tolerance, making it a powerful tool for managing and orchestrating containers in a distributed environment.


Не верно!

Docker Swarm is a native clustering solution for Docker that allows users to create and manage a swarm of Docker nodes, turning them into a single, virtual Docker host. This enables users to easily scale their applications across multiple Docker hosts, improving availability and performance.

Docker Swarm provides features such as load balancing, service discovery, and fault tolerance, making it a powerful tool for managing and orchestrating containers in a distributed environment.


Не верно!

Docker Swarm is a native clustering solution for Docker that allows users to create and manage a swarm of Docker nodes, turning them into a single, virtual Docker host. This enables users to easily scale their applications across multiple Docker hosts, improving availability and performance.

Docker Swarm provides features such as load balancing, service discovery, and fault tolerance, making it a powerful tool for managing and orchestrating containers in a distributed environment.


________is the enterprise-grade cluster management solution from Docker. It manages your whole cluster from a single place.

Не верно!

Docker Universal Control Plane is the correct answer because it is the enterprise-grade cluster management solution provided by Docker. It allows users to manage their entire cluster from a centralized location, providing a comprehensive solution for managing Docker containers and resources.

Docker Swarm is a clustering and orchestration tool, Docker Hub is a cloud-based repository for Docker images, and Docker Compose is a tool for defining and running multi-container Docker applications. However, neither of these options fully matches the description of an enterprise-grade cluster management solution.


Не верно!

Docker Universal Control Plane is the correct answer because it is the enterprise-grade cluster management solution provided by Docker. It allows users to manage their entire cluster from a centralized location, providing a comprehensive solution for managing Docker containers and resources.

Docker Swarm is a clustering and orchestration tool, Docker Hub is a cloud-based repository for Docker images, and Docker Compose is a tool for defining and running multi-container Docker applications. However, neither of these options fully matches the description of an enterprise-grade cluster management solution.


Верно!

Не верно!

Docker Universal Control Plane is the correct answer because it is the enterprise-grade cluster management solution provided by Docker. It allows users to manage their entire cluster from a centralized location, providing a comprehensive solution for managing Docker containers and resources.

Docker Swarm is a clustering and orchestration tool, Docker Hub is a cloud-based repository for Docker images, and Docker Compose is a tool for defining and running multi-container Docker applications. However, neither of these options fully matches the description of an enterprise-grade cluster management solution.


________is a hosted service that provides a Registry with build and testing facilities for Dockerized application images, tools to help you set up and manage your host infrastructure, and deployment features to help you automate deploying your images to your infrastructure.

Верно!

Не верно!

Docker Cloud is a hosted service that offers a range of features to support the development and deployment of Dockerized application images. It provides a Registry where users can store and manage their Docker images, along with build and testing facilities.

Docker Cloud also includes tools to assist with setting up and managing host infrastructure, making it easier to deploy and scale applications.

Additionally, it offers deployment features that automate the process of deploying Docker images to the desired infrastructure.


Не верно!

Docker Cloud is a hosted service that offers a range of features to support the development and deployment of Dockerized application images. It provides a Registry where users can store and manage their Docker images, along with build and testing facilities.

Docker Cloud also includes tools to assist with setting up and managing host infrastructure, making it easier to deploy and scale applications.

Additionally, it offers deployment features that automate the process of deploying Docker images to the desired infrastructure.


Не верно!

Docker Cloud is a hosted service that offers a range of features to support the development and deployment of Dockerized application images. It provides a Registry where users can store and manage their Docker images, along with build and testing facilities.

Docker Cloud also includes tools to assist with setting up and managing host infrastructure, making it easier to deploy and scale applications.

Additionally, it offers deployment features that automate the process of deploying Docker images to the desired infrastructure.


________is an open-source project built to simplify and streamline using Docker on a Mac or Windows. This tool automates the Docker installation and setup process and provides an intuitive graphical user interface (GUI) for running Docker containers.

Не верно!

Docker Kitematic is the correct answer because it is an open-source project designed to simplify and streamline the use of Docker on Mac or Windows. It automates the installation and setup process of Docker and provides a user-friendly graphical interface for managing Docker containers.

Docker Cloud, Docker Universal Control Plane, and Docker Compose are not specifically focused on simplifying and streamlining Docker usage on Mac or Windows.


Верно!

Не верно!

Docker Kitematic is the correct answer because it is an open-source project designed to simplify and streamline the use of Docker on Mac or Windows. It automates the installation and setup process of Docker and provides a user-friendly graphical interface for managing Docker containers.

Docker Cloud, Docker Universal Control Plane, and Docker Compose are not specifically focused on simplifying and streamlining Docker usage on Mac or Windows.


Не верно!

Docker Kitematic is the correct answer because it is an open-source project designed to simplify and streamline the use of Docker on Mac or Windows. It automates the installation and setup process of Docker and provides a user-friendly graphical interface for managing Docker containers.

Docker Cloud, Docker Universal Control Plane, and Docker Compose are not specifically focused on simplifying and streamlining Docker usage on Mac or Windows.


________is a text document that contains all the commands a user could call on the command line to assemble an image.

Не верно!

A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. It is used to automate the creation of Docker images by specifying the base image, adding dependencies, and configuring the environment.

The Dockerfile can be used to build the image using the docker build command, which reads the instructions from the Dockerfile and creates a new image based on those instructions.


Не верно!

A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. It is used to automate the creation of Docker images by specifying the base image, adding dependencies, and configuring the environment.

The Dockerfile can be used to build the image using the docker build command, which reads the instructions from the Dockerfile and creates a new image based on those instructions.


Верно!

Не верно!

A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. It is used to automate the creation of Docker images by specifying the base image, adding dependencies, and configuring the environment.

The Dockerfile can be used to build the image using the docker build command, which reads the instructions from the Dockerfile and creates a new image based on those instructions.


On Docker Hub, you get ten private repositories for free with your Docker Hub user account. If you need more accounts, you can upgrade your Docker Hub plan.

Не верно!

The statement is false. On Docker Hub, you do not get ten private repositories for free with your Docker Hub user account. Instead, you only get one private repository for free. If you need more private repositories, you will have to upgrade your Docker Hub plan.


Верно!

Docker host’s IP address by default is 192.168.99.100

Верно!

Не верно!

Following Docker command: eval $(docker-machine env default) is used to:

Верно!

Не верно!

The given Docker command is used to activate the default VM machine. This command sets the environment variables required to connect the Docker client to the Docker host running inside the default VM machine.


Не верно!

The given Docker command is used to activate the default VM machine. This command sets the environment variables required to connect the Docker client to the Docker host running inside the default VM machine.


Не верно!

The given Docker command is used to activate the default VM machine. This command sets the environment variables required to connect the Docker client to the Docker host running inside the default VM machine.


Following Docker command: docker exec -it container_id bash is used to:

Не верно!

The docker exec -it container_id bash command is used to access a running container. By executing this command, we can enter into the shell of the specified container and interact with it. This allows us to run commands and perform various operations within the container’s environment.


Верно!

Не верно!

The docker exec -it container_id bash command is used to access a running container. By executing this command, we can enter into the shell of the specified container and interact with it. This allows us to run commands and perform various operations within the container’s environment.


Не верно!

The docker exec -it container_id bash command is used to access a running container. By executing this command, we can enter into the shell of the specified container and interact with it. This allows us to run commands and perform various operations within the container’s environment.


Following Docker command: docker build -t my_user/repo_name:1.0 is used to:

Не верно!

The given Docker command is used to build an image.

The -t flag is used to tag the image with a name and version number.

The my_user/repo_name:1.0 represents the name and version of the image being built.


Не верно!

The given Docker command is used to build an image.

The -t flag is used to tag the image with a name and version number.

The my_user/repo_name:1.0 represents the name and version of the image being built.


Верно!

Не верно!

The given Docker command is used to build an image.

The -t flag is used to tag the image with a name and version number.

The my_user/repo_name:1.0 represents the name and version of the image being built.


Following Docker command:

docker commit -m “My first update” container_ID user_name/repository_name

is used to:

Не верно!

The given Docker command is used to commit changes done in a Docker image.

This command creates a new image from the changes made in a container. The -m flag is used to add a commit message to describe the changes made. The container_ID specifies the ID of the container from which the changes are being committed. The user_name/repository_name specifies the name and repository where the new image will be saved.


Не верно!

The given Docker command is used to commit changes done in a Docker image.

This command creates a new image from the changes made in a container. The -m flag is used to add a commit message to describe the changes made. The container_ID specifies the ID of the container from which the changes are being committed. The user_name/repository_name specifies the name and repository where the new image will be saved.


Не верно!

The given Docker command is used to commit changes done in a Docker image.

This command creates a new image from the changes made in a container. The -m flag is used to add a commit message to describe the changes made. The container_ID specifies the ID of the container from which the changes are being committed. The user_name/repository_name specifies the name and repository where the new image will be saved.


Верно!

Following Docker command: docker push user_name/repository_name is used to:

Не верно!

The given Docker command is used to push changes done in a Docker image into Docker Hub.

Docker Hub is a cloud-based registry service that allows users to store and share Docker images. By using this command, the user can upload their Docker image to Docker Hub, making it accessible to others.


Верно!

Не верно!

The given Docker command is used to push changes done in a Docker image into Docker Hub.

Docker Hub is a cloud-based registry service that allows users to store and share Docker images. By using this command, the user can upload their Docker image to Docker Hub, making it accessible to others.


Не верно!

The given Docker command is used to push changes done in a Docker image into Docker Hub.

Docker Hub is a cloud-based registry service that allows users to store and share Docker images. By using this command, the user can upload their Docker image to Docker Hub, making it accessible to others.


Далее
0 из 18

Поздравляем с прохождением теста! А теперь предлагаем почитать статьи по тестированию на нашем сайте!

Интересно, хочу попробовать