S3 Flashcards

1
Q

S3

A

Simple storage service

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

File size range that can be stored in S3

A

0 to 5Tb

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

S3 is a universal namespace

A

s3-region-amazon/buckername

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

What indicate that upload is successful

A

http code 200

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

What does S3 object contain

A

Key, value, versionID, Metadata, Subresources(ACL, Torrent)

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

Data consistency for S3

A

1) Read after write 2) Eventual consistency for overwrite

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

S3 Guarantees from amazon

A

Bulit for 99.99 availability, 99.9 guaranteed availability, 11 9’s durability

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

S3 features

A

Tiered storage, Lifecycle Mgmt, Versioning, Encryption, MFA for delete, Secure using ACL and bucket policies

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

S3 standard

A

99.99 availability, 11 9’s durability. Designed to sustain loss of 2 facilities concurrently

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

S3- IA

A

Infrequently accessed

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

S3 One Zone IA

A

lower cost option

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

S3 Glacier

A

Super cheap. retrieval time can beminutes to hours

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

S3 Glacier deep archive

A

12 Hours retrieval time

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

Charge for S3

A

Storage, Requests, Storage Mgmt Pricing, Data transcfer Pricing, Transfer acceleration, cross regioon replication

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

Transfer acceleration

A

Users upload to nearest edge location instead of S3 bucker.

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

Intelligent tierring

A

Can be turned on at object level or bucket level

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

cloud front is part of

A

networking and content delivery

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

cloud front

A

is a global service not a regiional service

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

edge location

A

where content is cached. It is separate to an AWS region /AZ

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

Origins for cloud front

A

S3 bucket, EC2 instance, load balancer, Route 53

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

Distribution

A

Name for a collection of edge locations

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

web distributions

A

typically used for website

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

RTMP distribution

A

Used for media streaming

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

Edge location are not read only

A

Transfer acceleration

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

You can invalidate cached objects

A

But you will be charged

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

snowball

A

petabyte scale data transport solution

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

snowball features

A

simple, fast secure and as little as 1/5th the cost of high speed internet

28
Q

snowball flavors

A

50TB and 80TB

29
Q

snowball multilayer security

A

tamper resistent enclosures, 256 bit encryption, industry standard Trusted platform module(TPM) designed to ensure security and full chain of custody

30
Q

aws snowball edge

A

100TB, also support compute runs lambda functions. Kind of having a mini aws at remote locations.

31
Q

AWS storage gateway

A

connects on-premise sw appliance with cloud based storage to provide seemless and secure storage for you IT infrastructure.

32
Q

AWS storage gateway

A

connects on-premise sw appliance with cloud based storage to provide seemless and secure storage for you IT infrastructure.
scalable cost effective storage

33
Q

storage gateway device

A

physical or virtual flavors. Can run on Type1 or Type2 hypervisors

34
Q

3 type of storage gateway

A

File gateway(NFS&SMB), Volume Gateway iSCSI(storage volumes, cached volumes), Tape gateway

35
Q

Volume gateways

A

presents app with iSCSI protocol. Captures changed blocks and stored in the cloud ad amazon EBS snapshots.

36
Q

stored volumes

A

Provides application with low latency storage for entire data set.

37
Q

cached volumes

A

Only recently read data and written data. low onprem storage requirements

38
Q

availability of S3-OneZone-IA

A

99.5

39
Q

s3 cost

A

the key driver here is cost, so an awareness of cost is necessary to answer this. Full S3 is quite expensive at around $0.023 per GB for the lowest band. S3 standard IA is $0.0125 per GB, S3 One-Zone-IA is $0.01 per GB, and Legacy S3-RRS is around $0.024 per GB for the lowest band. Of the offered solutions SS3 One-Zone-IA is the cheapest suitable option. Glacier cannot be considered as it is not intended for direct access, however it comes in at around $0.004 per GB.

40
Q

SSO

A

Using SAML (Security Assertion Markup Language 2.0), you can give your federated users single sign-on (SSO) access to the AWS Management Console.

41
Q

origin Access Identity

A

An Origin Access Identity on the other hand, is a virtual user identity that is used to give the CloudFront distribution permission to fetch a private object from an S3 bucket

42
Q

3500 puts per second

A

Until 2018 there was a hard limit on S3 puts of 100 PUTs per second. To achieve this care needed to be taken with the structure of the name Key to ensure parallel processing. As of July 2018 the limit was raised to 3500 and the need for the Key design was basically eliminated.

43
Q

iam policy documents

A

You will need to configure Users and Policy Documents only once, as these are applied globally.

44
Q

How many S3 buckets can I have per account by default

A

100

45
Q

Your proposed upload exceeds the maximum allowed object size

A

Design your application to use the Multipart Upload API for all objects.

46
Q

Power User Access allows

A

Access to all AWS services except the management of groups and users within IAM.

47
Q

Can you specify a regiohn whne you create your Amazon S3 bucket

A

Yes. Within that region your objects are redundantly stored on multiple devices across multiple AZ’s

48
Q

Amazon S3 does not provide object locking

A

if you need this you need to build it into your app or use versioninig

49
Q

success

A
  1. use the Content-MD5 header. When you use this header, Amazon s3 checks the object against hte provided MD5 value and if they do not match returns an error
50
Q

headers

A

starts with x-amz

51
Q

multi-object delete

A

Amazon S3’s new Multi-Object Delete gives you the ability to delete up to 1000 objects from an S3 bucket with a single request.

52
Q

if s3 object file is csv of json you can write sql queries to get elements of the file by using

A

SQL queries

53
Q

with s3 ACL we can setup cross account access

A

useful when orgs has multiple

54
Q

3 types of s3 permissions

A

IAM, ACl, bucket control list

55
Q

difference between a bucket policy and and IAM policy

A

who is the actual resource? IAM the policy applies to user, group, role
with bucket policy the policy applices to a bucket

56
Q

Encryptioni is on by default in Glacier and it cannot be turned off.

A

You don’t need to encrypt the data before sending

57
Q

Any put above 100Mb is good candidates for multipart

A

You can send just the parts that failed.

58
Q

If you have to store anything more than 5Gb you have to to use Multipart upload.

A

WIth multipart upload you can store upto 5TB

59
Q

Transfer acceleration

A

Enable transfer acceleration for your bucket and use
s3-accelerate instead of s3 in

bucket.s3.amazonaws.com

60
Q

storage gateway( 3 types volume[gateway cached and gateway stored], file and tape)

A

You download a VM image and install in your data center

61
Q

volume gateway types

A

gateway cached and gateway stored

62
Q

gateway stored

A

All data is stored locally in storage volumes. Gateway will periodically take snapshots of the data as incremental backups and stores them on Amazon s3
Note individual files can be accessed only after the snapshot is mounted as a EBS volume.

63
Q

File gateways

A

unlike storage gateway files are stored in s3 and individual files can be accessed.

64
Q

Which messaging service uses standard APIs and protocols such as JMS, NMS, AMQP, STOMP, MQTT, and WebSocket

A

Amazon MQ

65
Q

How big can a SQS text message be in size

A

The maximum is 256 KB. (As a side note, the minimum SQS message size is 1 byte).

66
Q

How many subscribers can receive a message from SNS

A

10 million subscribers per topic is a soft limit

67
Q

Besides CloudFront, what are two ways API Gateway can block DDOS attacks from reaching your backend

A

Request Throttling, Caching API Responses