Working with Docker Registries, Images and Containers

Working with Docker Registries, Images and Containers

Professional Development

44 Qs

quiz-placeholder

Similar activities

Lesson 8.1 Incident Management

Lesson 8.1 Incident Management

Professional Development

40 Qs

Teachers Evaluation 2 -Thunkable

Teachers Evaluation 2 -Thunkable

Professional Development

40 Qs

Davinci Resolve 17 Fusion 101

Davinci Resolve 17 Fusion 101

11th Grade - Professional Development

45 Qs

Android ATC_Practice 2

Android ATC_Practice 2

Professional Development

45 Qs

ALC INT1 Unit 2.1

ALC INT1 Unit 2.1

3rd Grade - Professional Development

46 Qs

Baroda Academy, Rajkot _2022-23_PPT QUIZ for CL to Officer Day-1

Baroda Academy, Rajkot _2022-23_PPT QUIZ for CL to Officer Day-1

Professional Development

40 Qs

S3, IAM, VPC, Docker

S3, IAM, VPC, Docker

Professional Development

40 Qs

DevoPS Tools

DevoPS Tools

Professional Development

44 Qs

Working with Docker Registries, Images and Containers

Working with Docker Registries, Images and Containers

Assessment

Quiz

English, Computers, Professional Development

Professional Development

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?