AWS General Knowledge Flashcards

1
Q

What is ARN?

A

Amazon Resource Name.

Uniquely identifies resources within any AWS accounts. You can use wildcards to refer to a group of resources.

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

What are ARN parts explained?

arn:aws:s3:east-us1:jas-gt-1:asd-es-5-pics/es-5-20210598.png

A

arn: partition:service:region:account-id:resource-id
arn: partition:service:region:account-id:resource-type/resource-id
arn: partition:service:region:account-id:resource-type:resource-id

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

Is CloudWatch Logs a Private or Public service?

A

Public

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

What is CloudWatch Logs used for?

A

Store, Monitor and Access logging data

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

How can CloudWatch Logs integrate with other AWS services?

A

AWS Service Integrations or Unified CloudWatch Agent

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

In CloudWatch Logs, What are Log Groups?

A

A group of Log Streams.

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

Where do you apply Retention and Persmissions for CloudWatch logs?

A

At the Log Group level

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

What is CloudTrail used for?

A

CloudTrail logs API actions which affects AWS accounts

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

What are the different types of events in CloudTrail?

A

Management events provide information about management operations that are performed on resources in your AWS account. These are also known as control plane operations.
Data events provide information about the resource operations performed on or in a resource. These are also known as data plane operations. Data events are often high-volume activities.
CloudTrail Insights events capture unusual activity in your AWS account. If you have Insights events enabled, and CloudTrail detects unusual activity, Insights events are logged to a different folder or prefix in the destination S3 bucket for your trail

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

What is a CloudTrail Trail?

A

A trail is a configuration that enables delivery of CloudTrail events to an Amazon S3 bucket, CloudWatch Logs, and CloudWatch Events. You can use a trail to filter the CloudTrail events you want delivered, encrypt your CloudTrail event log files with an AWS KMS key, and set up Amazon SNS notifications for log file delivery.

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

Are CloudTrail Trails regional or global?

A

A trail can be applied to all Regions or a single Region. As a best practice, create a trail that applies to all Regions in the AWS partition in which you are working. This is the default setting when you create a trail in the CloudTrail console.

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

By default, What is the CloudTrail Event History time limit?

A

90 days; if you wish to store beyond that you need to create a Trail to store events in S3.

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

In CloudTrail; What is an Organization Trail?

A

An organization trail is a configuration that enables delivery of CloudTrail events in the management account and all member accounts in an AWS Organizations organization to the same Amazon S3 bucket, CloudWatch Logs, and CloudWatch Events. Creating an organization trail helps you define a uniform event logging strategy for your organization.

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

What types of events are enabled by default in CloudTrail?

A

Management events only.

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

Name some services that log events as Global Services in CloudTrail

A

IAM, STS, CloudFront log events as global events on us-east-1

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

Can you enable CloudTrail for real time logging?

A

No. There is a delay usually +/- 15 min of account activity