S3-Advanced Flashcards

1
Q

Moving between storage classes

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

Moving S3 objects between storage classes can be automated using ____.

A

lifecycle rules

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

S3 Lifecycle Rules can be made up of ____ actions and ____ actions.

A

Transition
Expiration

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

Using S3 Lifecycle Rules, you can setup ____ actions to configure objects to transition to another storage class.

A

transition
For example:
- move objects to Standard-IA class 60 days after creation
- move to Glacier for archiving after 6 months.

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

Using S3 Lifecycle Rules, you can setup ____ actions to configure objects to expire (delete) after some time.

A

expiration
For example:
- access log files can be set to deleted after 365 days
- can be used to delete old versions of files (if versioning is enabled)
- can be used to delete incomplete Multi-Part uploads

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

Using S3 Lifecycle Rules, rules can be created for a certain ____ or object ____.

A

prefix
tags

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

Lifecycle Rules - Scenario

Your application on EC2 creates images of thumbnails after profile photos are uploaded to S3. These thumbnails can be easily recreated, and only need to be kept for 60 days. The source images should be able to be immediately retrieved for these 60 days, and afterwards, the user can wait up to 6 hours. How would you design this?

A

S3 source images can be on Standard, with lifecycle configuration to transition them to Glacier after 60 days.
S3 thumbnails can be on One Zone-IA, with a lifecycle configuration to expire them (delete) after 60 days

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

Lifecycle Rules - Scenario

A rule in your company state that you should be able to recover your deleted S3 objects immediately for 30 days, although this may happen rarely. After this time, and for up to 365 days, delted objects should be recoverable within 48 hours.

A

Enable S3 Versioning in order to have object versions, so that “deleted objects” are in fact hidden by a “delete marker” and can be recovered.
Transition the “noncurrent version” of the object to Standard-IA
Transition afterwards the “noncurrent versions” to Glacier Deep Archive

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

S3 ____ help you decide when to transition objects to the right storage class.

A

Analytics

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

Amazon S3 Analytics provides recommendations for which two storage classes?
Which storage classes does it not work for?

A

works: Standard / Standard-IA
not work: One Zone-IA / Glacier

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

Amazon S3 Analytics can take __ to __ hours to start seeing data analysis.
The Amazon S3 Analytics report is updated with what frequency?

A

24 to 48 hours
daily

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

In general, ____ pay for all S3 storage and data transfer costs associated with their bucket.

A

bucket owners

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

With ___ buckets, the requestor instead of the bucket owner pays the cost of the request and the data download from the bucket.
The requestor must be authenticated in AWS (cannot be anonymous).

A

Requestor Pays

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

The S3 ____ bucket feature is helpful when you want to share large datasets with other accounts.

A

Requestor Pays

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

S3 event notifications typically get delivered to ther destination in seconds, but can sometimes take a minute or longer.
You can create as many S3 event notifications as you want.

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

S3 event notifications with Amazon EventBridge:

  • advanced filtering options with JSON rules
  • multiple destinations - ex step functions, kinesis streams / firehose …
  • EventBridge Capabilities - archive, replay events, reliable delivery
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

S3 event notifications can be sent to what 3 AWS destinations?

You can also send all events to Amazon ____ for further processing.

A

SNS topic
SQS queue
Lambda function

EventBridge

18
Q

S3 automatically scales to high request rates, latency __-__ ms

19
Q

With S3 your application can achieve at least 3500 put/copy/post/delete or 5500 get/head requests per second per ____ in a bucket.

A

prefix
There are no limits to the number of prefixes in a bucket.

20
Q

Multi-part S3 upload is:
- recommended for files > ____
- required for files > ____

Multi-part uploads help ____ uploads (speed up transfers).

A

100MB
5GB
parallelize

21
Q

S3 ____ increases transfer speed by transferring files to an AWS edge location which will forward the data to the S3 bucket in the target region.
Compatible with multi-part upload.

A

Transfer Acceleration

