IAM & S3 Flashcards
Are credentials region centric in IAM, when created?
No, it is universal
Are delete markers replicated
yes
Are deletions (delete markers) replicated in Cross Region Replication Replication?
Yes
Are edge location read only?
No, you can write and it will replicate to origin
Are Edge locations writable?
Yes
Are IAM configurations global or regional?
Global
Are lifecycle rules available only for the current version?
No. Lifecycle rules are also available for previous versions.
Are S3 buckets by default public or private?
By default, all newly created buckets are private (and also all objects stored inside them)
Are the Access Key ID/Secret Access Key like a password?
No, you cannot use the Access Key ID/Secret Access Key to login to the AWS Console. You can use this to access AWS via the APIs and Command Line however.
Are the deletions of delete markers replicated in Region Replication Replication?
No
Are the deletions of individual versions replicated in Region Replication Replication?
No
By default all buckets are public?
No
By default, when you create a new user in the IAM console, what level of access do they have?
No access to any AWS service
Can be versioning on S3 disabled?
No. It can only be suspended
Can Cross Region Replication be used between buckets of the same region?
No
Can Cross Region Replication be used to replicate to multiple buckets or use daisy chaining?
No
Can folders in S3 be tagged?
No. Folders don’t really exist on S3. In Amazon S3, buckets and objects are the primary resources, where objects are stored in buckets. Amazon S3 has a flat structure with no hierarchy like you would see in a file system. However, for the sake of organizational simplicity, the Amazon S3 console supports the folder concept as a means of grouping objects. Amazon S3 does this by using a shared name prefix for objects (that is, objects that have names that begin with a common string). Object names are also referred to as key names. For example, you can create a folder in the console called photos, and store an object named myphoto.jpg in it. The object is then stored with the key name photos/myphoto.jpg, where photos/ is the prefix.
Can lifecycle policies capture versions also?
Yes
Can S3 be used to host static websites?
Yes (serverless, very cheap, scales automatically, no dynamic site hosting)
Can you clear data from edge cache?
Yes, but at a cost
Can you configure multiple bucket replication?
no
Can you create and customize your own password rotation policies?
Yes
Can you have two buckets with the same name?
No. S3 is a universal namespace and names must be globally unique
Can you install a DB in S3?
No. Its object based not block based
Can you log in to the AWS web console using the Access Key Id and Secret Access Key?
No. You must generate a password for the user and supply the user with this password, as well as the unique link to sign in to the AWS console.
Data consistency model of Amazon S3
Amazon S3 buckets in all Regions provide read-after-write consistency for PUTS of new objects and eventual consistency for overwrite PUTS and DELETES.
Describe the S3 consistency model
Read after write consistency for PUTS of new objectsEventual consistency for overwrite PUTS and DELETES
Do I need to know the final object size in advance to use Multipart Upload?
No. With Multipart Upload you can begin an upload before you know the final object size - You can upload an object as you are creating it.
Do objects within the bucket inherit the bucket tags?
No
Do you need versioning enabled to use a lifecycle policy?
No
Does an edge location have to be in a defined region?
No
Does Multipart Upload deliver improved throughput?
Yes. You can upload parts in parallel to improve throughput.
Does Multipart Upload deliver quick recovery from network issues?
Yes. Smaller part size minimizes the impact of restarting a failed upload due to a network error.
Does Multipart Upload deliver the ability to append data into an open data file?
No
Does Multipart Upload deliver the ability to pause and resume object uploads?
“Yes”. You can upload object parts over time. Once you initiate a multipart upload there is no expiry; you must explicitly complete or abort the multipart upload. Then, “pause and resume object uploads” means “pausing in between parts” (but you would need to implement this manually).
Does versioning is required for Lifecycle rules?
No. Lifecycle rules can be used in conjunction with versioning but is not required
Glacier Expedited Retrievals retrieval time
1-5 minutes (for a flat rate of $0.03 per GB retrieved)
Groups
A way to group our users and apply policies to them collectively
How am I charged for accessing Amazon S3 through the AWS Management Console?
Normal Amazon S3 pricing applies when accessing the service through the AWS Management Console.
How am I charged for using Versioning?
Normal Amazon S3 rates apply for every version of an object stored or requested.
How can I delete large numbers of objects?
You can use Multi-Object Delete to delete large numbers of objects from Amazon S3. This feature allows you to send multiple object keys in a single request to speed up your deletes. Amazon does not charge you for using Multi-Object Delete.
How can you audit the access to S3 resources?
S3 buckets can be configured to create access logs which log all requests made to the S3 bucket. This can be done to another bucket (even in another AWS account)
How can you setup access control to a bucket?
Using: - Bucket policies - Access control lists
How do you secure S3 buckets?
Bucket policies and S3
How does Gateway Virtual Tape Library work?
Virtual tape infrastructure to replace physical tapes
How does Volume Gateway/Cached Volumes work?
Entire dataset is stored on S3 and the most frequently accessed data is cached on site
How does Volume Gateway/Stored Volumes work?
Entire dataset is stored on site and is asynchronously backed up to S3
How is distributed the AWS Storage Gateway software?
Is available for download as a VM image that you instal on a host on your datacenter (VMWare ESXi or Microsoft Hyper-V).
How is S3 date encrypted in transit?
SSL/TLS
How many S3 buckets can be created in an account by default?
100
How many times can you view the Access Key ID/Secret Access Key when created?
Once. If you lose them, you have to regenerate them, so save them in a secure location.
How much time is needed to restore from Glacier?
Between 3 and 5 hours
How to control access to buckets?
ACLbucket policy
IAM consists of:
Users, Groups, Roles, Policy Documents
In what language are policy documents written in?
JSON
Is S3 object or block based storage?
Object
Is S3 object or block based?
S3 is object based
Is S3 versioning incremental?
No. Stores all versions of an object.
Is there a hard limit of PUT/POST/DELETE per second in S3? What’s an expected “limit” for PUT/POST/DELETEs and GETs per second in S3?
There’s no hard limit (there was a hard limit of 100 PUTs per second until 2018). Your application can achieve at least 3,500 PUT/POST/DELETE and 5,500 GET requests per second per prefix in a bucket. There are no limits to the number of prefixes in a bucket. It is simple to increase your read or write performance exponentially. For example, if you create 10 prefixes in an Amazon S3 bucket to parallelize reads, you could scale your read performance to 55,000 read requests per second.
Objects in the distribution are cahce for the life of what?
TTL
One way to copy the contents of a bucket to another?
Using the CLI: aws s3 –recursive s3://src s3://dst
Policy documents are written in
JSON, represented by a key-value pair
Power User access allows….
Access to all AWS services except for management of groups and users within IAM.
S3 durability
99.999999999% (11 x 9s) (Legacy S3-RRS was 99.99%)
S3 EC2 instances, ELB or R53 can all be what in relation to Cloudfront?
Origins
S3 min and max files size?
0-5TB
S3 storage class for scenario requiring maximum durability and minimum cost? S3 standard, S3 One Zona-IA or S3 RRS?
S3 One Zona-IA. It has the same durability as S3 standard (but reduced availability) and RRS is deprecated (and more expensive).
S3 storage class for scenario requiring minimum cost and immediate access without mattering if some objects are lost. S3 RRS, S3 IA or Glacier?
S3 IA. Legacy S3-RRS is the most expensive one now and is deprecated. Glacier is not intended for direct access.
Scope of the S3 buckets names
Bucket names must be unique globally.
Should you set up MFA on your root account?
ALWAYS!
Storage limit in S3
There is unlimited storage in S3
True or false. A new bucket is publically available and permissions are wide open.
false
True or False.Newly created buckets are private
True
True or false: You can replicate buckets in the same region
false
Using SAML you can give your federated users SSO access to the AWS Management Console (true or false)
True
What actions can be done with Lifecycle Rules?
Transition to Standard-IA Transition to One Zone-IA Archive to Glacier Permanently delete
What are Amazon S3 event notifications?
Amazon S3 event notifications can be sent in response to actions in Amazon S3 like PUTs, POSTs, COPYs, or DELETEs. Notification messages can be sent through either Amazon SNS, Amazon SQS, or directly to AWS Lambda.
What are IAM groups?
A collection of users under a set of permissions