Security (15%) Flashcards

Security (15%)

1
Q

What is DCT?

A

Through DCT, image publishers can sign their images and image consumers can ensure that the images they use are signed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is DCT stand for?

A

Docker Content Trust

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the command to generate delegation keys?

A

docker trust generate key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to load if you have any existing keys?

A

docker trust key load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to sign a particular tag and push it up to the registry?

A

docker trust sign dtr.example.com/admin/demo:1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to enable docker content trust so that you can sign images automatically when you use docker push?

A

export DOKCER_CONTENT_TRUST=1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to inspect remote trusted data for a tag?

A

docker trust inspect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to remove remote trusted data for a tag?

A

docker trust revoke

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a grant?

A

A grant defines who has how much access to set of resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the subject?

A

A subject can be user, team, organization and is granted a role for set of resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role?

A

A role is a set of permitted API operations that you can assign to a specific subject and collection by using a grant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Client Bundle?

A

A client bundle is a group of certificates downloadable directly from the Docker Universal Control Plane (UCP) user interface within the admin section for “My Profile”. This allows you to authorize a remote Docker engine to a specific user account managed in Docker EE, absorbing all associated RBAC controls in the process. You can now execute docker swarm commands from your remote machine that take effect on the remote cluster.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the easiest way to access or control the UCP?

A

Client Bundle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the kernel feature that isolates the processes running in different containers?

A

Namespaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which kernel feature limits the resources used by docker containers?

A

Control Groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the kernel feature that needed extra configuration?

A

User