Amazon S3 Introduction (associate) Flashcards

1
Q

What are the Use cases for Amazon S3?

A
  1. Backup and storage
  2. Disaster recovery
  3. Archive
  4. Hybrid cloud storage
  5. Application hosting
  6. Media buying
  7. Data lakes & big data analytics
    Etc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the different security for Amazon S3?

A
  1. User based
    - IAM Policies: which API calls should be allowed for a specific user from IAM
  2. Resource -Based
    - Bucket policies : bucket wide rules from the the S3 console - allows Cross Account
  • Object Access Control List (ACL): finer grain (can be disabled)
  • Bucket access control list (ACL): less common (can be disabled)
  1. Encryption: encrypt object in Amazon S3 using encryption keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An IAM principal can access an S3 object if what?

A
  • The user IAM permissions allow it or the resource policy allows
  • And there’s no explicit deny
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The S3 bucket policies are _________ based policies

A

JSON
- Resource buckets and objects
- Effect allow/ deny
- Actions: set of API to allow or deny
- Principal: the account or user to apply the policy to

-Use S3 bucket for policy to grant public access to the bucket

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

__________ are setting that were created to prevent company data leaks

A

Block Public Access

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

S3 can host ____________ and have them accessible on the internet

A

Static websites

  • If you get a 403 forbidden error, make sure the bucket policy allows public reads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some features of Amazon S3 versioning?

A
  • You can version your files in Amazon S3
  • It’s enabled at the bucket level
  • Same key overwrite will change the “version”: 1,2,3
  • It’s best practice to verison your buckets
  • Protext against unintended deletes (ability to restore a version)
  • Easy roll back to previous verison
  • Any files that is not versioned prior to enabling versioning will have version “null”
  • Suspending version g does not delete the previous versions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the different types of Amazon S3 replication & its use case?

A
  1. Must enable versions in source and destination buckets
  2. Cross - Region replication (CRR)
  3. Same region replication (SRR)
  4. Buckets can be in different AWS accounts
  5. Copying is asynchronous
  6. Must give proper IAM permission to S3

Use cases:
1. CRR- compliance, lower latency access, replication across accounts

  1. SRR- log aggregation, live replication between production & test accounts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly