Secure Service Communication with Consul Service Mesh and Envoy Flashcards

1
Q

In addition to securing your services, Consul service mesh can also intercept_and surface it to _.

A

data about service-to-service communications

monitoring tools

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

What is the sidecar pattern?

A

Is when you build all the peripheral tasks aside your application. So this can be maintained separately and connect to the application.

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

Intentions define _ in the service mesh and are used to _. The default intention behavior is defined by thedefault ACL policy.

A

access control for services

control which services may establish connections

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

Create a intention between dashboard and counting

A

consul intention create dashboard counting

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

Start the built-in sidecar proxy for the counting service.

A

consul connect proxy -sidecar-for counting-1 > counting-proxy.log &

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

Start the built-in sidecar proxy for the dashboard service.

A

consul connect proxy -sidecar-for dashboard > dashboard-proxy.log &

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

First, deny theDashboardservice access to theCountingservice.

A

consul intention create -deny -replace dashboard counting

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

restore communication between the services

A

consul intention create -allow -replace dashboard counting

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

Delete the intention from Consul.

A

consul intention delete dashboard counting

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

Deregister the counting service.

A

consul services deregister counting.hcl

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

Deregister the dashboard service.

A

consul services deregister dashboard.hcl

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