22
Q

S3 ____ parallelize GETs by requesting specific byte ranges.
This is used to speed up downloads.
Provide better resilience in case of failures.
Can be used to retrieve only partial data, such as the head of a file.

A

Byte-Range Fetches

23
Q

Using S3 ____ you can perform bulk operations on existing S3 objects with a single request:

  • modify object metadata & properties
  • copy objects between buckets
    -** encrypt un-encrypted objects
  • modify ACLs, tags
  • restore objects from S3 Glacier
  • invoke Lambda function to perform custom action on each object
A

Batch Operations

24
Q

An S3 Batch Operations ____ consists of a list of objects, the action to perform, and optional parameters.

25
S3 Batch Operations manages retries, tracks progress, sends completion notifications, generates reports, etc.
26
You can use S3 ____ to get an object list and use Athena to query and filter your objects.
Inventory
27
You can use S3 ____ to understand, analyze and optimize storage across your entire AWS Organization.
Storage Lens
28
S3 Storage Lens can be configured to export ____ daily to an S3 bucket in what two formats?
metrics csv, parquet
29
S3 Storage Lens can discover anomalies, identify cost efficiencies, and apply data protection best practices across entire AWS Organization. (__ days usage & activity metrics)
30
30
Storage Lens - Default Dashboard - visualize summarized insights and trends for both free and advanced metrics - **default dashboard shows Multi-Region and Multi-Account data - preconfigured by Amazon - can't be deleted, but can be disabled
31
Storage Lens - Types of Metrics Summary Metrics - general insights about your S3 storage - Metric: StorageBytes, ObjectCount - Use cases: identify the fastest growing (or not used) buckets and prefixes
32
Storage Lens - Types of Metrics Cost Optimization Metrics - provide insights to manage and optimize your storage costs - Metric: Non-CurrentVersionStorageBytes, IncompleteMultipartUploadStorageBytes - Use cases: identify buckets with incomplete multipart uploaded older than 7 days; identify whihc objects could be transitioned to lower-cost storage class
33
Storage Lens - Types of Metrics Data Protection Metrics - provide insights for data protection features - Metric: VersioningEnabledBucketCount, MFADeleteEnabledBucketCount, SSEKMSEEnabledBucketCount, CrossRegionReplicationRuleCount - Use cases: identify buckets that aren't following data protection best practices
34
Storage Lens - Types of Metrics Access-management Metrics - provide insights for S3 Object Ownership - Metric: ObjectOwnershipBucketOwnerEnforcedBucketCount - Use cases: identify which Object Ownership settings your buckets use
35
Storage Lens - Types of Metrics Event Metrics - provide insights for S3 Event Notifications - Metric: EventNotificationEnabledBucketCount - Use cases: identify which buckets have S3 Event Notifications configured
36
Storage Lens - Types of Metrics Performance Metrics - provide insights for S3 Transfer Acceleration - Metric: TransferAccelerationEnabledBucketCount - Use cases: identify which buckets have S3 Transfer Acceleration enabled
37
Storage Lens - Types of Metrics Activity Metrics - provide insights about how your storage is requested - Metric: AllRequests, GetRequests, PutRequests, ListRequests, BytesDownloaded
38
Storage Lens - Types of Metrics Detailed Status Code Metrics - provide insights for http status codes - Metric: 200OKStatusCount, 403ForbiddenErrorCount, 404NotFoundErrorCount
39
Storage Lens - Free vs Paid Free metrics: - automatically available for ____ - contains around __ usage metrics - data is available for queries for __ days
all customers 28 14
40
Storage Lens - Free vs Paid Paid metrics - Advanced Metrics and Recommendations - additional paid metrics and features - Advanced Metrics: Activity, Advanced Cost Optimization, Advanced Data Protection, Status Code - CloudWatch Publishing: access metrics in CouldWatch without additional charges - Prefix Aggregation: collect metrics at the prefix level - Data is available for queries for 15 months