VPC Flow Logs/AWS Logging Services Flashcards

1
Q

What type of traffic does vpc flow logs capture?

A

Only packet metadata.

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

What is the protocol number for ICMP?

A

1

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

What is the protocol number for TCP?

A

6

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

What is the protocol number for UDP?

A

17

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

Where do flow log data get stored?

A

Either Cloudwatch logs, S3 bucket, or Kinesis Firehose.

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

What are 9 types of traffic that are not logged by flow log?

A

AWS server traffic
AWS windows license activations
Instance metadata to 169.254.169.254
Time sync traffic to 169.254.169.123
DHCP traffic
Traffic from mirrored interfaces
VPC default gateway reserved IP address traffic
Traffic endpoint interfaces
Network load balancer

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

If you delete a flow log, is that data retained?

A

Yes

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

Where can flow logs be created?

A

Elastic load balancer
Amazon relational database (RDS)
Redshift
Workspaces
Nat gateways
Transit gateways

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

What are some use cases for flow logs?

A

Monitoring traffic sent/received from an EC2 instance
Analyzing traffic flows inside your VPC
Troubleshooting security group restrictions
*This list is not exclusive.

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

Is flow logs a real-time service?

A

No

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

When using flow logs, what are the two things AWS will charge you for?

A

1) Ingestion of data
2) Storage of the logs

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

What is Baseline service?

A

Data collected from monitoring metrics and logs are used to understand usage over time and to create a performance baseling.

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

What is Config service?

A

An AWS configuration tracking service. It records and stores a detailed record of how your services are configured. It is also considered a change management tool for tracking changes.

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

What is Application Insights service?

A

AWS managed service that can automatically perform discovery on resources and workloads that it supports. It helps identify issues and resolve problems with applications, databases, and workloads.

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

What is Inspector services?

A

AWS managed service that performs security/vulnerability analysis and assessments for EC2 and ECR container instances, applications, network accessibility, and how security is configured for the application instances.

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

For flow logs, what three levels can a monitor attach to?

A

1) VPC level (all ENIs)
2) Subnet level (all ENIs in that subnet)
3) Individual ENIs

17
Q

Can flow logs be configured to go to different destinations? If so, where?

A

Yes, S3 buckets, cloudwatch, and Kinesis Firehose.

18
Q

What are the advantages to sending flow log data to an S3 bucket?

A
19
Q

What are the advantages to sending flow log data to cloudwatch?

A
20
Q

What is contained within a flow log record?

A

There are many fields, but the most import is source ip, destination ip, source port, destination port, protocol, and action.
Action examples are accept or reject.

21
Q

What are the time intervals that flow log data are aggregated?

A

In 1 min intervals or 10 min intervals

22
Q

What layers of the OSI model do flow logs operate?

A

Layer 3 - ip
Layer 4 - protocol