S3 Glacier Flashcards

1
Q

S3 Glacier

A

Long-term archival solution optimized for infrequently used data, or “cold data” and Glacier is a REST-based web service.

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

How much can be stored in Glacier?

A

You can store an unlimited number of archives and an unlimited amount of data.

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

True/False. You can specify Glacier as the storage class at the time you create an object.

A

False. You CANNOT specify Glacier as the storage class at the time you create an object.

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

Durability of Glacier.

A

It is designed to provide an average annual durability of 99.999999999% for an archive. Glacier synchronously stores your data across multiple AZs before confirming a successful upload.

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

How does Glacier prevent corruption?

A

To prevent corruption of data packets over the wire, Glacier uploads the checksum of the data during data upload. It compares the received checksum with the checksum of the received data and validates data authenticity with checksums during data retrieval.

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

How do you use Glacier?

A

Glacier works together with Amazon S3 lifecycle rules to help you automate archiving of S3 data and reduce your overall storage costs. Requested archival data is copied to S3 One Zone-IA

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

What is Vault?

A

-A container for storing archives.
-Each vault resource has a unique address with form: https://region-specific endpoint/account-id/vaults/vaultname
-You can store an unlimited number of archives in a vault.
-Vault operations are Region specific.

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

What is Archive?

A

-Can be any data such as a photo, video, or document and is a base unit of storage in Glacier.
-Each archive has a unique address with form: https://region-specific-endpoint/account-id/vaults/vault-name/archives/archive-id

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

What is a Job?

A

-You can perform a select query on an archive, retrieve an archive, or get an inventory of a vault. Glacier Select runs the query in place and writes the output results to Amazon S3.
-Select, archive retrieval, and vault inventory jobs are associated with a vault. A vault can have multiple jobs in progress at any point in time.

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

What is Notification Configuration?

A

Because jobs take time to complete, Glacier supports a notification mechanism to notify you when a job is complete.

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

Glacier Operations.

A

-Retrieving an archive (asynchronous operation)
-Retrieving a vault inventory (list of archives) (asynchronous operation)
-Create and delete vaults
-Get the vault description for a specific vault or for all vaults in a region
-Set, retrieve, and delete a notification configuration on the vault
-Upload and delete archives. You cannot update an existing archive.
-Glacier jobs — select, archive-retrieval, inventory-retrieval

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

True/False. Vault operations are not region specific.

A

False. Vault operations are region specific.

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

True/False. Vault names must be unique within an account and the region in which the vault is being created.

A

True.

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

How can you delete a Vault?

A

You can delete a vault only if there are no archives in the vault as of the last inventory that Glacier computed and there have been no writes to the vault since the last inventory.

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

What vault information can be retrieved from a vault?

A

You can retrieve vault information such as the vault creation date, number of archives in the vault, and the total size of all the archives in the vault.

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

True/False. Glacier maintains an inventory of all archives in each of your vaults for disaster recovery or occasional reconciliation.

A

True.

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

What is a vault inventory?

A

A vault inventory refers to the list of archives in a vault. Glacier updates the vault inventory approximately once a day. Downloading a vault inventory is an asynchronous operation.

18
Q

How can you assign your own metadata to a Glacier Vault?

A

You can assign your own metadata to Glacier vaults in the form of tags. A tag is a key-value pair that you define for a vault.

19
Q

What is Glacier Vault Lock?

A

Glacier Vault Lock allows you to easily deploy and enforce compliance controls for individual Glacier vaults with a vault lock policy.

20
Q

True/False. You can specify controls such as “write once read many” (WORM) in a vault lock policy and lock the policy from future edits.

A

True.

21
Q

True/False. You can change a policy on a locked Vault.

A

False. Once locked, the policy can no longer be changed.

22
Q

What archive operations are supported by Glacier?

A

Glacier supports the following basic archive operations: upload, download, and delete. Downloading an archive is an asynchronous operation.

23
Q

True/False. You cannot upload an archive in a single operation or upload it in parts.

A

False. You can upload an archive in a single operation or upload it in parts.

24
Q

Using multipart upload API, what is the max upload size for large archives?

A

Using the multipart upload API, you can upload large archives, up to about 10,000 x 4 GB.

25
Q

True/False. You can upload archives to Glacier by using the management console.

A

False. You cannot upload archives to Glacier by using the management console. Use the AWS CLI or write code to make requests, by using either the REST API directly or by using the AWS SDKs.

26
Q

True/False. You can delete an archive using S3 Glacier management console.

A

False. You cannot delete an archive using the Amazon S3 Glacier (Glacier) management console. Glacier provides an API call that you can use to delete one archive at a time.

27
Q

True/False. After you upload an archive, you can update its content and its description.

A

False. After you upload an archive, you cannot update its content or its description. The only way you can update the archive content or its description is by deleting the archive and uploading another archive.

28
Q

True/False. Glacier does not support any additional metadata for the archives.

A

True.

29
Q

What is Glacier Select?

A

You can perform filtering operations using simple SQL statements directly on your data in Glacier.
You can run queries and custom analytics on your data that is stored in Glacier, without having to restore your data to a hotter tier like S3.

30
Q

What access tiers are provided by Glacier when you perform select queries?

A

-Expedited – data accessed is typically made available within 1–5 minutes.
-Standard – data accessed is typically made available within 3–5 hours.
-Bulk – data accessed is typically made available within 5–12 hours.

31
Q

Glacier data retrieval policies.

A

Set data retrieval limits and manage the data retrieval activities across your AWS account in each region.

32
Q

What type of data retrieval policies exist in Glacier?

A

Three types of policies:
-Free Tier Only – you can keep your retrievals within your daily free tier allowance and not incur any data retrieval cost.
-Max Retrieval Rate – ensures that the peak retrieval rate from all retrieval jobs across your account in a region does not exceed the bytes-per-hour limit you set.
-No Retrieval Limit

33
Q

Encryption for S3 Glacier?

A

Glacier encrypts your data at rest by default and supports secure data transit with SSL.

34
Q

True/False. Data stored in Amazon Glacier is immutable, meaning that after an archive is created it cannot be updated.

A

True.

35
Q

What permissions are required for Glacier?

A

Access to Glacier requires credentials that AWS can use to authenticate your requests. Those credentials must have permissions to access Glacier vaults or S3 buckets.

36
Q

True/False. Glacier requires all requests to be signed for authentication Protection.

A

True. To sign a request, you calculate a digital signature using a cryptographic hash function that returns a hash value that you include in the request as your signature.

37
Q

True/false. Glacier does not support policies at the vault level.

A

Valse. Glacier supports policies only at the vault level.

38
Q

True/False. You cannot attach identity-based policies to IAM identities.

A

False. You CAN attach identity-based policies to IAM identities.

39
Q

What are vault policies?

A

A Glacier vault is the primary resource and resource-based policies are referred to as vault policies.

40
Q

What is Event History?

A

When activity occurs in Glacier, that activity is recorded in a CloudTrail event along with other AWS service events in Event History.

41
Q

How is S3 Glacier priced?

A

-You are charged per GB per month of storage
-You are charged for retrieval operations such as retrieve requests and amount of data retrieved depending on the data access tier – Expedited, Standard, or Bulk
-Upload requests are charged.
-You are charged for data transferred out of Glacier.
-Pricing for Glacier Select is based upon the total amount of data scanned, the amount of data returned, and the number of requests initiated.
-There is a charge if you delete data within 90 days.

42
Q

Max number of Glacier Vaults.

A

Under a single AWS account, you can have up to 1000 vaults.