QUESTION 2: How can you ensure that some files will be ignored by a build process and won't be copied as part of COPY instruction that is defined in a Dockerfile? Show Answer Docker Senior
QUESTION 3: What Docker instruction will you use to copy files from one layer to another layer when you are creating a Dockerfile? Show Answer Docker Senior
QUESTION 4: What instructions do you use in Dockerfile to a previous stage as a new stage? Show Answer Docker Senior
QUESTION 6: What is a difference between COPY and ADD instructions in Docker? Show Answer Docker Senior
QUESTION 15: Can the WORKDIR instruction resolve environment variables in Docker? Show Answer Docker Senior
QUESTION 18: How do you copy files to your Docker image during built while configuring permissions as well? Show Answer Docker Senior
QUESTION 20: How can you view the values on the environment variables that were set using the ENV instruction in a Dockerfile? Show Answer Docker Senior
QUESTION 21: Will the variables set using the ENV instruction in a Dockerfile be persisted in the built image? Show Answer Docker Senior
QUESTION 24: How can you split a long RUN instruction on multiple lines in Dockerfile? Show Answer Docker Senior
QUESTION 27: You have a variable declared using ARG and the same variable declared using ENV instruction in your Dockerfile. What variable value will be used? Show Answer Docker Senior
QUESTION 28: What is the scope of a variable defined using the ARG instruction within a Dockerfile? Show Answer Docker Senior
QUESTION 29: How do you provide default values for variables defined using ARG instruction in Dockerfile? Show Answer Docker Senior
QUESTION 32: How many times can the FROM instruction appear within a Dockerfile? Show Answer Docker Senior
QUESTION 36: How do you write a list of all running Docker containers to a file file.txt? Show Answer DockerDocker CLI Junior
QUESTION 37: How do you run a docker image app1 in detached mode and name the container mycontainer1? Show Answer DockerDocker CLI Junior
QUESTION 39: How do you send a locally build image img1 to a docker registry reg.local:5000? Show Answer DockerDocker CLIKubernetes Junior
QUESTION 40: How do you tag a docker image img1:latest using a tag v12? Show Answer DockerDocker CLI Junior
QUESTION 43: How do you import a Docker image to a Docker host from a zip file? Show Answer DockerDocker CLI Junior
QUESTION 45: How does load balancing across Docker containers and hosts work? Show Answer Docker Junior
QUESTION 46: What changes do you usually need to do to your Docker compose file when deploying to production? Show Answer Docker Junior
QUESTION 49: You have multiple dependent Docker containers. How can you make them to wait for their dependencies to become ready? Show Answer Docker Junior
QUESTION 56: What is your experience with Docker? How did you use it in your career? Show Answer Docker Junior
QUESTION 58: How can you rollback all changes that you did to a containerized system under test that consists of one Docker container after you finished testing of a specific test case? Show Answer Docker Junior
QUESTION 59: What is going to happen with your data if you stop a Docker container? Will it be lost or not? Show Answer Docker Junior
QUESTION 60: How can you automate Docker container management programatically using .NET Core? Show Answer .NET CoreDocker Junior
QUESTION 63: How do you remove all stopped Docker containers, unused networks, dangling images and build caches? Show Answer DockerDocker CLI Junior
QUESTION 65: How do you delete a Docker image from the local file system? Show Answer DockerDocker CLI Junior
QUESTION 68: How do you create a new Docker image for an existing container including all changes done to the container? Show Answer DockerDocker CLI Junior
QUESTION 74: How do you get an image from Docker Hub in order to modify it or personalize it? Show Answer DockerDocker CLI Junior
QUESTION 76: How do you get more information about a specific docker command using Docker CLI? Show Answer DockerDocker CLI Junior
QUESTION 77: How do you get the number of contaienrs that are running or are paused or stopped on your machine? Show Answer DockerDocker CLI Junior
QUESTION 78: How do you check the Docker client and server version? Show Answer DockerDocker CLI Junior
QUESTION 86: What is a difference between Docker container and Docker image? Show Answer Docker Junior
QUESTION 90: What is a difference between virtualization and containerization? Show Answer Docker Junior