Storage Flashcards

1
Q

You are developing an application that will run across dozens of instances. It uses some components from a legacy application that requires some configuration files to be copied from a central location and be held on a volume local to each of the instances. You
plan to modify your application with a new component in the future that will hold this configuration in Amazon DynamoDB. However, in the interim, which storage option should you use that will provide the lowest cost and the lowest latency for your application to access the configuration files?
A. Amazon S3
B. Amazon EBS
C. Amazon EFS
D. Amazon EC2 instance store

A

instance store

it’s free for EC2 instances and has the lowest latency

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

In what ways does Amazon Simple Storage Service (Amazon S3) object storage differ from block and file storage? (Select TWO.)
A. Amazon S3 stores data in fixed size blocks.
B. Objects are identified by a numbered address.
C. Object can be any size.
D. Objects contain both data and metadata.
E. Objects are stored in buckets.

A

Objects contain both data and metadata

Objects are stored in buckets

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

You are restoring an Amazon Elastic Block Store (Amazon EBS) volume from a snapshot. How long will it take before the data is available?
A. It depends on the provisioned size of the volume.
B. The data will be available immediately.
C. It depends on the amount of data stored on the volume.
D. It depends on whether the attached instance is an Amazon EBS–optimized instance.

A

Data will be available immediately

Notes: data is lazily loaded from snapshot so it will take some time to restore fully but data is available as soon as the volume is restored

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

What are some of the key characteristics of Amazon Simple Storage Service (Amazon S3)? (Select THREE.)
A. All objects have a URL.
B. Amazon S3 can store unlimited amounts of data.
C. Buckets can be mounted to the file system of multiple Amazon EC2 instances.
D. Amazon S3 uses a Representational State Transfer (REST) application program interface (API).
E. You must pre-allocate the storage in a bucket.

A

All objects have a URL
S3 can store unlimited amounts of data
S3 uses REST API

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

Amazon S3 Glacier is well-suited to data that is which of the following? (Select TWO.)
A. Infrequently or rarely accessed
B. Must be immediately available when needed
C. Is available after a three- to five-hour restore period
D. Is frequently erased within 30 days

A

Infrequently or rarely accessed

Is available after a 3-5 hour restore period

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

You have valuable media files hosted on AWS and want them to be served only to authenticated users of your web application. You are concerned that your content could be stolen and distributed for free. How can you protect your content?
A. Use static web hosting.
B. Generate presigned URLs for content in the web application.
C. Use AWS Identity and Access Management (IAM) policies to restrict access.
D. Use logging to track your content.

A

Generate presigned URLs for content in the web application

Notes: it allows you to grant time-limited permissions to download objects from a S3 bucket

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

Which of the following are features of Amazon Elastic Block Store (Amazon EBS)? (Select TWO.)
A. Data stored on Amazon EBS is automatically replicated within an Availability Zone.
B. Amazon EBS data is automatically backed up to tape.
C. Amazon EBS volumes can be encrypted transparently to workloads on the attached instance.
D. Data on an Amazon EBS volume is lost when the attached instance is stopped.

A

Data stored on EBS is automatically replicated within an AZ

EBS volumes can be encrypted transparently to workloads on the attached instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
Which option should you choose for Amazon EFS when tens, hundreds, or thousands of Amazon EC2 instances will be accessing the file system concurrently?
A. General-Purpose performance mode
B. RAID 0
C. Max I/O performance mode
D. Change to a larger instance
A

Max I/O performance mode

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

Which of the following must be performed to host a static website in an Amazon Simple Storage Service (Amazon S3) bucket? (Select THREE.)
A. Configure the bucket for static hosting, and specify an index and error document.
B. Create a bucket with the same name as the website.
C. Enable File Transfer Protocol (FTP) on the bucket.
D. Make the objects in the bucket world-readable.
E. Enable HTTP on the bucket.

A

Configure the bucket for static hosting, and specify index and error document

Create a bucket with the same name as the website

Make the objects in the bucket world-readable (public)

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

You have a workload that requires 1 TB of durable block storage at 1,500 IOPS during normal use. Every night there is an extract, transform, load (ETL) task that requires 3,000 IOPS for 15 minutes. What is the most appropriate volume type for this workload?
A. Use a Provisioned IOPS SSD volume at 3,000 IOPS.
B. Use an instance store.
C. Use a general-purpose SSD volume.
D. Use a magnetic volume.

A

Use a general-purpose SSD volume

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

Which statements about Amazon S3 Glacier are true? (Select THREE.)
A. It stores data in objects that live in buckets.
B. Archives are identified by user-specified key names.
C. Archives take 3–5 hours to restore.
D. Vaults can be locked.
E. It can be used as a standalone service and as an Amazon S3 storage class.

A

