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
44 questions
LV2.2Q imi revision

Quiz
•
Professional Development
40 questions
Chaos Engineering and Kubernetes Quiz

Quiz
•
Professional Development
40 questions
HTML CSS JS Teacher Assessment

Quiz
•
Professional Development
44 questions
Microsoft Server Revision

Quiz
•
Professional Development
46 questions
AZ400 quiz prelim prep 2

Quiz
•
Professional Development
44 questions
DevoPS Tools

Quiz
•
Professional Development
44 questions
Networking, Load Balancing, Storage and Configuration

Quiz
•
Professional Development
39 questions
AWS Practitioner 06

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade