Chapter 14: Athena Flashcards

1
Q

How to use MFA-delete?

A

Must enable versioning on s3 bucket beforehand

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

when is MFA delete required?

A
  • permanently delete an obj version

- suspend versioning on the bucket

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

who can enable/disable MFA-delete?

A

bucket owner

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

How to enforce encryption on s3 bucket

A
  • use default encryption option for s3 bucket

- use a bucket policy and refuse any API call to put an s3 object without headers

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

rules for setting logging bucket

A

do not set your logging bucket to be the monitored bucket. it will create a logging loop, and your bucket will grow in size

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

Types of S3 replication

A
  1. cross region replication (CRR)

2. same region replication (SRR)

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

What must be set prior to s3 replication

A
  1. must enable versioning in source and destination

2. must give proper IAM permissions to s3

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

CRR use case

A

compliance, lower latency access, replication across accounts

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

SRR use case

A

logs, aggregation, live replication between production and test accounts

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

Which objects are replicated after s3 replication is enabled

A

only new objects are replicated

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

What happens when a user is given a pre-signed url?

A

user inherits the permissions of the person who generated the url for get/put

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

what are the s3 storage classes

A
  1. standard - general purpose
  2. standard - IA
  3. one zone infrequent access
  4. intelligent tiering
  5. glacier
  6. glacier deep archive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe the standard/general purpose s3 storage class

A
  • high durability of objects across multiple az
  • sustain 2 concurrent facility failures
  • use case: big data analytics, mobile and gaming apps, content distribution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

describe the standard IA s3 storage class

A
  • for when data is less accessed but rapid access is required
  • high durability across multiple az
  • low cost compared to s3 standard
  • sustain 2 concurrent facility failures
  • use cases: as a data store for disaster recovery back-ups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

describe one-zone IA s3 storage class

A
  • same as IA but one zone
  • low latency and high throughput performance
  • support SSL for data at transit + encryption at rest
  • lower cost than IA
  • use case: secondary backup, or data you can recreate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

describe s3 intelligent tiering s3 storage class

A
  • same low latency + high throughput performance of s3 standard
  • small monthly monitoring fee
  • automatically moves obj b/w tiers
  • multiple az
  • resilient against events taht impact an az
17
Q

describe glacier s3 storage class

A
  • low cost obj storage meant for archiving/backup
  • data is retaiend for the longer term
  • alternative to on-premise magnetic tape storage
  • cost per month + retrieval cost
  • each item in glacier is called “archive”
  • archive are stored in vaults
18
Q

What are the retrieval options for Amazon Glacier

A
  1. expediated
  2. standard ( 3 to 5 hours)
  3. bulk (5 to 12 hours)

** min storage of 90 days

19
Q

What are the retrieval options for Amazon Deep Glacier

A
  1. Standard (12 hours)
  2. Bulk (48 hours)

** min storage duration of 180 days

20
Q

How can S3 be moved between storage classes

A
  • moving obj can be automated using a lifecycle config
21
Q

What are the s3 lifecycle rules

A
  • transition action: it defines when objects move to another storage class
  • expiration actions: when objects should de deleted
  • rules can be created for a creation prefix or obj tags
22
Q

s3 select and glacier select

A
  • retrieve less data using sql by performing server side filtering
  • can filter by rows and columns
  • less network transfer, less cpu cost client-side
23
Q

what is s3 requester pay

A

the requester instead of the s3 bucket owner pays the cost of the request and the data download from the bucket

24
Q

what is amazon athena

A

a server less query service to perform analytics against s3 objects

25
Q

s3 object lock

A
  • worm model
  • block obj version deletion for an amt of time
  • obj retention : retention period; legal hold
  • mode: governance and compliance