Study Guide - Chapter 1-2 - S3 Flashcards
Notes from Sybex Study guide
Types of compliance in AWS
- Service Organization Controls (SOC) 1/International Standard on Assurance Engagements (ISAE) 3402, SOC 2, and SOC 3
- Federal Information Security Management Act (FISMA), Department of Defense Information Assurance Certification and Accreditation Process (DIACAP), and Federal Risk and Authorization Management Program (FedRAMP)
- Payment Card Industry Data Security Standard (PCI DSS) Level 1
- International Organization for Standardization (ISO) 9001, ISO 27001, and ISO 27018
What languages does Elastic Beanstalk support?
PHP, Java, Python, Ruby, Node.js, .NET, and Go.
Name some EBS facts
- persistent block-level storage volumes
- each volume is automatically replicated within its Availability Zone
- low-latency performance
How does storage gateway work?
It provides low-latency performance by maintaining a cache of frequently accessed data on-premises while securely storing all of your data encrypted in Amazon S3 or Amazon Glacier.
Why use Dynamo DB?
fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. great fit for mobile, web, gaming, ad-tech, Internet of Things, and many other applications.
What is CloudTrail
web service that records AWS API calls for an account and delivers log files for audit and review.
Common use cases for S3
Backup and archive for on-premises or cloud data Content, media, and software storage and distribution Big data analytics Static website hosting Cloud-native mobile and Internet application hosting Disaster recovery
S3 storage classes
general purpose, infrequent access, and archive.
How does block storage operate?
Block storage operates at a lower level—the raw storage device level—and manages data as a set of numbered, fixed-size blocks.
How does file storage operate?
File storage operates at a higher level—the operating system level—and manages data as a named hierarchy of files and folders.
What protocols do block storage use? SAN - Storage Area Network
iSCSI or Fiber Channel
What protocols does file storage use? NAS - Network Attached Storage
Common Internet File System (CIFS) Network File System (NFS)
What protocol does S3 use?
Application Program Interface (API) built on standard HTTP verbs
An S3 ______ contains both data and metadata
object
Objects reside in containers called ______
buckets
How are S3 objects identified?
unique user-specified keys (filename)
Amazon S3 objects are automatically replicated on multiple devices in multiple facilities within a region. T or F?
True
Amazon S3 automatically partitions buckets to support very high request rates and simultaneous access by many clients. T or F?
True
Which storage option provides network-attached shared file storage (NAS storage) using the NFS v4 protocol.
Amazon Elastic File System (AWS EFS)
Which storage option provides block level storage for Amazon Elastic Compute Cloud (Amazon EC2) instances.
EBS
Bucket names can contain:
63 lowercase letters, numbers, hyphens, and periods.
How many buckets can you have per account by default?
100
Best practice
It is a best practice to use bucket names that contain your domain name and conform to the rules for DNS names. This ensures that your bucket names are your own, can be used in all regions, and can host static websites.
What sizes can S3 objects be?
0 bytes to 5TB
How many objects can a single bucket store?
Unlimited
What is included in system metadata?
the date last modified, object size, MD5 digest, and HTTP Content-Type.
When can you create user metadata on an object?
Only at the time the object is created.
A S3 key consists of what?
up to 1024 bytes of Unicode UTF-8 characters, including embedded slashes, backslashes, dots, and dashes.
What is the URL format of S3?
http://mybucket.s3.amazonaws.com/jack.doc http://mybucket.s3.amazonaws.com/fee/fi/fo/fum/jack.doc
Is there a file or folder hierarchy in S3?
There is no actual file and folder hierarchy. A key may contain delimiter characters like slashes or backslashes to help you name and logically organize your Amazon S3 objects, but to Amazon S3 it is simply a long key name in a flat namespace. For convenience, the Amazon S3 console and the Prefix and Delimiter feature allow you to navigate within an Amazon S3 bucket as if there were a folder hierarchy. However, remember that a bucket is a single flat namespace of keys with no structure.
The S3 API includes:
Create/delete a bucket Write an object Read an object Delete an object List keys in a bucket
What type of API does S3 use?
REST (Representational State Transfer) API. uses standard HTTP or HTTPS requests to create and delete buckets, list keys, and read and write objects.
How does REST work in S3?
REST maps standard HTTP “verbs” (HTTP methods) to the familiar CRUD (Create, Read, Update, Delete) operations. Create is HTTP PUT (and sometimes POST); read is HTTP GET; delete is HTTP DELETE; and update is HTTP POST (or sometimes PUT).
Best practice
Always use HTTPS for Amazon S3 API requests to ensure that your requests and data are secure.
What are some of the high level interfaces people use to interact with S3 instead of the REST interface itself?
These include the AWS Software Development Kits (SDKs) (wrapper libraries) for iOS, Android, JavaScript, Java, .NET, Node.js, PHP, Python, Ruby, Go, and C++, the AWS Command Line Interface (CLI), and the AWS Management Console.
What does durability mean according to AWS?
Durability addresses the question, “Will my data still be there in the future?”