Working with Docker Registries, Images and Containers

Quiz
•
English, Computers, Professional Development
•
Professional Development
•
Medium
Khachatur Ashotyan
Used 2+ times
FREE Resource
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You require access to a self-hosted registry. When must the --insecure-registry config option must be configured on the Docker daemon?
When the registry is being served from the loopback network.
When the registry uses a self-signed certificate for authentication.
When the registry is configured to receive API calls over plain HTTP.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
I have pulled the latest image to my machine and a new image is pushed to the registry, which now has the latest tag, what happens when I build a new container?
Docker will fetch the latest image with the latest tag and you will get an image that is based on the newer version.
Docker will reuse the already fetched image with the latest tag and you will get an image that is based on an old version.
It will not build the image.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If you have a registry that services images over http, what is that called?
Insecure registry
Web registry
http registry
Private registry
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why is the domain name of the registry important?
So users can easily use the registry API.
It's included in the image name
You have to configure the docker engine with it.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of a registry?
To store images.
To store dockerfiles.
To store containers.
To store compose files.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are required to containerize a NodeJS application. Which base image would you choose to use to derive your application image in order to ensure fitness for purpose and to minimize the size of the resultant image?
The official NodeJS image based on Alpine Linux from the Docker HUB registry, because Alpine Linux is highly optimized.
The official Ubuntu image from the Docker HUB registry, because it is the most popular image available.
The official NodeJS image based on Debian Wheezy from Docker HUB registry, because Debian has been around for more than 20 years.
Create your own NodeJS base image, because the content of the images from the Docker HUB registry cannot be trusted.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When authoring a Docker image using a multi-stage build, the final FROM instruction should be FROM scratch, in order to produce the smallest image possible. Is this good advice?
Sometimes - the base image for the final build stage should, ultimately, be an image that serves the purpose of the image being authored.
Never - the artifacts contained within an image will always have a need for the content of a filesystem, that is provided by base image.
Always - it's of the utmost importance to produce as small an image as is possible, whenever you author a Docker image.
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Professional Educ. 1

Quiz
•
Professional Development
44 questions
02 - Principais serviços do Azure

Quiz
•
Professional Development
44 questions
Microsoft Server Revision

Quiz
•
Professional Development
41 questions
Be going to vs Will

Quiz
•
Professional Development
44 questions
Linux essencials

Quiz
•
Professional Development
40 questions
PC Maintenance Chapter 02 Part 01

Quiz
•
Professional Development
40 questions
AZ-900 2 de 3

Quiz
•
Professional Development
40 questions
Excel

Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade