11. S3 & Athena Flashcards

1
Q

What is S3 Cross Region Replication?

A
  • Must be setup for each region you want replication to happen
  • Read-only files that are updated in near real-time
  • Great for dynamic content that needs to be available at low-latency in few regions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Athena?

A
  • serverless service to perform analytics directly against S3 files
  • uses SQL language to query the files
  • charged per query and amount of data scanned
  • “analyze data directly on S3” = Athena
  • best for business intelligence / analytics / reporting, analyze and query VPC Flow Logs, ELB Logs, CloudTrail trails, etc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Multi-Part upload?

A
  • S3 feature to help parallelize uploads (speed up transfers)
  • mandatory for files > 5GB
  • recommended for files > 100 MB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is S3 Transfer Acceleration?

A
  • uploads only
  • increase transfer speed by transferring file to an AWS edge location which will forward the data to the S3 bucket in the target region
  • compatible with multi-part upload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are S3 Byte-Range fetches?

A
  • parallelize GETs by requesting specific byte ranges
  • better resilience in case of failures
  • can be used to speed up downloads
  • can be used to retrieve only partial data (for example, the head of a file)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is S3 Select?

A
  • retrieve less data using SQL by performing server-side filtering
  • can filter by rows and columns (simple SQL statements)
  • less network transfer, less CPU cost client-side
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you ensure that an event notification is sent for every successful write to your S3 bucket?

A

Enable versioning

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

What file types does Athena support?

A

CSV, JSON, ORC, Avro, and Parquet

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

Is S3 a global or regional service?

A

Regional, but buckets must have a globally unique name across all regions and all accounts

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

If you’re hosting a static website and receive a 403 Forbidden error, what should you do?

A

Make sure the bucket policy allows public reads

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

What cloud storage class automatically moves objects between Access Tiers based on usage for a small monthly monitoring fee?

A

S3 Intelligent-Tiering

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