Archives take 3-5 hours to restore

Vaults can be locked

It can be used as a standalone service and as an S3 storage class

Notes: Glacier stores archives in vaults (not buckets), names are generated by AWS (not user specified)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
You are developing an application that runs on hundreds of EC2 instances. The application on each instance will be required to reach out through a file system protocol concurrently to a file system holding the files. Which storage option should you choose?
A. Amazon EFS
B. Amazon EBS
C. Amazon EC2 instance store 
D. Amazon S3
A

Amazon EFS

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

You need to take a snapshot of an Amazon Elastic Block Store (Amazon EBS) volume. How long will the volume be unavailable?
A. It depends on the provisioned size of the volume.
B. The volume will be available immediately.
C. It depends on the amount of data stored on the volume.
D. It depends on whether the attached instance is an Amazon EBS–optimized instance.

A

The volume will be available immediately (there is no interruption on the volume while snapshot is being taken)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
Amazon Simple Storage Service (S3) bucket policies can restrict access to an Amazon S3 bucket and objects by which of the following? (Select THREE.)
A. Company name
B. IP address range
C. AWS account
D. Country of origin
E. Objects with a specific prefix
A

IP address range

AWS account

Objects with a specific prefix

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

Which of the following are not appropriate use cases for Amazon Simple Storage Service (Amazon S3)? (Select TWO.)
A. Storing static web content or hosting a static website
B. Storing a file system mounted to an Amazon Elastic Compute Cloud (Amazon EC2) instance
C. Storing backups for a relational database
D. Primary storage for a database
E. Storing logs for analytics

A

Storing a file system mounted to an EC2 instance

Primary storage for a database

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

Which features enable you to manage access to Amazon Simple Storage Service (Amazon S3) buckets or objects? (Select THREE.)
A. Enable static website hosting on the bucket.
B. Create a presigned URL for an object.
C. Use an Amazon S3 Access Control List (ACL) on a bucket or object.
D. Use a lifecycle policy.
E. Use an Amazon S3 bucket policy.

A

Create a presigned URL for an object

Use S3 ACL on a bucket or object

Use S3 bucket policy

17
Q

Your application stores critical data in Amazon Simple Storage Service (Amazon S3), which must be protected against inadvertent or intentional deletion. How can this data be protected? (Select TWO.)
A. Use cross-region replication to copy data to another bucket automatically.
B. Set a vault lock.
C. Enable versioning on the bucket.
D. Use a lifecycle policy to migrate data to Amazon S3 Glacier.
E. Enable MFA Delete on the bucket.

A

Enable versioning

Enable MFA Delete on the bucket

18
Q

You have a set of users granted to access your S3 bucket. For compliance purposes, you need to keep track of all files accessed in that bucket. To have a record of who accessed your Amazon Simple Storage Service (Amazon S3) data and from where, what should you do?
A. Enable versioning on the bucket.
B. Enable website hosting on the bucket.
C. Enable server access logging on the bucket.
D. Create an AWS Identity and Access Management (IAM) bucket policy.
E. Enable Amazon CloudWatch logs.

A

Enable server access logging on the bucket

19
Q

What are some reasons to enable cross-region replication on an Amazon Simple Storage Service (Amazon S3) bucket? (Select THREE.)
A. Your compliance requirements dictate that you store data at an even further distance than Availability Zones, which are tens of miles apart.
B. Minimize latency when your customers are in two geographic regions.
C. You need a backup of your data in case of accidental deletion.
D. You have compute clusters in two different AWS Regions that analyze the same set of objects.
E. Your data requires at least five nines of durability.

A

Your compliance requirements dictate that you store data at an even further distance than AZs, which are 10s of miles apart

Minimize latency when your customers are in two different geographic regions

You have compute clusters in two different AWS Regions that analyze the same set of objects

20
Q

Your company requires that all data sent to external storage be encrypted before being sent. You will be sending company data to Amazon S3. Which Amazon Simple Storage Service (Amazon S3) encryption solution will meet this requirement?
A. Server-Side Encryption with AWS managed keys (SSE-S3)
B. Server-Side Encryption with customer-provided keys (SSE-C)
C. Client-side encryption with customer-managed keys
D. Server-side encryption with AWS Key Management Service (AWS KMS) keys (SSE-KMS)

A

Client-side encryption of customer-managed keys

21
Q

How is data stored in Amazon Simple Storage Service (Amazon S3) for high durability?
A. Data is automatically replicated to other regions.
B. Data is automatically replicated within a region.
C. Data is replicated only if versioning is enabled on the bucket.
D. Data is automatically backed up on tape and restored if needed.

A

Data is automatically replicated to at least 3 AZs within the region

Notes:

  • it’s not automatically replicated to other regions
  • tape is not used in AWS